- 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 class
DOTParser.AListContext
static class
DOTParser.AttributesListContext
static class
DOTParser.AttributeStatementContext
static class
DOTParser.CompoundStatementContext
static class
DOTParser.EdgeStatementContext
static class
DOTParser.GraphContext
static class
DOTParser.GraphHeaderContext
static class
DOTParser.GraphIdentifierContext
static class
DOTParser.IdentifierContext
static class
DOTParser.IdentifierPairContext
static class
DOTParser.IdentifierPairStatementContext
static class
DOTParser.NodeIdentifierContext
static class
DOTParser.NodeStatementContext
static class
DOTParser.NodeStatementNoAttributesContext
static class
DOTParser.PortContext
static class
DOTParser.StatementContext
static class
DOTParser.SubgraphStatementContext
-
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
private static java.lang.String[]
_LITERAL_NAMES
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
private static java.lang.String[]
_SYMBOLIC_NAMES
static int
COMMENT
static int
DIGRAPH
static int
EDGE
static int
GRAPH
static int
HtmlString
static int
Id
static int
LINE_COMMENT
static int
NODE
static int
Numeral
static int
PREPROC
static int
RULE_aList
static int
RULE_attributesList
static int
RULE_attributeStatement
static int
RULE_compoundStatement
static int
RULE_edgeStatement
static int
RULE_graph
static int
RULE_graphHeader
static int
RULE_graphIdentifier
static int
RULE_identifier
static int
RULE_identifierPair
static int
RULE_identifierPairStatement
static int
RULE_nodeIdentifier
static int
RULE_nodeStatement
static int
RULE_nodeStatementNoAttributes
static int
RULE_port
static int
RULE_statement
static int
RULE_subgraphStatement
static java.lang.String[]
ruleNames
static int
STRICT
static int
String
static int
SUBGRAPH
static int
T__0
static int
T__1
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 java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WS
-
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.UseVOCABULARY
instead.
-
_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:
getTokenNames
in 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:
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>
-
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
-
-