org.omegahat.Models.Formulae.Parser
Class omegaFormulaGrammar
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--org.omegahat.Models.Formulae.Parser.omegaFormulaGrammar
- All Implemented Interfaces:
- omegaFormulaGrammarTokenTypes
- public class omegaFormulaGrammar
- extends antlr.LLkParser
- implements omegaFormulaGrammarTokenTypes
Parser class for reading formulae and models - multiple formulae.
This is very preliminary and more useful than confirmed.
| Fields inherited from class antlr.Parser |
astFactory, exceptionLevel, guessing, input, returnAST, tokenNames |
| Fields inherited from interface org.omegahat.Models.Formulae.Parser.omegaFormulaGrammarTokenTypes |
CHAR_LITERAL, COLON, COMMA, DIV, DOT, EOF, EQUALS, EXPONENT, FLOAT_SUFFIX, GIVEN, HAT, HEX_DIGIT, IDENT, LBRACE, LBRACK, LPAREN, MINUS, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, NUM_LONG, PLUS, RBRACE, RBRACK, RPAREN, SEMI, SHARP, SLASH, STAR, STRING_LITERAL, TILDE, TYPE, VOCAB, WS |
| 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, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setIgnoreInvalidDebugCalls, setTokenBuffer, setTokenObjectClass |
| 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
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
_tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_12
_tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_13
_tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_14
_tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_15
_tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_16
_tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_17
_tokenSet_18
public static final antlr.collections.impl.BitSet _tokenSet_18
_tokenSet_19
public static final antlr.collections.impl.BitSet _tokenSet_19
_tokenSet_20
public static final antlr.collections.impl.BitSet _tokenSet_20
_tokenSet_21
public static final antlr.collections.impl.BitSet _tokenSet_21
_tokenSet_22
public static final antlr.collections.impl.BitSet _tokenSet_22
_tokenSet_23
public static final antlr.collections.impl.BitSet _tokenSet_23
_tokenSet_24
public static final antlr.collections.impl.BitSet _tokenSet_24
_tokenSet_25
public static final antlr.collections.impl.BitSet _tokenSet_25
_tokenSet_26
public static final antlr.collections.impl.BitSet _tokenSet_26
_tokenSet_27
public static final antlr.collections.impl.BitSet _tokenSet_27
_tokenSet_28
public static final antlr.collections.impl.BitSet _tokenSet_28
_tokenSet_29
public static final antlr.collections.impl.BitSet _tokenSet_29
_tokenSet_30
public static final antlr.collections.impl.BitSet _tokenSet_30
_tokenSet_31
public static final antlr.collections.impl.BitSet _tokenSet_31
_tokenSet_32
public static final antlr.collections.impl.BitSet _tokenSet_32
_tokenSet_33
public static final antlr.collections.impl.BitSet _tokenSet_33
_tokenSet_34
public static final antlr.collections.impl.BitSet _tokenSet_34
_tokenSet_35
public static final antlr.collections.impl.BitSet _tokenSet_35
_tokenSet_36
public static final antlr.collections.impl.BitSet _tokenSet_36
_tokenSet_37
public static final antlr.collections.impl.BitSet _tokenSet_37
_tokenSet_38
public static final antlr.collections.impl.BitSet _tokenSet_38
_tokenSet_39
public static final antlr.collections.impl.BitSet _tokenSet_39
_tokenSet_40
public static final antlr.collections.impl.BitSet _tokenSet_40
_tokenSet_41
public static final antlr.collections.impl.BitSet _tokenSet_41
_tokenSet_42
public static final antlr.collections.impl.BitSet _tokenSet_42
_tokenSet_43
public static final antlr.collections.impl.BitSet _tokenSet_43
omegaFormulaGrammar
protected omegaFormulaGrammar(antlr.TokenBuffer tokenBuf,
int k)
omegaFormulaGrammar
public omegaFormulaGrammar(antlr.TokenBuffer tokenBuf)
omegaFormulaGrammar
protected omegaFormulaGrammar(antlr.Tokenizer lexer,
int k)
omegaFormulaGrammar
public omegaFormulaGrammar(antlr.Tokenizer lexer)
mapType
public int mapType(int type)
imaginaryTokenDefinitions
public final void imaginaryTokenDefinitions()
throws antlr.ParserException,
java.io.IOException
model
public final void model()
throws antlr.ParserException,
java.io.IOException
formula
public final void formula()
throws antlr.ParserException,
java.io.IOException
response
public final void response()
throws antlr.ParserException,
java.io.IOException
terms
public final void terms()
throws antlr.ParserException,
java.io.IOException
structural
public final void structural()
throws antlr.ParserException,
java.io.IOException
expression
public final void expression()
throws antlr.ParserException,
java.io.IOException
argList
public final void argList()
throws antlr.ParserException,
java.io.IOException
declaration
public final void declaration()
throws antlr.ParserException,
java.io.IOException
declarationAttributeList
public final void declarationAttributeList()
throws antlr.ParserException,
java.io.IOException
declarationAttribute
public final void declarationAttribute()
throws antlr.ParserException,
java.io.IOException
scalar
public final void scalar()
throws antlr.ParserException,
java.io.IOException
term
public final void term()
throws antlr.ParserException,
java.io.IOException
variableTransformation
public final void variableTransformation()
throws antlr.ParserException,
java.io.IOException
name
public final void name()
throws antlr.ParserException,
java.io.IOException
numList
public final void numList()
throws antlr.ParserException,
java.io.IOException
constant
public final void constant()
throws antlr.ParserException,
java.io.IOException
functionCall
public final void functionCall()
throws antlr.ParserException,
java.io.IOException
methodCall
public final void methodCall()
throws antlr.ParserException,
java.io.IOException
arg
public final void arg()
throws antlr.ParserException,
java.io.IOException
namedArgument
public final void namedArgument()
throws antlr.ParserException,
java.io.IOException