public class ExpressionCompiler extends AbstractParser
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 |
|---|
ExpressionCompiler(char[] expression) |
ExpressionCompiler(char[] expression,
int start,
int offset) |
ExpressionCompiler(char[] expression,
int start,
int offset,
ParserContext ctx) |
ExpressionCompiler(char[] expression,
ParserContext ctx) |
ExpressionCompiler(String expression) |
ExpressionCompiler(String expression,
boolean verifying) |
ExpressionCompiler(String expression,
int start,
int offset,
ParserContext ctx) |
ExpressionCompiler(String expression,
ParserContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
CompiledExpression |
_compile()
Initiate an in-context compileShared.
|
CompiledExpression |
compile() |
ParserContext |
getParserContextState() |
Class |
getReturnType() |
boolean |
isLiteralOnly() |
boolean |
isVerifying() |
boolean |
isVerifyOnly() |
void |
setReturnType(Class returnType) |
void |
setVerifying(boolean verifying) |
void |
setVerifyOnly(boolean verifyOnly) |
protected ASTNode |
verify(ParserContext pCtx,
ASTNode tk) |
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, trimWhitespacepublic ExpressionCompiler(String expression)
public ExpressionCompiler(String expression, boolean verifying)
public ExpressionCompiler(char[] expression)
public ExpressionCompiler(String expression, ParserContext ctx)
public ExpressionCompiler(char[] expression,
int start,
int offset)
public ExpressionCompiler(String expression, int start, int offset, ParserContext ctx)
public ExpressionCompiler(char[] expression,
int start,
int offset,
ParserContext ctx)
public ExpressionCompiler(char[] expression,
ParserContext ctx)
public CompiledExpression compile()
public CompiledExpression _compile()
protected ASTNode verify(ParserContext pCtx, ASTNode tk)
public boolean isVerifying()
public void setVerifying(boolean verifying)
public boolean isVerifyOnly()
public void setVerifyOnly(boolean verifyOnly)
public Class getReturnType()
public void setReturnType(Class returnType)
public ParserContext getParserContextState()
public boolean isLiteralOnly()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.