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.io.DOTParser
class DOTParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
private static final String[]
static final String
protected static final org.antlr.v4.runtime.atn.PredictionContextCache
private static final String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final org.antlr.v4.runtime.Vocabulary
static final int
Fields inherited from class org.antlr.v4.runtime.Parser
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DOTParser.AListContext
aList()
org.antlr.v4.runtime.atn.ATN
getATN()
String[]
String[]
Deprecated.org.antlr.v4.runtime.Vocabulary
final DOTParser.GraphContext
graph()
private static String[]
private static String[]
private static String[]
final DOTParser.PortContext
port()
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 Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
T__0
public static final int T__0- See Also:
-
T__1
public static final int T__1- See Also:
-
T__2
public static final int T__2- See Also:
-
T__3
public static final int T__3- See Also:
-
T__4
public static final int T__4- See Also:
-
T__5
public static final int T__5- See Also:
-
T__6
public static final int T__6- See Also:
-
T__7
public static final int T__7- See Also:
-
T__8
public static final int T__8- See Also:
-
T__9
public static final int T__9- See Also:
-
STRICT
public static final int STRICT- See Also:
-
GRAPH
public static final int GRAPH- See Also:
-
DIGRAPH
public static final int DIGRAPH- See Also:
-
NODE
public static final int NODE- See Also:
-
EDGE
public static final int EDGE- See Also:
-
SUBGRAPH
public static final int SUBGRAPH- See Also:
-
Numeral
public static final int Numeral- See Also:
-
String
public static final int String- See Also:
-
Id
public static final int Id- See Also:
-
HtmlString
public static final int HtmlString- See Also:
-
WS
public static final int WS- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
LINE_COMMENT
public static final int LINE_COMMENT- See Also:
-
PREPROC
public static final int PREPROC- See Also:
-
RULE_graph
public static final int RULE_graph- See Also:
-
RULE_compoundStatement
public static final int RULE_compoundStatement- See Also:
-
RULE_graphHeader
public static final int RULE_graphHeader- See Also:
-
RULE_graphIdentifier
public static final int RULE_graphIdentifier- See Also:
-
RULE_statement
public static final int RULE_statement- See Also:
-
RULE_identifierPairStatement
public static final int RULE_identifierPairStatement- See Also:
-
RULE_attributeStatement
public static final int RULE_attributeStatement- See Also:
-
RULE_attributesList
public static final int RULE_attributesList- See Also:
-
RULE_aList
public static final int RULE_aList- See Also:
-
RULE_edgeStatement
public static final int RULE_edgeStatement- See Also:
-
RULE_nodeStatement
public static final int RULE_nodeStatement- See Also:
-
RULE_nodeStatementNoAttributes
public static final int RULE_nodeStatementNoAttributes- See Also:
-
RULE_nodeIdentifier
public static final int RULE_nodeIdentifier- See Also:
-
RULE_port
public static final int RULE_port- See Also:
-
RULE_subgraphStatement
public static final int RULE_subgraphStatement- See Also:
-
RULE_identifierPair
public static final int RULE_identifierPair- See Also:
-
RULE_identifier
public static final int RULE_identifier- See Also:
-
ruleNames
-
_LITERAL_NAMES
-
_SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
DOTParser
public DOTParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
makeRuleNames
-
makeLiteralNames
-
makeSymbolicNames
-
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
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
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
- 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
- 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
- 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
-
VOCABULARY
instead.