public class OwExprParser extends Object implements OwExprParserConstants
Expression Language Parser.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc. All Rights Reserved.
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
OwExprParserTokenManager |
token_source
Generated Token Manager.
|
AND, DECIMAL_EXPONENT, DECIMAL_LITERAL, DEFAULT, EOF, EQ, FALSE, FLOATING_POINT_LITERAL, FORMAL_COMMENT, GE, HEX_LITERAL, IDENTIFIER, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INTEGER_LITERAL, LBRACKET, LE, LETTER, LPAREN, LT, MINUS, MULTI_LINE_COMMENT, NE, NOT, NULL, OCTAL_LITERAL, OR, PART_LETTER, PLUS, RBRACKET, REM, RPAREN, SINGLE_LINE_COMMENT, SLASH, STAR, STRING_LITERAL, tokenImage, TRUE, XOR
Constructor and Description |
---|
OwExprParser(InputStream stream)
Constructor with InputStream.
|
OwExprParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
OwExprParser(OwExprParserTokenManager tm)
Constructor with generated Token Manager.
|
OwExprParser(Reader stream)
Constructor.
|
public OwExprParserTokenManager token_source
public Token token
public Token jj_nt
public OwExprParser(InputStream stream)
public OwExprParser(InputStream stream, String encoding)
public OwExprParser(Reader stream)
public OwExprParser(OwExprParserTokenManager tm)
public static OwExprExpression parse(String expressionString_p) throws ParseException
ParseException
public final OwExprExpression ExprExpression() throws ParseException
ParseException
public final OwExprExpression Expression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression ConditionalExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression ConditionalOrExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression ConditionalAndExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression ExclusiveOrExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression EqualityExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression RelationalExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression AdditiveExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression MultiplicativeExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression UnaryExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression UnaryExpressionNotPlusMinus(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprExpression PrimaryExpression(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprScopeSelector ScopeSelector(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p, OwExprPrimaryPrefix prefix_p) throws ParseException
ParseException
public final OwExprPrimaryPrefix PrimaryPrefix(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprPrimaryPrefix PrimarySuffix(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p, OwExprPrimaryPrefix prefix_p) throws ParseException
ParseException
public final OwExprStaticArray StaticArray(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprLiteral Literal(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprBooleanLiteral BooleanLiteral(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprNullLiteral NullLiteral(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public final OwExprArgumentsSuffix Arguments(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p, OwExprPrimaryPrefix prefix_p) throws ParseException
ParseException
public final List ArgumentList(OwExprSymbolTable symTable_p, OwExprErrorTable errorTable_p) throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(OwExprParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.