Package eu.bandm.tools.paisley
Class PatternCompilationContext
java.lang.Object
eu.bandm.tools.lljava.live.BaseCompilationContext<CompilationContext>
eu.bandm.tools.paisley.PatternCompilationContext
- All Implemented Interfaces:
BlockContext<CompilationContext>,CompilationContext<CompilationContext>,EnvironmentContext<CompilationContext>,InstructionsContext<CompilationContext>,InvocationContext<CompilationContext>,LabelContext,StateContext<CompilationContext>,SubMethodsContext<CompilationContext>,TracingContext,VariableContext,CompilationContext
public class PatternCompilationContext
extends BaseCompilationContext<CompilationContext>
implements CompilationContext
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.lljava.live.BaseCompilationContext
BaseCompilationContext.Cache<A,B>, BaseCompilationContext.EnvFieldInfo<T>, BaseCompilationContext.FieldInfo, BaseCompilationContext.LabelInfo, BaseCompilationContext.StateFieldInfo, BaseCompilationContext.SuperEnvInfo, BaseCompilationContext.VariableInfo Nested classes/interfaces inherited from interface eu.bandm.tools.lljava.live.EnvironmentContext
EnvironmentContext.EnvFieldInfo<T>Nested classes/interfaces inherited from interface eu.bandm.tools.lljava.live.LabelContext
LabelContext.LabelNested classes/interfaces inherited from interface eu.bandm.tools.lljava.live.VariableContext
VariableContext.Variable -
Field Summary
Fields inherited from class eu.bandm.tools.lljava.live.BaseCompilationContext
component, componentClassName, constructor, environmentInitializer, interfaces, labels, stateInitializer, superClass, variables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateSubPattern(CompilationContext parent) self()booleansubtypeOracle(String t, String u) Methods inherited from class eu.bandm.tools.lljava.live.BaseCompilationContext
add, addInterface, addStatement, and, box, branch, branchIfEq, branchIfGEq, branchIfGT, branchIfLEq, branchIfLT, branchIfNegative, branchIfNEq, branchIfNonNegative, branchIfNonNull, branchIfNonPositive, branchIfNonZero, branchIfNull, branchIfPositive, branchIfZero, cmp, cmpGT, cmpLT, compile, compileClass, compileClass, convertTo, createFactory, createLabel, createLazyFactory, createLazyFactory, createLocalVariable, createVirtualVariable, createVirtualVariable, div, dup, endBlock, endBlock, endInitializer, endMethod, findEnv, findEnvUnstored, findState, findState, get, getBlock, getComponentClassName, getEnvFields, getEnvValues, getInputs, getOutputs, getParameter, hasInputs, hasOutputs, initially, insert, instanceOf, instantiate, instantiateUpTo, invokeDynamic, invokeInterface, invokeSpecial, invokeStatic, invokeSubMethod, invokeSubMethod, invokeVirtual, invokeVirtualSelf, isTracing, length, load, load, load, load, load, load, load, loadArray, loadEnvVariable, loadNull, loadThis, method, mul, neg, newArray, newInstance, newInstance, newInstance, nop, or, pop, popFrame, postprocess, pushFrame, pushFrame, put, ref, ref, rem, return_, setTracing, shl, shr, startBlock, startBlock, startBlock, startInitializer, startMethod, startMethodInternal, store, store, storeArray, sub, switchUnique, switchUnique, throw_, toString, unbox, ushr, variable, variable, xorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.bandm.tools.lljava.live.BlockContext
block, block, endBlock, expr, expr, exprInputs, exprInputs, getInput, getInputs, getOutput, getOutput, getOutputs, hasInputs, hasOutputs, loadInput, loadOutput, startBlock, storeOutput, storeOutput, storeOutput, storeOutputMethods inherited from interface eu.bandm.tools.lljava.live.CompilationContext
addInterface, compileClass, eval, eval, eval, eval, getComponentClassName, getType, list, list, list, loadVarargs, loadVarargs, switchUnique, whileNonZeroMethods inherited from interface eu.bandm.tools.lljava.live.EnvironmentContext
createFactory, createFactory, findEnv, findEnvField, findEnvUnstored, getEnvFields, instantiate, instantiate, instantiateUpTo, instantiateUpTo, loadEnv, loadEnv, loadEnvField, loadEnvVariableMethods inherited from interface eu.bandm.tools.lljava.live.InstructionsContext
add, add, and, binary, binary, branch, branchIfEq, branchIfGEq, branchIfGT, branchIfLEq, branchIfLT, branchIfNegative, branchIfNEq, branchIfNonNegative, branchIfNonNull, branchIfNonPositive, branchIfNonZero, branchIfNull, branchIfPositive, branchIfZero, cmp, cmpGT, cmpLT, constant, constant, constant, constant, constant, constantNull, convertTo, div, div, dup, get, ifElse, ifElse, ifEq, ifEq, ifEq, ifGEq, ifGEq, ifGEq, ifGT, ifGT, ifGT, ifLEq, ifLEq, ifLEq, ifLT, ifLT, ifLT, ifNegative, ifNegative, ifNEq, ifNEq, ifNEq, ifNonNegative, ifNonNegative, ifNonNull, ifNonNull, ifNonPositive, ifNonPositive, ifNonZero, ifNonZero, ifNonZero, ifNull, ifNull, ifPositive, ifPositive, ifZero, ifZero, ifZero, instanceOf, invoke, isEq, isGEq, isGT, isLEq, isLT, isNegative, isNEq, isNonNegative, isNonNull, isNonPositive, isNonZero, isNull, isPositive, isZero, lazyAnd, lazyOr, length, load, load, load, load, load, load, load, loadArray, loadNull, loadPrimitive, loadThis, move, move, move, move, move, move, move, moveNull, mul, mul, neg, newArray, newInstance, nop, not, or, pop, put, query, rem, rem, return_, serve, serving, shl, shr, store, store, storeArray, sub, sub, switchUnique, throw_, ushr, xorMethods inherited from interface eu.bandm.tools.lljava.live.InvocationContext
invoke, invoke, invokeDynamic, invokeInterface, invokeSpecial, invokeStatic, invokeVirtual, newInstance, newInstanceMethods inherited from interface eu.bandm.tools.lljava.live.LabelContext
createLabel, insertMethods inherited from interface eu.bandm.tools.lljava.live.StateContext
findState, initializeState, initializeState, initializeState, initially, initially, loadState, storeState, storeStateMethods inherited from interface eu.bandm.tools.lljava.live.SubMethodsContext
endMethod, invokeSubMethod, invokeSubMethod, startMethodMethods inherited from interface eu.bandm.tools.lljava.live.TracingContext
isTracing, setTracingMethods inherited from interface eu.bandm.tools.lljava.live.VariableContext
createLocalVariable, createVirtualVariable, getParameter
-
Constructor Details
-
PatternCompilationContext
-
-
Method Details
-
self
- Specified by:
selfin interfaceBlockContext<CompilationContext>- Specified by:
selfin interfaceInstructionsContext<CompilationContext>
-
compile
-
createSubPattern
-
subtypeOracle
- Specified by:
subtypeOraclein interfaceCompilationContext<CompilationContext>- Overrides:
subtypeOraclein classBaseCompilationContext<CompilationContext>
-