- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- org.jgrapht.nio.dot.DOTParser
-
class DOTParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDOTParser.AListContextstatic classDOTParser.AttributesListContextstatic classDOTParser.AttributeStatementContextstatic classDOTParser.CompoundStatementContextstatic classDOTParser.EdgeStatementContextstatic classDOTParser.GraphContextstatic classDOTParser.GraphHeaderContextstatic classDOTParser.GraphIdentifierContextstatic classDOTParser.IdentifierContextstatic classDOTParser.IdentifierPairContextstatic classDOTParser.IdentifierPairStatementContextstatic classDOTParser.NodeIdentifierContextstatic classDOTParser.NodeStatementContextstatic classDOTParser.NodeStatementNoAttributesContextstatic classDOTParser.PortContextstatic classDOTParser.StatementContextstatic classDOTParser.SubgraphStatementContext
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAprivate static java.lang.String[]_LITERAL_NAMESstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCacheprivate static java.lang.String[]_SYMBOLIC_NAMESstatic intCOMMENTstatic intDIGRAPHstatic intEDGEstatic intGRAPHstatic intHtmlStringstatic intIdstatic intLINE_COMMENTstatic intNODEstatic intNumeralstatic intPREPROCstatic intRULE_aListstatic intRULE_attributesListstatic intRULE_attributeStatementstatic intRULE_compoundStatementstatic intRULE_edgeStatementstatic intRULE_graphstatic intRULE_graphHeaderstatic intRULE_graphIdentifierstatic intRULE_identifierstatic intRULE_identifierPairstatic intRULE_identifierPairStatementstatic intRULE_nodeIdentifierstatic intRULE_nodeStatementstatic intRULE_nodeStatementNoAttributesstatic intRULE_portstatic intRULE_statementstatic intRULE_subgraphStatementstatic java.lang.String[]ruleNamesstatic intSTRICTstatic intStringstatic intSUBGRAPHstatic intT__0static intT__1static intT__2static intT__3static intT__4static intT__5static intT__6static intT__7static intT__8static intT__9static java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWS
-
Constructor Summary
Constructors Constructor Description DOTParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, 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, sempred, 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
-
STRICT
public static final int STRICT
- See Also:
- Constant Field Values
-
GRAPH
public static final int GRAPH
- See Also:
- Constant Field Values
-
DIGRAPH
public static final int DIGRAPH
- See Also:
- Constant Field Values
-
NODE
public static final int NODE
- See Also:
- Constant Field Values
-
EDGE
public static final int EDGE
- See Also:
- Constant Field Values
-
SUBGRAPH
public static final int SUBGRAPH
- See Also:
- Constant Field Values
-
Numeral
public static final int Numeral
- See Also:
- Constant Field Values
-
String
public static final int String
- See Also:
- Constant Field Values
-
Id
public static final int Id
- See Also:
- Constant Field Values
-
HtmlString
public static final int HtmlString
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
PREPROC
public static final int PREPROC
- See Also:
- Constant Field Values
-
RULE_graph
public static final int RULE_graph
- See Also:
- Constant Field Values
-
RULE_compoundStatement
public static final int RULE_compoundStatement
- See Also:
- Constant Field Values
-
RULE_graphHeader
public static final int RULE_graphHeader
- See Also:
- Constant Field Values
-
RULE_graphIdentifier
public static final int RULE_graphIdentifier
- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement
- See Also:
- Constant Field Values
-
RULE_identifierPairStatement
public static final int RULE_identifierPairStatement
- See Also:
- Constant Field Values
-
RULE_attributeStatement
public static final int RULE_attributeStatement
- See Also:
- Constant Field Values
-
RULE_attributesList
public static final int RULE_attributesList
- See Also:
- Constant Field Values
-
RULE_aList
public static final int RULE_aList
- See Also:
- Constant Field Values
-
RULE_edgeStatement
public static final int RULE_edgeStatement
- See Also:
- Constant Field Values
-
RULE_nodeStatement
public static final int RULE_nodeStatement
- See Also:
- Constant Field Values
-
RULE_nodeStatementNoAttributes
public static final int RULE_nodeStatementNoAttributes
- See Also:
- Constant Field Values
-
RULE_nodeIdentifier
public static final int RULE_nodeIdentifier
- See Also:
- Constant Field Values
-
RULE_port
public static final int RULE_port
- See Also:
- Constant Field Values
-
RULE_subgraphStatement
public static final int RULE_subgraphStatement
- See Also:
- Constant Field Values
-
RULE_identifierPair
public static final int RULE_identifierPair
- See Also:
- Constant Field Values
-
RULE_identifier
public static final int RULE_identifier
- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_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
-
makeRuleNames
private static java.lang.String[] makeRuleNames()
-
makeLiteralNames
private static java.lang.String[] makeLiteralNames()
-
makeSymbolicNames
private static java.lang.String[] makeSymbolicNames()
-
getTokenNames
@Deprecated public java.lang.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 java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public java.lang.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>
-
graph
public final DOTParser.GraphContext graph() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
compoundStatement
public final DOTParser.CompoundStatementContext compoundStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
graphHeader
public final DOTParser.GraphHeaderContext graphHeader() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
graphIdentifier
public final DOTParser.GraphIdentifierContext graphIdentifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final DOTParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
identifierPairStatement
public final DOTParser.IdentifierPairStatementContext identifierPairStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attributeStatement
public final DOTParser.AttributeStatementContext attributeStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attributesList
public final DOTParser.AttributesListContext attributesList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
aList
public final DOTParser.AListContext aList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
edgeStatement
public final DOTParser.EdgeStatementContext edgeStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nodeStatement
public final DOTParser.NodeStatementContext nodeStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nodeStatementNoAttributes
public final DOTParser.NodeStatementNoAttributesContext nodeStatementNoAttributes() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nodeIdentifier
public final DOTParser.NodeIdentifierContext nodeIdentifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
port
public final DOTParser.PortContext port() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
subgraphStatement
public final DOTParser.SubgraphStatementContext subgraphStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
identifierPair
public final DOTParser.IdentifierPairContext identifierPair() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
identifier
public final DOTParser.IdentifierContext identifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
-