rero.client.functions
Class BuiltInOperators

java.lang.Object
  extended byrero.client.Feature
      extended byrero.client.functions.BuiltInOperators
All Implemented Interfaces:
Function, Loadable, Predicate

public class BuiltInOperators
extends Feature
implements Predicate, Function, Loadable


Field Summary
protected  UserHandler commands
           
protected  InternalDataList data
           
 
Fields inherited from class rero.client.Feature
abilities
 
Constructor Summary
BuiltInOperators()
           
 
Method Summary
 boolean decide(String predicate, ScriptInstance script, Stack terms)
           
 Scalar evaluate(String function, ScriptInstance script, Stack locals)
           
 void init()
           
 boolean scriptLoaded(ScriptInstance script)
           
 boolean scriptUnloaded(ScriptInstance script)
           
 
Methods inherited from class rero.client.Feature
cleanup, getCapabilities, installCapabilities, storeDataStructures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected InternalDataList data

commands

protected UserHandler commands
Constructor Detail

BuiltInOperators

public BuiltInOperators()
Method Detail

init

public void init()
Specified by:
init in class Feature

scriptLoaded

public boolean scriptLoaded(ScriptInstance script)
Specified by:
scriptLoaded in interface Loadable

scriptUnloaded

public boolean scriptUnloaded(ScriptInstance script)
Specified by:
scriptUnloaded in interface Loadable

evaluate

public Scalar evaluate(String function,
                       ScriptInstance script,
                       Stack locals)
Specified by:
evaluate in interface Function

decide

public boolean decide(String predicate,
                      ScriptInstance script,
                      Stack terms)
Specified by:
decide in interface Predicate