public class MVELInterpretedRuntime extends AbstractParser
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
holdOverRegister |
CLASS_LITERALS, compileMode, ctx, cursor, debugSymbols, dStack, end, expr, fields, GET, GET_OR_CREATE, greedy, lastLineStart, lastNode, lastWasComment, lastWasIdentifier, lastWasLineLabel, length, LEVEL_0_PROPERTY_ONLY, LEVEL_1_BASIC_LANG, LEVEL_2_MULTI_STATEMENT, LEVEL_3_ITERATION, LEVEL_4_ASSIGNMENT, LEVEL_5_CONTROL_FLOW, line, literalOnly, LITERALS, OP_CONTINUE, OP_OVERFLOW, OP_RESET_FRAME, OP_TERMINATE, OPERATORS, pCtx, REMOVE, SET, splitAccumulator, st, start, stk, variableFactory
Constructor and Description |
---|
MVELInterpretedRuntime(char[] expression) |
MVELInterpretedRuntime(char[] expr,
int start,
int offset,
java.lang.Object ctx,
VariableResolverFactory resolverFactory) |
MVELInterpretedRuntime(char[] expr,
int start,
int offset,
java.lang.Object ctx,
VariableResolverFactory resolverFactory,
ParserContext pCtx) |
MVELInterpretedRuntime(char[] expression,
java.lang.Object ctx) |
MVELInterpretedRuntime(char[] expression,
java.lang.Object ctx,
java.util.Map<java.lang.String,java.lang.Object> variables) |
MVELInterpretedRuntime(char[] expr,
java.lang.Object ctx,
VariableResolverFactory resolverFactory) |
MVELInterpretedRuntime(java.lang.String expression) |
MVELInterpretedRuntime(java.lang.String expression,
java.lang.Object ctx) |
MVELInterpretedRuntime(java.lang.String expression,
java.lang.Object ctx,
VariableResolverFactory resolverFactory) |
MVELInterpretedRuntime(java.lang.String expression,
java.lang.Object ctx,
VariableResolverFactory resolverFactory,
ParserContext pCtx) |
MVELInterpretedRuntime(java.lang.String expression,
VariableResolverFactory resolverFactory) |
Modifier and Type | Method and Description |
---|---|
private boolean |
hasMore() |
java.lang.Object |
parse() |
private java.lang.Object |
parseAndExecuteInterpreted()
Main interpreter loop.
|
private int |
procBooleanOperator(int operator) |
private void |
reduceRight()
This method peforms the equivilent of an XSWAP operation to flip the operator
over to the top of the stack, and loads the stored values on the d-stack onto
the main program stack.
|
private boolean |
unwindStatement(int operator)
This method is called to unwind the current statement without any reduction or further parsing.
|
addFatalError, addFatalError, arithmeticFunctionReduction, captureIdentifier, captureToEOS, captureToEOSorEOL, captureToEOT, captureToNextTokenJunction, expectEOS, expectNextChar_IW, getCursor, getExpression, handleSubstatement, handleUnion, ifThenElseBlockContinues, incNextNonBlank, isArithmeticOperator, isNextIdentifier, isNextIdentifierOrLiteral, isStatementNotManuallyTerminated, lastNonWhite, loadLanguageFeaturesByLevel, lookAhead, lookAhead, lookBehind, lookToLast, nextNonBlank, nextToken, nextTokenSkipSymbols, reduce, setExpression, setExpression, setLanguageLevel, setupParser, skipWhitespace, tokenContinues, trimLeft, trimRight, trimWhitespace
MVELInterpretedRuntime(char[] expression, java.lang.Object ctx, java.util.Map<java.lang.String,java.lang.Object> variables)
MVELInterpretedRuntime(char[] expression, java.lang.Object ctx)
MVELInterpretedRuntime(java.lang.String expression)
MVELInterpretedRuntime(char[] expression)
public MVELInterpretedRuntime(char[] expr, java.lang.Object ctx, VariableResolverFactory resolverFactory)
public MVELInterpretedRuntime(char[] expr, int start, int offset, java.lang.Object ctx, VariableResolverFactory resolverFactory)
public MVELInterpretedRuntime(char[] expr, int start, int offset, java.lang.Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)
public MVELInterpretedRuntime(java.lang.String expression, java.lang.Object ctx, VariableResolverFactory resolverFactory)
public MVELInterpretedRuntime(java.lang.String expression, java.lang.Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)
MVELInterpretedRuntime(java.lang.String expression, VariableResolverFactory resolverFactory)
MVELInterpretedRuntime(java.lang.String expression, java.lang.Object ctx)
public java.lang.Object parse()
private java.lang.Object parseAndExecuteInterpreted()
private int procBooleanOperator(int operator)
private void reduceRight()
private boolean hasMore()
private boolean unwindStatement(int operator)
operator
- -