Package com.ibm.fhir.model.ucum
Class UCUMParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- com.ibm.fhir.model.ucum.UCUMParser
-
public class UCUMParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UCUMParser.AnnotatableContext
static class
UCUMParser.AnnotationSymbolsContext
static class
UCUMParser.ComponentContext
static class
UCUMParser.DigitSymbolsContext
static class
UCUMParser.ExponentContext
static class
UCUMParser.MainTermContext
static class
UCUMParser.SimpleUnitContext
static class
UCUMParser.SimpleUnitSymbolsContext
static class
UCUMParser.SquareBracketsSymbolsContext
static class
UCUMParser.TermContext
static class
UCUMParser.TerminalUnitSymbolContext
static class
UCUMParser.WithinCbOrSbSymbolContext
static class
UCUMParser.WithinCbSymbolContext
static class
UCUMParser.WithinSbSymbolContext
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
DIGIT_SYMBOL
static int
NON_DIGIT_TERMINAL_UNIT_SYMBOL
static int
RULE_annotatable
static int
RULE_annotationSymbols
static int
RULE_component
static int
RULE_digitSymbols
static int
RULE_exponent
static int
RULE_mainTerm
static int
RULE_simpleUnit
static int
RULE_simpleUnitSymbols
static int
RULE_squareBracketsSymbols
static int
RULE_term
static int
RULE_terminalUnitSymbol
static int
RULE_withinCbOrSbSymbol
static int
RULE_withinCbSymbol
static int
RULE_withinSbSymbol
static java.lang.String[]
ruleNames
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__2
static int
T__3
static int
T__4
static int
T__5
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
-
Constructor Summary
Constructors Constructor Description UCUMParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UCUMParser.AnnotatableContext
annotatable()
UCUMParser.AnnotationSymbolsContext
annotationSymbols()
UCUMParser.ComponentContext
component()
UCUMParser.DigitSymbolsContext
digitSymbols()
UCUMParser.ExponentContext
exponent()
org.antlr.v4.runtime.atn.ATN
getATN()
java.lang.String
getGrammarFileName()
java.lang.String[]
getRuleNames()
java.lang.String
getSerializedATN()
org.antlr.v4.runtime.Vocabulary
getVocabulary()
UCUMParser.MainTermContext
mainTerm()
UCUMParser.SimpleUnitContext
simpleUnit()
UCUMParser.SimpleUnitSymbolsContext
simpleUnitSymbols()
UCUMParser.SquareBracketsSymbolsContext
squareBracketsSymbols()
UCUMParser.TermContext
term()
UCUMParser.TerminalUnitSymbolContext
terminalUnitSymbol()
UCUMParser.WithinCbOrSbSymbolContext
withinCbOrSbSymbol()
UCUMParser.WithinCbSymbolContext
withinCbSymbol()
UCUMParser.WithinSbSymbolContext
withinSbSymbol()
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, 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
-
-
-
-
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
-
NON_DIGIT_TERMINAL_UNIT_SYMBOL
public static final int NON_DIGIT_TERMINAL_UNIT_SYMBOL
- See Also:
- Constant Field Values
-
DIGIT_SYMBOL
public static final int DIGIT_SYMBOL
- See Also:
- Constant Field Values
-
RULE_mainTerm
public static final int RULE_mainTerm
- See Also:
- Constant Field Values
-
RULE_term
public static final int RULE_term
- See Also:
- Constant Field Values
-
RULE_component
public static final int RULE_component
- See Also:
- Constant Field Values
-
RULE_annotatable
public static final int RULE_annotatable
- See Also:
- Constant Field Values
-
RULE_simpleUnit
public static final int RULE_simpleUnit
- See Also:
- Constant Field Values
-
RULE_simpleUnitSymbols
public static final int RULE_simpleUnitSymbols
- See Also:
- Constant Field Values
-
RULE_annotationSymbols
public static final int RULE_annotationSymbols
- See Also:
- Constant Field Values
-
RULE_squareBracketsSymbols
public static final int RULE_squareBracketsSymbols
- See Also:
- Constant Field Values
-
RULE_withinSbSymbol
public static final int RULE_withinSbSymbol
- See Also:
- Constant Field Values
-
RULE_withinCbSymbol
public static final int RULE_withinCbSymbol
- See Also:
- Constant Field Values
-
RULE_withinCbOrSbSymbol
public static final int RULE_withinCbOrSbSymbol
- See Also:
- Constant Field Values
-
RULE_terminalUnitSymbol
public static final int RULE_terminalUnitSymbol
- See Also:
- Constant Field Values
-
RULE_exponent
public static final int RULE_exponent
- See Also:
- Constant Field Values
-
RULE_digitSymbols
public static final int RULE_digitSymbols
- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in 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:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
mainTerm
public final UCUMParser.MainTermContext mainTerm() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
term
public final UCUMParser.TermContext term() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
component
public final UCUMParser.ComponentContext component() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotatable
public final UCUMParser.AnnotatableContext annotatable() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleUnit
public final UCUMParser.SimpleUnitContext simpleUnit() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleUnitSymbols
public final UCUMParser.SimpleUnitSymbolsContext simpleUnitSymbols() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationSymbols
public final UCUMParser.AnnotationSymbolsContext annotationSymbols() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
squareBracketsSymbols
public final UCUMParser.SquareBracketsSymbolsContext squareBracketsSymbols() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
withinSbSymbol
public final UCUMParser.WithinSbSymbolContext withinSbSymbol() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
withinCbSymbol
public final UCUMParser.WithinCbSymbolContext withinCbSymbol() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
withinCbOrSbSymbol
public final UCUMParser.WithinCbOrSbSymbolContext withinCbOrSbSymbol() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
terminalUnitSymbol
public final UCUMParser.TerminalUnitSymbolContext terminalUnitSymbol() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exponent
public final UCUMParser.ExponentContext exponent() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
digitSymbols
public final UCUMParser.DigitSymbolsContext digitSymbols() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
-