sleep.engine
Class GeneratedSteps
java.lang.Object
sleep.engine.GeneratedSteps
- Direct Known Subclasses:
- TaintModeGeneratedSteps
public class GeneratedSteps
- extends Object
A class providing methods for constructing an atomic step of a specific type. Feel free to extend this class and specify your own factory to the CodeGenerator class.
Method Summary |
Step |
Assign(Block variable)
|
Step |
AssignAndOperate(Block variable,
String operator)
|
Step |
AssignT()
|
Step |
AssignTupleAndOperate(String operator)
|
Step |
Bind(String functionEnvironment,
Block name,
Block code)
|
Step |
BindFilter(String functionEnvironment,
String name,
Block code,
String filter)
|
Step |
BindPredicate(String functionEnvironment,
Check predicate,
Block code)
|
Step |
Call(String function)
|
Check |
Check(String nameOfOperator,
Block setupOperands)
|
Step |
CreateClosure(Block code)
|
Step |
CreateFrame()
|
Step |
Decide(Check conditionForGoto,
Block ifTrue,
Block ifFalse)
|
Step |
Get(String value)
|
Step |
Goto(Check conditionForGoto,
Block ifTrue,
Block increment)
|
Step |
Index(String value,
Block index)
|
Step |
IteratorCreate(String key,
String value)
|
Step |
IteratorDestroy()
|
Step |
IteratorNext()
|
Step |
ObjectAccess(String name)
|
Step |
ObjectAccessStatic(Class aClass,
String name)
|
Step |
ObjectNew(Class name)
|
Step |
Operate(String oper)
|
Step |
PLiteral(List doit)
|
Step |
PopTry()
|
Step |
Return(int type)
|
Step |
SValue(Scalar value)
|
Step |
Try(Block owner,
Block handler,
String var)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedSteps
public GeneratedSteps()
PopTry
public Step PopTry()
Try
public Step Try(Block owner,
Block handler,
String var)
Operate
public Step Operate(String oper)
Return
public Step Return(int type)
SValue
public Step SValue(Scalar value)
IteratorCreate
public Step IteratorCreate(String key,
String value)
IteratorNext
public Step IteratorNext()
IteratorDestroy
public Step IteratorDestroy()
Check
public Check Check(String nameOfOperator,
Block setupOperands)
Goto
public Step Goto(Check conditionForGoto,
Block ifTrue,
Block increment)
Decide
public Step Decide(Check conditionForGoto,
Block ifTrue,
Block ifFalse)
PLiteral
public Step PLiteral(List doit)
Assign
public Step Assign(Block variable)
AssignAndOperate
public Step AssignAndOperate(Block variable,
String operator)
AssignT
public Step AssignT()
AssignTupleAndOperate
public Step AssignTupleAndOperate(String operator)
CreateFrame
public Step CreateFrame()
Get
public Step Get(String value)
Index
public Step Index(String value,
Block index)
Call
public Step Call(String function)
CreateClosure
public Step CreateClosure(Block code)
Bind
public Step Bind(String functionEnvironment,
Block name,
Block code)
BindPredicate
public Step BindPredicate(String functionEnvironment,
Check predicate,
Block code)
BindFilter
public Step BindFilter(String functionEnvironment,
String name,
Block code,
String filter)
ObjectNew
public Step ObjectNew(Class name)
ObjectAccess
public Step ObjectAccess(String name)
ObjectAccessStatic
public Step ObjectAccessStatic(Class aClass,
String name)