public class Stacklang extends BlockNode
| Modifier and Type | Class and Description |
|---|---|
private static class |
Stacklang.Instruction |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<Stacklang.Instruction> |
instructionList |
(package private) static java.util.Map<java.lang.String,java.lang.Integer> |
opcodes |
(package private) ParserContext |
pCtx |
blockOffset, blockStart, compiledBlockaccessor, ARRAY_TYPE_LITERAL, ASSIGN, BLOCK_DO, BLOCK_DO_UNTIL, BLOCK_FOR, BLOCK_FOREACH, BLOCK_IF, BLOCK_UNTIL, BLOCK_WHILE, BLOCK_WITH, COLLECTION, COMPILE_IMMEDIATE, cursorPosition, DEEP_PROPERTY, DEFERRED_TYPE_RES, DEOP, DISCARD, egressType, endOfName, expr, fields, firstUnion, FQCN, IDENTIFIER, INLINE_COLLECTION, INVERT, literal, LITERAL, nameCache, nextASTNode, NOJIT, NUMERIC, offset, OPERATOR, OPT_SUBTR, PCTX_STORED, safeAccessor, STACKLANG, start, STRONG_TYPING, THISREF| Constructor and Description |
|---|
Stacklang(char[] expr,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getReducedValue(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory) |
java.lang.Object |
getReducedValueAccelerated(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory) |
private static Stacklang.Instruction |
parseInstruction(java.lang.String s) |
getBlockOffset, getBlockStart, getCompiledBlockcanSerializeAccessor, discard, getAbsoluteName, getAbsoluteRootElement, getAccessor, getClassLoader, getCursorPosition, getEgressType, getExpr, getFields, getLiteralValue, getName, getNameAsArray, getOffset, getOperator, getStart, isAssignment, isCollection, isDebuggingSymbol, isDeepProperty, isDiscard, isFQCN, isIdentifier, isLiteral, isOperator, isOperator, isThisVal, setAccessor, setAsFQCNReference, setAsLiteral, setCursorPosition, setEgressType, setLiteralValue, setName, storeInLiteralRegister, storePctx, strongTyping, toStringjava.util.List<Stacklang.Instruction> instructionList
ParserContext pCtx
static final java.util.Map<java.lang.String,java.lang.Integer> opcodes
public Stacklang(char[] expr,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx)
public java.lang.Object getReducedValueAccelerated(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory)
getReducedValueAccelerated in class ASTNodepublic java.lang.Object getReducedValue(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory)
getReducedValue in class ASTNodeprivate static Stacklang.Instruction parseInstruction(java.lang.String s)