public class AbstractOptimizer extends AbstractParser
Modifier and Type | Field and Description |
---|---|
protected static int |
BEAN |
protected static int |
COL |
protected boolean |
collection |
protected java.lang.Class |
currType |
protected static int |
METH |
protected boolean |
nullSafe |
protected boolean |
staticAccess |
protected int |
tkStart |
protected static int |
WITH |
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
Modifier | Constructor and Description |
---|---|
protected |
AbstractOptimizer() |
protected |
AbstractOptimizer(ParserContext pCtx) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
capture() |
protected int |
findLastUnion() |
protected int |
nextSubToken() |
protected boolean |
scanTo(char c) |
protected java.lang.Object |
tryStaticAccess()
Try static access of the property, and return an instance of the Field, Method of Class if successful.
|
protected void |
whiteSpaceSkip()
Skip to the next non-whitespace position.
|
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
protected static final int BEAN
protected static final int METH
protected static final int COL
protected static final int WITH
protected boolean collection
protected boolean nullSafe
protected java.lang.Class currType
protected boolean staticAccess
protected int tkStart
protected AbstractOptimizer()
protected AbstractOptimizer(ParserContext pCtx)
protected java.lang.Object tryStaticAccess()
protected int nextSubToken()
protected java.lang.String capture()
protected void whiteSpaceSkip()
protected boolean scanTo(char c)
c
- - character to scan to.protected int findLastUnion()