com.evelopers.unimod.parser
Class ExprParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended bycom.evelopers.unimod.parser.ExprParser
All Implemented Interfaces:
ExprTokenTypes

public class ExprParser
extends antlr.LLkParser
implements ExprTokenTypes

Logic Expression Parser for Guard Guard


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
 
Fields inherited from class antlr.LLkParser
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface com.evelopers.unimod.parser.ExprTokenTypes
AND, CONST_BOOL, CONST_BOOL_OR_IDENT, CONST_NUM, DIGIT, EOF, EQUAL, FALSE, GE, GT, IDENT, LE, LETTER, LPAREN, LT, NAME, NEQUAL, NOT, NULL_TREE_LOOKAHEAD, OR, RPAREN, TRUE, WS
 
Constructor Summary
  ExprParser(antlr.ParserSharedInputState state)
           
  ExprParser(antlr.TokenBuffer tokenBuf)
           
protected ExprParser(antlr.TokenBuffer tokenBuf, int k)
           
  ExprParser(antlr.TokenStream lexer)
           
protected ExprParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
protected  void buildTokenTypeASTClassMap()
           
 void i1()
           
 void i2()
           
 void i3()
           
 void i4()
           
 void i5()
           
static antlr.collections.AST parse(java.lang.String expr, StateMachine sm, OperationResolver operationResolver)
           
 void s()
           
 void s1()
           
 void setOperationResolver(OperationResolver operationResolver)
           
 void setStateMachine(StateMachine sm)
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1
Constructor Detail

ExprParser

protected ExprParser(antlr.TokenBuffer tokenBuf,
                     int k)

ExprParser

public ExprParser(antlr.TokenBuffer tokenBuf)

ExprParser

protected ExprParser(antlr.TokenStream lexer,
                     int k)

ExprParser

public ExprParser(antlr.TokenStream lexer)

ExprParser

public ExprParser(antlr.ParserSharedInputState state)
Method Detail

setStateMachine

public void setStateMachine(StateMachine sm)

setOperationResolver

public void setOperationResolver(OperationResolver operationResolver)

parse

public static antlr.collections.AST parse(java.lang.String expr,
                                          StateMachine sm,
                                          OperationResolver operationResolver)
                                   throws ParserException
Throws:
ParserException

s

public final void s()
             throws antlr.RecognitionException,
                    antlr.TokenStreamException,
                    ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

s1

public final void s1()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

i1

public final void i1()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

i2

public final void i2()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

i3

public final void i3()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

i4

public final void i4()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

i5

public final void i5()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException,
                     ParserException
Throws:
antlr.RecognitionException
antlr.TokenStreamException
ParserException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()