public class BExGrammar extends JavaCC30Grammar implements BExGrammarConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
BExGrammarTokenManager |
token_source
Generated Token Manager.
|
module, syntaxError_DEFAULT, _WHITESPACE, AND_MORE, ASSIGN, BOOL_AND, BOOL_OR, BREAK, BUSINESS_INTEGER_LITERAL, CASE, CATCH, CHARACTER_LITERAL, COLON, COMMA, CONST, CONTINUE, DATE_FORMAT_LITERAL_4_2_2, DDOT, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DO, DOES_NOT_EQUAL_TO, DOT_OPERATOR, ELSE, EOF, EQ, EQUALS_TO, EXP, EXPONENT, FALSE, FINALLY, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, FP_LITERAL1, FP_LITERAL2, GE, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPL, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INTEGER_LITERAL, IS_DIFFERENT_FROM, IS_IN, IS_LESS_OR_EQUAL, IS_LESS_THAN, IS_MORE_OR_EQUAL, IS_MORE_THAN, IS_NO_LESS_THAN, IS_NO_MORE_THAN, IS_SAME_AS, IS_THE_SAME_AS, LBRACE, LBRACKET, LE, LESS_THAN, LETTER, LPAREN, LT, MINUS, MINUSASSIGN, MORE_THAN, MULTI_LINE_COMMENT, NE, NE_ALT, NEW, NOT, NULL, OCTAL_LITERAL, OF_THE, OR_LESS, ORDER_BY, ORDER_DECREASING_BY, ORDER_INCREASING_BY, PERCENT_LITERAL, PLUS, PLUSASSIGN, RANGE_VARIABLE, RBRACE, RBRACKET, REF_IDENTIFIER, REM, RETURN, RPAREN, SELECT_ALL_HAVING, SELECT_ALL_WHERE, SELECT_FIRST_HAVING, SELECT_FIRST_WHERE, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, SPLIT_BY, STAR, STARASSIGN, STRICT_EQ, STRICT_GE, STRICT_GT, STRICT_LE, STRICT_LT, STRICT_NE, STRING_EQ, STRING_GE, STRING_GT, STRING_LE, STRING_LITERAL, STRING_LT, STRING_NE, STRING_NE_ALT, SUPER, TDOT, TDOT_UNICODE, THROW, THROWS, TIME_FORMAT_LITERAL, tokenImage, TRANSFORM_TO, TRANSFORM_UNIQUE_TO, TRUE, TRY, VOID, WHERE, WHILE| Constructor and Description |
|---|
BExGrammar() |
BExGrammar(BExGrammarTokenManager tm)
Constructor with generated Token Manager.
|
BExGrammar(InputStream stream)
Constructor with InputStream.
|
BExGrammar(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
BExGrammar(Reader stream)
Constructor.
|
bop, emptyStatement, getError, getTopNode, identifier, literal, literal, nop, nop, notImplemented, parseAsMethod, parseAsMethodHeader, parseAsModule, parseAsParamDeclaration, parseAsType, pos, setModule, uoppublic BExGrammarTokenManager token_source
public Token token
public Token jj_nt
public BExGrammar()
public BExGrammar(InputStream stream)
public BExGrammar(InputStream stream, String encoding)
public BExGrammar(Reader stream)
public BExGrammar(BExGrammarTokenManager tm)
protected TextInterval pos(Token t)
protected TextInterval pos(Token t1, Token t2)
protected TextInterval pos(String lexError, Token t)
public void parseTopNode(String type)
parseTopNode in class JavaCC30Grammarpublic final void Expression()
throws ParseException
ParseExceptionpublic final void ConditionalTernaryExpression()
throws ParseException
ParseExceptionpublic final void ConditionalImplExpression()
throws ParseException
ParseExceptionpublic final void ConditionalOrExpression()
throws ParseException
ParseExceptionpublic final void ConditionalAndExpression()
throws ParseException
ParseExceptionpublic final void EqualityExpression()
throws ParseException
ParseExceptionpublic final void RelationalExpression()
throws ParseException
ParseExceptionpublic final void AdditiveExpression()
throws ParseException
ParseExceptionpublic final void MultiplicativeExpression()
throws ParseException
ParseExceptionpublic final void PowerExpression()
throws ParseException
ParseExceptionpublic final void UnaryExpression()
throws ParseException
ParseExceptionpublic final void OfTheExpressionSuffix()
throws ParseException
ParseExceptionpublic final void PreIncrementExpression()
throws ParseException
ParseExceptionpublic final void PreDecrementExpression()
throws ParseException
ParseExceptionpublic final void PostfixExpression()
throws ParseException
ParseExceptionpublic final void PrimaryExpression()
throws ParseException
ParseExceptionpublic final void PrimaryPrefix()
throws ParseException
ParseExceptionpublic final void IdentifierSequence()
throws ParseException
ParseExceptionpublic final void Word(String type) throws ParseException
ParseExceptionpublic final void PrimarySuffix()
throws ParseException
ParseExceptionpublic final void CastExpression()
throws ParseException
ParseExceptionpublic final void CastLookahead()
throws ParseException
ParseExceptionpublic final void identifier()
throws ParseException
ParseExceptionpublic final void rangeidentifier()
throws ParseException
ParseExceptionpublic final void TypeDimension()
throws ParseException
ParseExceptionpublic final void parseParamDeclaration()
throws ParseException
ParseExceptionpublic final void parseType()
throws ParseException
ParseExceptionpublic final void parseMethodHeader()
throws ParseException
ParseExceptionpublic final void Type()
throws ParseException
ParseExceptionpublic final void ResultType()
throws ParseException
ParseExceptionpublic final void ClassName()
throws ParseException
ParseExceptionpublic final void CommaSeparatedList()
throws ParseException
ParseExceptionpublic final void function()
throws ParseException
ParseExceptionpublic final void AllocationExpression()
throws ParseException
ParseExceptionpublic final void ArrayDimsAndInits()
throws ParseException
ParseExceptionpublic final void IndexTypeExpression()
throws ParseException
ParseExceptionpublic final void IndexOperator()
throws ParseException
ParseExceptionpublic final void Literal()
throws ParseException
ParseExceptionpublic final void DateLiteral()
throws ParseException
ParseExceptionpublic final void TimeLiteral()
throws ParseException
ParseExceptionpublic final void DateTimeLiteral()
throws ParseException
ParseExceptionpublic final void BooleanLiteral()
throws ParseException
ParseExceptionpublic final void NullLiteral()
throws ParseException
ParseExceptionpublic final void Block()
throws ParseException
ParseExceptionpublic final void BlockStatementList()
throws ParseException
ParseExceptionpublic final void OptionalSemiColon()
throws ParseException
ParseExceptionpublic final void SemiColon()
throws ParseException
ParseExceptionpublic final void Statement()
throws ParseException
ParseExceptionpublic final void ExtendedWhereStatement()
throws ParseException
ParseExceptionpublic final void WhereVarExpalnation()
throws ParseException
ParseExceptionpublic final void LabeledStatement()
throws ParseException
ParseExceptionpublic final void BlockStatement()
throws ParseException
ParseExceptionpublic final void StatementExpression()
throws ParseException
ParseExceptionpublic final void EmptyStatement()
throws ParseException
ParseExceptionpublic final void IfStatement()
throws ParseException
ParseExceptionpublic final void WhileStatement()
throws ParseException
ParseExceptionpublic final void ReturnStatement()
throws ParseException
ParseExceptionpublic final void ThrowStatement()
throws ParseException
ParseExceptionpublic final void DoStatement()
throws ParseException
ParseExceptionpublic final void LocalVariableDeclaration()
throws ParseException
ParseExceptionpublic final void VariableDeclarator()
throws ParseException
ParseExceptionpublic final void VariableDeclaratorId()
throws ParseException
ParseExceptionpublic final void VariableInitializer()
throws ParseException
ParseExceptionpublic final void ArrayInitializer()
throws ParseException
ParseExceptionpublic final void ForStatement()
throws ParseException
ParseExceptionpublic final void ForInit()
throws ParseException
ParseExceptionpublic final void StatementExpressionList()
throws ParseException
ParseExceptionpublic final void ForUpdate()
throws ParseException
ParseExceptionpublic final void BreakStatement()
throws ParseException
ParseExceptionpublic final void ContinueStatement()
throws ParseException
ParseExceptionpublic final void MethodHeader()
throws ParseException
ParseExceptionpublic final void MethodDeclaration()
throws ParseException
ParseExceptionpublic final void MethodDeclarator()
throws ParseException
ParseExceptionpublic final void MethodName()
throws ParseException
ParseExceptionpublic final void FormalParameters()
throws ParseException
ParseExceptionpublic final void FormalParameter()
throws ParseException
ParseExceptionpublic final void VarDeclaration()
throws ParseException
ParseExceptionpublic final void MethodOrVarDeclaration()
throws ParseException
ParseExceptionpublic final void parseModuleInternal()
throws ParseException
ParseExceptionpublic final void parseTopNodeInternal()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
ReInit in class JavaCC30Grammarpublic void ReInit(BExGrammarTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final boolean trace_enabled()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2004–2024 OpenL Tablets. All rights reserved.