org.openl.grammar.bexgrammar
Class BExGrammar
java.lang.Object
org.openl.syntax.grammar.impl.Grammar
org.openl.grammar.JavaCC30Grammar
org.openl.grammar.bexgrammar.BExGrammar
- All Implemented Interfaces:
- BExGrammarConstants, IGrammar
public class BExGrammar
- extends JavaCC30Grammar
- implements BExGrammarConstants
| Fields inherited from interface org.openl.grammar.bexgrammar.BExGrammarConstants |
_DEFAULT, ABSTRACT, AND, ANDASSIGN, ASSIGN, BANG, BIT_AND, BIT_OR, BIT_XOR, BOOL_AND, BOOL_OR, BREAK, BUSINESS_INTEGER_LITERAL, CALCULATE, CASE, CATCH, CHARACTER_LITERAL, COLON, COMMA, CONST, CONTINUE, DDOT, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DO, DOT, ELSE, EOF, EQ, EXP, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, FP_LITERAL1, FP_LITERAL2, GE, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPL, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INTEGER_LITERAL, INTERFACE, IS, LABEL, LBRACE, LBRACKET, LE, LESS, LETTER, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NOT, NULL, OCTAL_LITERAL, OF, OR, ORASSIGN, PACKAGE, PERCENT_LITERAL, PLUS, PLUSASSIGN, PLUSSTR, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICT_EQ, STRICT_GE, STRICT_GT, STRICT_LE, STRICT_LT, STRICT_NE, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, TDOT, THAN, THE, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHERE, WHILE, XORASSIGN |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public BExGrammarTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
BExGrammar
public BExGrammar()
BExGrammar
public BExGrammar(InputStream stream)
BExGrammar
public BExGrammar(InputStream stream,
String encoding)
BExGrammar
public BExGrammar(Reader stream)
BExGrammar
public BExGrammar(BExGrammarTokenManager tm)
begin
protected IPosition begin(Token t)
end
protected IPosition end(Token t)
pos
protected TextInterval pos(Token t)
pos
protected TextInterval pos(Token t1,
Token t2)
pos
protected TextInterval pos(String lexError,
Token t,
StringBuffer resMessage)
parseTopNode
public void parseTopNode(String type)
- Specified by:
parseTopNode in class JavaCC30Grammar
Expression
public final void Expression()
throws ParseException
- Throws:
ParseException
ConditionalTernaryExpression
public final void ConditionalTernaryExpression()
throws ParseException
- Throws:
ParseException
ConditionalImplExpression
public final void ConditionalImplExpression()
throws ParseException
- Throws:
ParseException
ConditionalOrExpression
public final void ConditionalOrExpression()
throws ParseException
- Throws:
ParseException
ConditionalAndExpression
public final void ConditionalAndExpression()
throws ParseException
- Throws:
ParseException
BitwiseOrExpression
public final void BitwiseOrExpression()
throws ParseException
- Throws:
ParseException
BitwiseXorExpression
public final void BitwiseXorExpression()
throws ParseException
- Throws:
ParseException
BitwiseAndExpression
public final void BitwiseAndExpression()
throws ParseException
- Throws:
ParseException
EqualityExpression
public final void EqualityExpression()
throws ParseException
- Throws:
ParseException
OfTheExpression
public final void OfTheExpression()
throws ParseException
- Throws:
ParseException
RelationalExpression
public final void RelationalExpression()
throws ParseException
- Throws:
ParseException
ShiftExpression
public final void ShiftExpression()
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final void AdditiveExpression()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final void MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
PowerExpression
public final void PowerExpression()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final void UnaryExpression()
throws ParseException
- Throws:
ParseException
PreIncrementExpression
public final void PreIncrementExpression()
throws ParseException
- Throws:
ParseException
OfTheExpressionSuffix
public final void OfTheExpressionSuffix()
throws ParseException
- Throws:
ParseException
PreDecrementExpression
public final void PreDecrementExpression()
throws ParseException
- Throws:
ParseException
PostfixExpression
public final void PostfixExpression()
throws ParseException
- Throws:
ParseException
PrimaryExpression
public final void PrimaryExpression()
throws ParseException
- Throws:
ParseException
PrimaryPrefix
public final void PrimaryPrefix()
throws ParseException
- Throws:
ParseException
IdentifierSequence
public final void IdentifierSequence()
throws ParseException
- Throws:
ParseException
FilterExpression
public final void FilterExpression()
throws ParseException
- Throws:
ParseException
SimpleFilter
public final void SimpleFilter()
throws ParseException
- Throws:
ParseException
SimpleNotFilter
public final void SimpleNotFilter()
throws ParseException
- Throws:
ParseException
Word
public final void Word(String type)
throws ParseException
- Throws:
ParseException
PrimarySuffix
public final void PrimarySuffix()
throws ParseException
- Throws:
ParseException
CastExpression
public final void CastExpression()
throws ParseException
- Throws:
ParseException
CastLookahead
public final void CastLookahead()
throws ParseException
- Throws:
ParseException
identifier
public final void identifier()
throws ParseException
- Throws:
ParseException
TypeDimension
public final void TypeDimension()
throws ParseException
- Throws:
ParseException
Type
public final void Type()
throws ParseException
- Throws:
ParseException
ResultType
public final void ResultType()
throws ParseException
- Throws:
ParseException
ClassName
public final void ClassName()
throws ParseException
- Throws:
ParseException
CommaSeparatedList
public final void CommaSeparatedList()
throws ParseException
- Throws:
ParseException
function
public final void function()
throws ParseException
- Throws:
ParseException
AllocationExpression
public final void AllocationExpression()
throws ParseException
- Throws:
ParseException
ArrayDimsAndInits
public final void ArrayDimsAndInits()
throws ParseException
- Throws:
ParseException
IndexOperator
public final void IndexOperator()
throws ParseException
- Throws:
ParseException
AbsExpression
public final void AbsExpression()
throws ParseException
- Throws:
ParseException
Literal
public final void Literal()
throws ParseException
- Throws:
ParseException
LiteralBI
public final void LiteralBI()
throws ParseException
- Throws:
ParseException
LiteralFloat
public final void LiteralFloat()
throws ParseException
- Throws:
ParseException
NegLiteralBI
public final void NegLiteralBI()
throws ParseException
- Throws:
ParseException
RangeBrackets
public final void RangeBrackets()
throws ParseException
- Throws:
ParseException
RangeBinary
public final void RangeBinary()
throws ParseException
- Throws:
ParseException
RangeNumber
public final void RangeNumber()
throws ParseException
- Throws:
ParseException
RangePrefix
public final void RangePrefix()
throws ParseException
- Throws:
ParseException
RangeSuffix
public final void RangeSuffix()
throws ParseException
- Throws:
ParseException
RangeLiteral
public final void RangeLiteral()
throws ParseException
- Throws:
ParseException
RangeBracketsFloat
public final void RangeBracketsFloat()
throws ParseException
- Throws:
ParseException
RangeBinaryFloat
public final void RangeBinaryFloat()
throws ParseException
- Throws:
ParseException
RangeNumberFloat
public final void RangeNumberFloat()
throws ParseException
- Throws:
ParseException
RangePrefixFloat
public final void RangePrefixFloat()
throws ParseException
- Throws:
ParseException
RangeSuffixFloat
public final void RangeSuffixFloat()
throws ParseException
- Throws:
ParseException
RangeLiteralFloat
public final void RangeLiteralFloat()
throws ParseException
- Throws:
ParseException
BooleanLiteral
public final void BooleanLiteral()
throws ParseException
- Throws:
ParseException
NullLiteral
public final void NullLiteral()
throws ParseException
- Throws:
ParseException
Block
public final void Block()
throws ParseException
- Throws:
ParseException
BlockStatementList
public final void BlockStatementList()
throws ParseException
- Throws:
ParseException
OptionalSemiColon
public final void OptionalSemiColon()
throws ParseException
- Throws:
ParseException
SemiColon
public final void SemiColon()
throws ParseException
- Throws:
ParseException
Statement
public final void Statement()
throws ParseException
- Throws:
ParseException
ExtendedWhereStatement
public final void ExtendedWhereStatement()
throws ParseException
- Throws:
ParseException
WhereVarExpalnation
public final void WhereVarExpalnation()
throws ParseException
- Throws:
ParseException
LabeledStatement
public final void LabeledStatement()
throws ParseException
- Throws:
ParseException
BlockStatement
public final void BlockStatement()
throws ParseException
- Throws:
ParseException
StatementExpression
public final void StatementExpression()
throws ParseException
- Throws:
ParseException
EmptyStatement
public final void EmptyStatement()
throws ParseException
- Throws:
ParseException
IfStatement
public final void IfStatement()
throws ParseException
- Throws:
ParseException
WhileStatement
public final void WhileStatement()
throws ParseException
- Throws:
ParseException
ReturnStatement
public final void ReturnStatement()
throws ParseException
- Throws:
ParseException
ThrowStatement
public final void ThrowStatement()
throws ParseException
- Throws:
ParseException
DoStatement
public final void DoStatement()
throws ParseException
- Throws:
ParseException
LocalVariableDeclaration
public final void LocalVariableDeclaration()
throws ParseException
- Throws:
ParseException
VariableDeclarator
public final void VariableDeclarator()
throws ParseException
- Throws:
ParseException
VariableDeclaratorId
public final void VariableDeclaratorId()
throws ParseException
- Throws:
ParseException
VariableInitializer
public final void VariableInitializer()
throws ParseException
- Throws:
ParseException
ArrayInitializer
public final void ArrayInitializer()
throws ParseException
- Throws:
ParseException
ForStatement
public final void ForStatement()
throws ParseException
- Throws:
ParseException
ForInit
public final void ForInit()
throws ParseException
- Throws:
ParseException
StatementExpressionList
public final void StatementExpressionList()
throws ParseException
- Throws:
ParseException
ForUpdate
public final void ForUpdate()
throws ParseException
- Throws:
ParseException
BreakStatement
public final void BreakStatement()
throws ParseException
- Throws:
ParseException
ContinueStatement
public final void ContinueStatement()
throws ParseException
- Throws:
ParseException
MethodHeader
public final void MethodHeader()
throws ParseException
- Throws:
ParseException
MethodDeclaration
public final void MethodDeclaration()
throws ParseException
- Throws:
ParseException
MethodDeclarator
public final void MethodDeclarator()
throws ParseException
- Throws:
ParseException
MethodName
public final void MethodName()
throws ParseException
- Throws:
ParseException
FormalParameters
public final void FormalParameters()
throws ParseException
- Throws:
ParseException
FormalParameter
public final void FormalParameter()
throws ParseException
- Throws:
ParseException
VarDeclaration
public final void VarDeclaration()
throws ParseException
- Throws:
ParseException
MethodOrVarDeclaration
public final void MethodOrVarDeclaration()
throws ParseException
- Throws:
ParseException
parseModuleInternal
public final void parseModuleInternal()
throws ParseException
- Throws:
ParseException
parseTopNodeInternal
public final void parseTopNodeInternal()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
- Specified by:
ReInit in class JavaCC30Grammar
ReInit
public void ReInit(BExGrammarTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2011. All Rights Reserved.