com.evelopers.unimod.parser
Class Infix
java.lang.Object
antlr.TreeParser
com.evelopers.unimod.parser.Infix
- All Implemented Interfaces:
- InfixTokenTypes
- public class Infix
- extends antlr.TreeParser
- implements InfixTokenTypes
Fields inherited from class antlr.TreeParser |
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface com.evelopers.unimod.parser.InfixTokenTypes |
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 |
Infix()
|
Method Summary |
java.lang.String |
cmp(antlr.collections.AST _t)
|
java.lang.String |
con(antlr.collections.AST _t)
|
java.lang.String |
dis(antlr.collections.AST _t)
|
java.lang.String |
formula(antlr.collections.AST _t)
|
static java.lang.String |
infix(antlr.collections.AST ast)
|
java.lang.String |
lit(antlr.collections.AST _t)
|
java.lang.String |
neg(antlr.collections.AST _t)
|
java.lang.String |
term(antlr.collections.AST _t)
|
java.lang.String |
val(antlr.collections.AST _t)
|
Methods inherited from class antlr.TreeParser |
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
Infix
public Infix()
infix
public static java.lang.String infix(antlr.collections.AST ast)
throws InterpreterException
- Throws:
InterpreterException
formula
public final java.lang.String formula(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
dis
public final java.lang.String dis(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
term
public final java.lang.String term(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
con
public final java.lang.String con(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
lit
public final java.lang.String lit(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
neg
public final java.lang.String neg(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
cmp
public final java.lang.String cmp(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
val
public final java.lang.String val(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException