Package de.isas.lipidomics.palinom
Class SumFormulaParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- de.isas.lipidomics.palinom.SumFormulaParser
-
public class SumFormulaParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSumFormulaParser.CountContextstatic classSumFormulaParser.DigitContextstatic classSumFormulaParser.Element_groupContextstatic classSumFormulaParser.ElementContextstatic classSumFormulaParser.Molecule_groupContextstatic classSumFormulaParser.Molecule_ruleContextstatic classSumFormulaParser.MoleculeContextstatic classSumFormulaParser.Single_elementContext
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intRULE_countstatic intRULE_digitstatic intRULE_elementstatic intRULE_element_groupstatic intRULE_moleculestatic intRULE_molecule_groupstatic intRULE_molecule_rulestatic intRULE_single_elementstatic String[]ruleNamesstatic intT__0static intT__1static intT__10static intT__11static intT__12static intT__13static intT__14static intT__15static intT__2static intT__3static intT__4static intT__5static intT__6static intT__7static intT__8static intT__9static String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARY
-
Constructor Summary
Constructors Constructor Description SumFormulaParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SumFormulaParser.CountContextcount()SumFormulaParser.DigitContextdigit()SumFormulaParser.ElementContextelement()SumFormulaParser.Element_groupContextelement_group()org.antlr.v4.runtime.atn.ATNgetATN()StringgetGrammarFileName()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()SumFormulaParser.MoleculeContextmolecule()SumFormulaParser.Molecule_groupContextmolecule_group()SumFormulaParser.Molecule_ruleContextmolecule_rule()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)SumFormulaParser.Single_elementContextsingle_element()-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
RULE_molecule
public static final int RULE_molecule
- See Also:
- Constant Field Values
-
RULE_molecule_rule
public static final int RULE_molecule_rule
- See Also:
- Constant Field Values
-
RULE_molecule_group
public static final int RULE_molecule_group
- See Also:
- Constant Field Values
-
RULE_element_group
public static final int RULE_element_group
- See Also:
- Constant Field Values
-
RULE_single_element
public static final int RULE_single_element
- See Also:
- Constant Field Values
-
RULE_element
public static final int RULE_element
- See Also:
- Constant Field Values
-
RULE_count
public static final int RULE_count
- See Also:
- Constant Field Values
-
RULE_digit
public static final int RULE_digit
- See Also:
- Constant Field Values
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Detail
-
SumFormulaParser
public SumFormulaParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] getTokenNames()
Deprecated.- Specified by:
getTokenNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
molecule
public final SumFormulaParser.MoleculeContext molecule() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
molecule_rule
public final SumFormulaParser.Molecule_ruleContext molecule_rule() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
molecule_group
public final SumFormulaParser.Molecule_groupContext molecule_group() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
element_group
public final SumFormulaParser.Element_groupContext element_group() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
single_element
public final SumFormulaParser.Single_elementContext single_element() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
element
public final SumFormulaParser.ElementContext element() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
count
public final SumFormulaParser.CountContext count() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
digit
public final SumFormulaParser.DigitContext digit() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
-