Documentation ¶
Index ¶
- Constants
- func DotLexerInit()
- func DotParserInit()
- type AListContext
- func (s *AListContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *AListContext) AllIdent() []IIdentContext
- func (s *AListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AListContext) GetParser() antlr.Parser
- func (s *AListContext) GetRuleContext() antlr.RuleContext
- func (s *AListContext) Ident(i int) IIdentContext
- func (*AListContext) IsAListContext()
- func (s *AListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AttrListContext
- func (s *AttrListContext) AList(i int) IAListContext
- func (s *AttrListContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *AttrListContext) AllAList() []IAListContext
- func (s *AttrListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AttrListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AttrListContext) GetParser() antlr.Parser
- func (s *AttrListContext) GetRuleContext() antlr.RuleContext
- func (*AttrListContext) IsAttrListContext()
- func (s *AttrListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AttrStmtContext
- func (s *AttrStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *AttrStmtContext) AttrList() IAttrListContext
- func (s *AttrStmtContext) EDGE() antlr.TerminalNode
- func (s *AttrStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AttrStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AttrStmtContext) GRAPH() antlr.TerminalNode
- func (s *AttrStmtContext) GetParser() antlr.Parser
- func (s *AttrStmtContext) GetRuleContext() antlr.RuleContext
- func (*AttrStmtContext) IsAttrStmtContext()
- func (s *AttrStmtContext) NODE() antlr.TerminalNode
- func (s *AttrStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseDotListener
- func (s *BaseDotListener) EnterAList(ctx *AListContext)
- func (s *BaseDotListener) EnterAttrList(ctx *AttrListContext)
- func (s *BaseDotListener) EnterAttrStmt(ctx *AttrStmtContext)
- func (s *BaseDotListener) EnterEdgeRHS(ctx *EdgeRHSContext)
- func (s *BaseDotListener) EnterEdgeStmt(ctx *EdgeStmtContext)
- func (s *BaseDotListener) EnterEdgeop(ctx *EdgeopContext)
- func (s *BaseDotListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseDotListener) EnterGraph(ctx *GraphContext)
- func (s *BaseDotListener) EnterIdent(ctx *IdentContext)
- func (s *BaseDotListener) EnterNodeId(ctx *NodeIdContext)
- func (s *BaseDotListener) EnterNodeStmt(ctx *NodeStmtContext)
- func (s *BaseDotListener) EnterPort(ctx *PortContext)
- func (s *BaseDotListener) EnterStmt(ctx *StmtContext)
- func (s *BaseDotListener) EnterStmtList(ctx *StmtListContext)
- func (s *BaseDotListener) EnterSubgraph(ctx *SubgraphContext)
- func (s *BaseDotListener) ExitAList(ctx *AListContext)
- func (s *BaseDotListener) ExitAttrList(ctx *AttrListContext)
- func (s *BaseDotListener) ExitAttrStmt(ctx *AttrStmtContext)
- func (s *BaseDotListener) ExitEdgeRHS(ctx *EdgeRHSContext)
- func (s *BaseDotListener) ExitEdgeStmt(ctx *EdgeStmtContext)
- func (s *BaseDotListener) ExitEdgeop(ctx *EdgeopContext)
- func (s *BaseDotListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseDotListener) ExitGraph(ctx *GraphContext)
- func (s *BaseDotListener) ExitIdent(ctx *IdentContext)
- func (s *BaseDotListener) ExitNodeId(ctx *NodeIdContext)
- func (s *BaseDotListener) ExitNodeStmt(ctx *NodeStmtContext)
- func (s *BaseDotListener) ExitPort(ctx *PortContext)
- func (s *BaseDotListener) ExitStmt(ctx *StmtContext)
- func (s *BaseDotListener) ExitStmtList(ctx *StmtListContext)
- func (s *BaseDotListener) ExitSubgraph(ctx *SubgraphContext)
- func (s *BaseDotListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseDotListener) VisitTerminal(node antlr.TerminalNode)
- type BaseDotVisitor
- func (v *BaseDotVisitor) VisitAList(ctx *AListContext) any
- func (v *BaseDotVisitor) VisitAttrList(ctx *AttrListContext) any
- func (v *BaseDotVisitor) VisitAttrStmt(ctx *AttrStmtContext) any
- func (v *BaseDotVisitor) VisitEdgeRHS(ctx *EdgeRHSContext) any
- func (v *BaseDotVisitor) VisitEdgeStmt(ctx *EdgeStmtContext) any
- func (v *BaseDotVisitor) VisitEdgeop(ctx *EdgeopContext) any
- func (v *BaseDotVisitor) VisitGraph(ctx *GraphContext) any
- func (v *BaseDotVisitor) VisitIdent(ctx *IdentContext) any
- func (v *BaseDotVisitor) VisitNodeId(ctx *NodeIdContext) any
- func (v *BaseDotVisitor) VisitNodeStmt(ctx *NodeStmtContext) any
- func (v *BaseDotVisitor) VisitPort(ctx *PortContext) any
- func (v *BaseDotVisitor) VisitStmt(ctx *StmtContext) any
- func (v *BaseDotVisitor) VisitStmtList(ctx *StmtListContext) any
- func (v *BaseDotVisitor) VisitSubgraph(ctx *SubgraphContext) any
- type DotLexer
- type DotListener
- type DotParser
- func (p *DotParser) AList() (localctx IAListContext)
- func (p *DotParser) AttrList() (localctx IAttrListContext)
- func (p *DotParser) AttrStmt() (localctx IAttrStmtContext)
- func (p *DotParser) EdgeRHS() (localctx IEdgeRHSContext)
- func (p *DotParser) EdgeStmt() (localctx IEdgeStmtContext)
- func (p *DotParser) Edgeop() (localctx IEdgeopContext)
- func (p *DotParser) Graph() (localctx IGraphContext)
- func (p *DotParser) Ident() (localctx IIdentContext)
- func (p *DotParser) NodeId() (localctx INodeIdContext)
- func (p *DotParser) NodeStmt() (localctx INodeStmtContext)
- func (p *DotParser) Port() (localctx IPortContext)
- func (p *DotParser) Stmt() (localctx IStmtContext)
- func (p *DotParser) StmtList() (localctx IStmtListContext)
- func (p *DotParser) Subgraph() (localctx ISubgraphContext)
- type DotVisitor
- type EdgeRHSContext
- func (s *EdgeRHSContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EdgeRHSContext) AllEdgeop() []IEdgeopContext
- func (s *EdgeRHSContext) AllNodeId() []INodeIdContext
- func (s *EdgeRHSContext) AllSubgraph() []ISubgraphContext
- func (s *EdgeRHSContext) Edgeop(i int) IEdgeopContext
- func (s *EdgeRHSContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EdgeRHSContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EdgeRHSContext) GetParser() antlr.Parser
- func (s *EdgeRHSContext) GetRuleContext() antlr.RuleContext
- func (*EdgeRHSContext) IsEdgeRHSContext()
- func (s *EdgeRHSContext) NodeId(i int) INodeIdContext
- func (s *EdgeRHSContext) Subgraph(i int) ISubgraphContext
- func (s *EdgeRHSContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EdgeStmtContext
- func (s *EdgeStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EdgeStmtContext) AttrList() IAttrListContext
- func (s *EdgeStmtContext) EdgeRHS() IEdgeRHSContext
- func (s *EdgeStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EdgeStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EdgeStmtContext) GetParser() antlr.Parser
- func (s *EdgeStmtContext) GetRuleContext() antlr.RuleContext
- func (*EdgeStmtContext) IsEdgeStmtContext()
- func (s *EdgeStmtContext) NodeId() INodeIdContext
- func (s *EdgeStmtContext) Subgraph() ISubgraphContext
- func (s *EdgeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EdgeopContext
- func (s *EdgeopContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EdgeopContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EdgeopContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EdgeopContext) GetParser() antlr.Parser
- func (s *EdgeopContext) GetRuleContext() antlr.RuleContext
- func (*EdgeopContext) IsEdgeopContext()
- func (s *EdgeopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GraphContext
- func (s *GraphContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *GraphContext) DIGRAPH() antlr.TerminalNode
- func (s *GraphContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GraphContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GraphContext) GRAPH() antlr.TerminalNode
- func (s *GraphContext) GetParser() antlr.Parser
- func (s *GraphContext) GetRuleContext() antlr.RuleContext
- func (s *GraphContext) Ident() IIdentContext
- func (*GraphContext) IsGraphContext()
- func (s *GraphContext) STRICT() antlr.TerminalNode
- func (s *GraphContext) StmtList() IStmtListContext
- func (s *GraphContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAListContext
- type IAttrListContext
- type IAttrStmtContext
- type IEdgeRHSContext
- type IEdgeStmtContext
- type IEdgeopContext
- type IGraphContext
- type IIdentContext
- type INodeIdContext
- type INodeStmtContext
- type IPortContext
- type IStmtContext
- type IStmtListContext
- type ISubgraphContext
- type IdentContext
- func (s *IdentContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *IdentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentContext) GetParser() antlr.Parser
- func (s *IdentContext) GetRuleContext() antlr.RuleContext
- func (s *IdentContext) HTML_STRING() antlr.TerminalNode
- func (s *IdentContext) IDENT() antlr.TerminalNode
- func (*IdentContext) IsIdentContext()
- func (s *IdentContext) NUMBER() antlr.TerminalNode
- func (s *IdentContext) STRING() antlr.TerminalNode
- func (s *IdentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NodeIdContext
- func (s *NodeIdContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *NodeIdContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NodeIdContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NodeIdContext) GetParser() antlr.Parser
- func (s *NodeIdContext) GetRuleContext() antlr.RuleContext
- func (s *NodeIdContext) Ident() IIdentContext
- func (*NodeIdContext) IsNodeIdContext()
- func (s *NodeIdContext) Port() IPortContext
- func (s *NodeIdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NodeStmtContext
- func (s *NodeStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *NodeStmtContext) AttrList() IAttrListContext
- func (s *NodeStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NodeStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NodeStmtContext) GetParser() antlr.Parser
- func (s *NodeStmtContext) GetRuleContext() antlr.RuleContext
- func (*NodeStmtContext) IsNodeStmtContext()
- func (s *NodeStmtContext) NodeId() INodeIdContext
- func (s *NodeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PortContext
- func (s *PortContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *PortContext) AllIdent() []IIdentContext
- func (s *PortContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PortContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PortContext) GetParser() antlr.Parser
- func (s *PortContext) GetRuleContext() antlr.RuleContext
- func (s *PortContext) Ident(i int) IIdentContext
- func (*PortContext) IsPortContext()
- func (s *PortContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtContext
- func (s *StmtContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *StmtContext) AllIdent() []IIdentContext
- func (s *StmtContext) AttrStmt() IAttrStmtContext
- func (s *StmtContext) EdgeStmt() IEdgeStmtContext
- func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) GetParser() antlr.Parser
- func (s *StmtContext) GetRuleContext() antlr.RuleContext
- func (s *StmtContext) Ident(i int) IIdentContext
- func (*StmtContext) IsStmtContext()
- func (s *StmtContext) NodeStmt() INodeStmtContext
- func (s *StmtContext) Subgraph() ISubgraphContext
- func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtListContext
- func (s *StmtListContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *StmtListContext) AllStmt() []IStmtContext
- func (s *StmtListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtListContext) GetParser() antlr.Parser
- func (s *StmtListContext) GetRuleContext() antlr.RuleContext
- func (*StmtListContext) IsStmtListContext()
- func (s *StmtListContext) Stmt(i int) IStmtContext
- func (s *StmtListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubgraphContext
- func (s *SubgraphContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *SubgraphContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubgraphContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubgraphContext) GetParser() antlr.Parser
- func (s *SubgraphContext) GetRuleContext() antlr.RuleContext
- func (s *SubgraphContext) Ident() IIdentContext
- func (*SubgraphContext) IsSubgraphContext()
- func (s *SubgraphContext) SUBGRAPH() antlr.TerminalNode
- func (s *SubgraphContext) StmtList() IStmtListContext
- func (s *SubgraphContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( DotLexerT__0 = 1 DotLexerT__1 = 2 DotLexerT__2 = 3 DotLexerT__3 = 4 DotLexerT__4 = 5 DotLexerT__5 = 6 DotLexerT__6 = 7 DotLexerT__7 = 8 DotLexerT__8 = 9 DotLexerT__9 = 10 DotLexerSTRICT = 11 DotLexerGRAPH = 12 DotLexerDIGRAPH = 13 DotLexerNODE = 14 DotLexerEDGE = 15 DotLexerSUBGRAPH = 16 DotLexerNUMBER = 17 DotLexerSTRING = 18 DotLexerIDENT = 19 DotLexerHTML_STRING = 20 DotLexerCOMMENT = 21 DotLexerLINE_COMMENT = 22 DotLexerPREPROC = 23 DotLexerWS = 24 )
DotLexer tokens.
const ( DotParserEOF = antlr.TokenEOF DotParserT__0 = 1 DotParserT__1 = 2 DotParserT__2 = 3 DotParserT__3 = 4 DotParserT__4 = 5 DotParserT__5 = 6 DotParserT__6 = 7 DotParserT__7 = 8 DotParserT__8 = 9 DotParserT__9 = 10 DotParserSTRICT = 11 DotParserGRAPH = 12 DotParserDIGRAPH = 13 DotParserNODE = 14 DotParserEDGE = 15 DotParserSUBGRAPH = 16 DotParserNUMBER = 17 DotParserSTRING = 18 DotParserIDENT = 19 DotParserHTML_STRING = 20 DotParserCOMMENT = 21 DotParserLINE_COMMENT = 22 DotParserPREPROC = 23 DotParserWS = 24 )
DotParser tokens.
const ( DotParserRULE_graph = 0 DotParserRULE_stmtList = 1 DotParserRULE_stmt = 2 DotParserRULE_attrStmt = 3 DotParserRULE_attrList = 4 DotParserRULE_aList = 5 DotParserRULE_edgeStmt = 6 DotParserRULE_edgeRHS = 7 DotParserRULE_edgeop = 8 DotParserRULE_nodeStmt = 9 DotParserRULE_nodeId = 10 DotParserRULE_port = 11 DotParserRULE_subgraph = 12 DotParserRULE_ident = 13 )
DotParser rules.
Variables ¶
This section is empty.
Functions ¶
func DotLexerInit ¶
func DotLexerInit()
DotLexerInit initializes any static state used to implement DotLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewDotLexer(). You can call this function if you wish to initialize the static state ahead of time.
func DotParserInit ¶
func DotParserInit()
DotParserInit initializes any static state used to implement DotParser. By default the static state used to implement the parser is lazily initialized during the first call to NewDotParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AListContext ¶
type AListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAListContext ¶
func NewAListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AListContext
func NewEmptyAListContext ¶
func NewEmptyAListContext() *AListContext
func (*AListContext) Accept ¶
func (s *AListContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*AListContext) AllIdent ¶
func (s *AListContext) AllIdent() []IIdentContext
func (*AListContext) EnterRule ¶
func (s *AListContext) EnterRule(listener antlr.ParseTreeListener)
func (*AListContext) ExitRule ¶
func (s *AListContext) ExitRule(listener antlr.ParseTreeListener)
func (*AListContext) GetParser ¶
func (s *AListContext) GetParser() antlr.Parser
func (*AListContext) GetRuleContext ¶
func (s *AListContext) GetRuleContext() antlr.RuleContext
func (*AListContext) Ident ¶
func (s *AListContext) Ident(i int) IIdentContext
func (*AListContext) IsAListContext ¶
func (*AListContext) IsAListContext()
func (*AListContext) ToStringTree ¶
func (s *AListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AttrListContext ¶
type AttrListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAttrListContext ¶
func NewAttrListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttrListContext
func NewEmptyAttrListContext ¶
func NewEmptyAttrListContext() *AttrListContext
func (*AttrListContext) AList ¶
func (s *AttrListContext) AList(i int) IAListContext
func (*AttrListContext) Accept ¶
func (s *AttrListContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*AttrListContext) AllAList ¶
func (s *AttrListContext) AllAList() []IAListContext
func (*AttrListContext) EnterRule ¶
func (s *AttrListContext) EnterRule(listener antlr.ParseTreeListener)
func (*AttrListContext) ExitRule ¶
func (s *AttrListContext) ExitRule(listener antlr.ParseTreeListener)
func (*AttrListContext) GetParser ¶
func (s *AttrListContext) GetParser() antlr.Parser
func (*AttrListContext) GetRuleContext ¶
func (s *AttrListContext) GetRuleContext() antlr.RuleContext
func (*AttrListContext) IsAttrListContext ¶
func (*AttrListContext) IsAttrListContext()
func (*AttrListContext) ToStringTree ¶
func (s *AttrListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AttrStmtContext ¶
type AttrStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAttrStmtContext ¶
func NewAttrStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttrStmtContext
func NewEmptyAttrStmtContext ¶
func NewEmptyAttrStmtContext() *AttrStmtContext
func (*AttrStmtContext) Accept ¶
func (s *AttrStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*AttrStmtContext) AttrList ¶
func (s *AttrStmtContext) AttrList() IAttrListContext
func (*AttrStmtContext) EDGE ¶
func (s *AttrStmtContext) EDGE() antlr.TerminalNode
func (*AttrStmtContext) EnterRule ¶
func (s *AttrStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*AttrStmtContext) ExitRule ¶
func (s *AttrStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*AttrStmtContext) GRAPH ¶
func (s *AttrStmtContext) GRAPH() antlr.TerminalNode
func (*AttrStmtContext) GetParser ¶
func (s *AttrStmtContext) GetParser() antlr.Parser
func (*AttrStmtContext) GetRuleContext ¶
func (s *AttrStmtContext) GetRuleContext() antlr.RuleContext
func (*AttrStmtContext) IsAttrStmtContext ¶
func (*AttrStmtContext) IsAttrStmtContext()
func (*AttrStmtContext) NODE ¶
func (s *AttrStmtContext) NODE() antlr.TerminalNode
func (*AttrStmtContext) ToStringTree ¶
func (s *AttrStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseDotListener ¶
type BaseDotListener struct{}
BaseDotListener is a complete listener for a parse tree produced by DotParser.
func (*BaseDotListener) EnterAList ¶
func (s *BaseDotListener) EnterAList(ctx *AListContext)
EnterAList is called when production aList is entered.
func (*BaseDotListener) EnterAttrList ¶
func (s *BaseDotListener) EnterAttrList(ctx *AttrListContext)
EnterAttrList is called when production attrList is entered.
func (*BaseDotListener) EnterAttrStmt ¶
func (s *BaseDotListener) EnterAttrStmt(ctx *AttrStmtContext)
EnterAttrStmt is called when production attrStmt is entered.
func (*BaseDotListener) EnterEdgeRHS ¶
func (s *BaseDotListener) EnterEdgeRHS(ctx *EdgeRHSContext)
EnterEdgeRHS is called when production edgeRHS is entered.
func (*BaseDotListener) EnterEdgeStmt ¶
func (s *BaseDotListener) EnterEdgeStmt(ctx *EdgeStmtContext)
EnterEdgeStmt is called when production edgeStmt is entered.
func (*BaseDotListener) EnterEdgeop ¶
func (s *BaseDotListener) EnterEdgeop(ctx *EdgeopContext)
EnterEdgeop is called when production edgeop is entered.
func (*BaseDotListener) EnterEveryRule ¶
func (s *BaseDotListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseDotListener) EnterGraph ¶
func (s *BaseDotListener) EnterGraph(ctx *GraphContext)
EnterGraph is called when production graph is entered.
func (*BaseDotListener) EnterIdent ¶
func (s *BaseDotListener) EnterIdent(ctx *IdentContext)
EnterIdent is called when production ident is entered.
func (*BaseDotListener) EnterNodeId ¶
func (s *BaseDotListener) EnterNodeId(ctx *NodeIdContext)
EnterNodeId is called when production nodeId is entered.
func (*BaseDotListener) EnterNodeStmt ¶
func (s *BaseDotListener) EnterNodeStmt(ctx *NodeStmtContext)
EnterNodeStmt is called when production nodeStmt is entered.
func (*BaseDotListener) EnterPort ¶
func (s *BaseDotListener) EnterPort(ctx *PortContext)
EnterPort is called when production port is entered.
func (*BaseDotListener) EnterStmt ¶
func (s *BaseDotListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BaseDotListener) EnterStmtList ¶
func (s *BaseDotListener) EnterStmtList(ctx *StmtListContext)
EnterStmtList is called when production stmtList is entered.
func (*BaseDotListener) EnterSubgraph ¶
func (s *BaseDotListener) EnterSubgraph(ctx *SubgraphContext)
EnterSubgraph is called when production subgraph is entered.
func (*BaseDotListener) ExitAList ¶
func (s *BaseDotListener) ExitAList(ctx *AListContext)
ExitAList is called when production aList is exited.
func (*BaseDotListener) ExitAttrList ¶
func (s *BaseDotListener) ExitAttrList(ctx *AttrListContext)
ExitAttrList is called when production attrList is exited.
func (*BaseDotListener) ExitAttrStmt ¶
func (s *BaseDotListener) ExitAttrStmt(ctx *AttrStmtContext)
ExitAttrStmt is called when production attrStmt is exited.
func (*BaseDotListener) ExitEdgeRHS ¶
func (s *BaseDotListener) ExitEdgeRHS(ctx *EdgeRHSContext)
ExitEdgeRHS is called when production edgeRHS is exited.
func (*BaseDotListener) ExitEdgeStmt ¶
func (s *BaseDotListener) ExitEdgeStmt(ctx *EdgeStmtContext)
ExitEdgeStmt is called when production edgeStmt is exited.
func (*BaseDotListener) ExitEdgeop ¶
func (s *BaseDotListener) ExitEdgeop(ctx *EdgeopContext)
ExitEdgeop is called when production edgeop is exited.
func (*BaseDotListener) ExitEveryRule ¶
func (s *BaseDotListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseDotListener) ExitGraph ¶
func (s *BaseDotListener) ExitGraph(ctx *GraphContext)
ExitGraph is called when production graph is exited.
func (*BaseDotListener) ExitIdent ¶
func (s *BaseDotListener) ExitIdent(ctx *IdentContext)
ExitIdent is called when production ident is exited.
func (*BaseDotListener) ExitNodeId ¶
func (s *BaseDotListener) ExitNodeId(ctx *NodeIdContext)
ExitNodeId is called when production nodeId is exited.
func (*BaseDotListener) ExitNodeStmt ¶
func (s *BaseDotListener) ExitNodeStmt(ctx *NodeStmtContext)
ExitNodeStmt is called when production nodeStmt is exited.
func (*BaseDotListener) ExitPort ¶
func (s *BaseDotListener) ExitPort(ctx *PortContext)
ExitPort is called when production port is exited.
func (*BaseDotListener) ExitStmt ¶
func (s *BaseDotListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BaseDotListener) ExitStmtList ¶
func (s *BaseDotListener) ExitStmtList(ctx *StmtListContext)
ExitStmtList is called when production stmtList is exited.
func (*BaseDotListener) ExitSubgraph ¶
func (s *BaseDotListener) ExitSubgraph(ctx *SubgraphContext)
ExitSubgraph is called when production subgraph is exited.
func (*BaseDotListener) VisitErrorNode ¶
func (s *BaseDotListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseDotListener) VisitTerminal ¶
func (s *BaseDotListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseDotVisitor ¶
type BaseDotVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseDotVisitor) VisitAList ¶
func (v *BaseDotVisitor) VisitAList(ctx *AListContext) any
func (*BaseDotVisitor) VisitAttrList ¶
func (v *BaseDotVisitor) VisitAttrList(ctx *AttrListContext) any
func (*BaseDotVisitor) VisitAttrStmt ¶
func (v *BaseDotVisitor) VisitAttrStmt(ctx *AttrStmtContext) any
func (*BaseDotVisitor) VisitEdgeRHS ¶
func (v *BaseDotVisitor) VisitEdgeRHS(ctx *EdgeRHSContext) any
func (*BaseDotVisitor) VisitEdgeStmt ¶
func (v *BaseDotVisitor) VisitEdgeStmt(ctx *EdgeStmtContext) any
func (*BaseDotVisitor) VisitEdgeop ¶
func (v *BaseDotVisitor) VisitEdgeop(ctx *EdgeopContext) any
func (*BaseDotVisitor) VisitGraph ¶
func (v *BaseDotVisitor) VisitGraph(ctx *GraphContext) any
func (*BaseDotVisitor) VisitIdent ¶
func (v *BaseDotVisitor) VisitIdent(ctx *IdentContext) any
func (*BaseDotVisitor) VisitNodeId ¶
func (v *BaseDotVisitor) VisitNodeId(ctx *NodeIdContext) any
func (*BaseDotVisitor) VisitNodeStmt ¶
func (v *BaseDotVisitor) VisitNodeStmt(ctx *NodeStmtContext) any
func (*BaseDotVisitor) VisitPort ¶
func (v *BaseDotVisitor) VisitPort(ctx *PortContext) any
func (*BaseDotVisitor) VisitStmt ¶
func (v *BaseDotVisitor) VisitStmt(ctx *StmtContext) any
func (*BaseDotVisitor) VisitStmtList ¶
func (v *BaseDotVisitor) VisitStmtList(ctx *StmtListContext) any
func (*BaseDotVisitor) VisitSubgraph ¶
func (v *BaseDotVisitor) VisitSubgraph(ctx *SubgraphContext) any
type DotLexer ¶
func NewDotLexer ¶
func NewDotLexer(input antlr.CharStream) *DotLexer
NewDotLexer produces a new lexer instance for the optional input antlr.CharStream.
type DotListener ¶
type DotListener interface { antlr.ParseTreeListener // EnterGraph is called when entering the graph production. EnterGraph(c *GraphContext) // EnterStmtList is called when entering the stmtList production. EnterStmtList(c *StmtListContext) // EnterStmt is called when entering the stmt production. EnterStmt(c *StmtContext) // EnterAttrStmt is called when entering the attrStmt production. EnterAttrStmt(c *AttrStmtContext) // EnterAttrList is called when entering the attrList production. EnterAttrList(c *AttrListContext) // EnterAList is called when entering the aList production. EnterAList(c *AListContext) // EnterEdgeStmt is called when entering the edgeStmt production. EnterEdgeStmt(c *EdgeStmtContext) // EnterEdgeRHS is called when entering the edgeRHS production. EnterEdgeRHS(c *EdgeRHSContext) // EnterEdgeop is called when entering the edgeop production. EnterEdgeop(c *EdgeopContext) // EnterNodeStmt is called when entering the nodeStmt production. EnterNodeStmt(c *NodeStmtContext) // EnterNodeId is called when entering the nodeId production. EnterNodeId(c *NodeIdContext) // EnterPort is called when entering the port production. EnterPort(c *PortContext) // EnterSubgraph is called when entering the subgraph production. EnterSubgraph(c *SubgraphContext) // EnterIdent is called when entering the ident production. EnterIdent(c *IdentContext) // ExitGraph is called when exiting the graph production. ExitGraph(c *GraphContext) // ExitStmtList is called when exiting the stmtList production. ExitStmtList(c *StmtListContext) // ExitStmt is called when exiting the stmt production. ExitStmt(c *StmtContext) // ExitAttrStmt is called when exiting the attrStmt production. ExitAttrStmt(c *AttrStmtContext) // ExitAttrList is called when exiting the attrList production. ExitAttrList(c *AttrListContext) // ExitAList is called when exiting the aList production. ExitAList(c *AListContext) // ExitEdgeStmt is called when exiting the edgeStmt production. ExitEdgeStmt(c *EdgeStmtContext) // ExitEdgeRHS is called when exiting the edgeRHS production. ExitEdgeRHS(c *EdgeRHSContext) // ExitEdgeop is called when exiting the edgeop production. ExitEdgeop(c *EdgeopContext) // ExitNodeStmt is called when exiting the nodeStmt production. ExitNodeStmt(c *NodeStmtContext) // ExitNodeId is called when exiting the nodeId production. ExitNodeId(c *NodeIdContext) // ExitPort is called when exiting the port production. ExitPort(c *PortContext) // ExitSubgraph is called when exiting the subgraph production. ExitSubgraph(c *SubgraphContext) // ExitIdent is called when exiting the ident production. ExitIdent(c *IdentContext) }
DotListener is a complete listener for a parse tree produced by DotParser.
type DotParser ¶
type DotParser struct {
*antlr.BaseParser
}
func NewDotParser ¶
func NewDotParser(input antlr.TokenStream) *DotParser
NewDotParser produces a new parser instance for the optional input antlr.TokenStream.
func (*DotParser) AList ¶
func (p *DotParser) AList() (localctx IAListContext)
func (*DotParser) AttrList ¶
func (p *DotParser) AttrList() (localctx IAttrListContext)
func (*DotParser) AttrStmt ¶
func (p *DotParser) AttrStmt() (localctx IAttrStmtContext)
func (*DotParser) EdgeRHS ¶
func (p *DotParser) EdgeRHS() (localctx IEdgeRHSContext)
func (*DotParser) EdgeStmt ¶
func (p *DotParser) EdgeStmt() (localctx IEdgeStmtContext)
func (*DotParser) Edgeop ¶
func (p *DotParser) Edgeop() (localctx IEdgeopContext)
func (*DotParser) Graph ¶
func (p *DotParser) Graph() (localctx IGraphContext)
func (*DotParser) Ident ¶
func (p *DotParser) Ident() (localctx IIdentContext)
func (*DotParser) NodeId ¶
func (p *DotParser) NodeId() (localctx INodeIdContext)
func (*DotParser) NodeStmt ¶
func (p *DotParser) NodeStmt() (localctx INodeStmtContext)
func (*DotParser) Port ¶
func (p *DotParser) Port() (localctx IPortContext)
func (*DotParser) Stmt ¶
func (p *DotParser) Stmt() (localctx IStmtContext)
func (*DotParser) StmtList ¶
func (p *DotParser) StmtList() (localctx IStmtListContext)
func (*DotParser) Subgraph ¶
func (p *DotParser) Subgraph() (localctx ISubgraphContext)
type DotVisitor ¶
type DotVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by DotParser#graph. VisitGraph(ctx *GraphContext) any // Visit a parse tree produced by DotParser#stmtList. VisitStmtList(ctx *StmtListContext) any // Visit a parse tree produced by DotParser#stmt. VisitStmt(ctx *StmtContext) any // Visit a parse tree produced by DotParser#attrStmt. VisitAttrStmt(ctx *AttrStmtContext) any // Visit a parse tree produced by DotParser#attrList. VisitAttrList(ctx *AttrListContext) any // Visit a parse tree produced by DotParser#aList. VisitAList(ctx *AListContext) any // Visit a parse tree produced by DotParser#edgeStmt. VisitEdgeStmt(ctx *EdgeStmtContext) any // Visit a parse tree produced by DotParser#edgeRHS. VisitEdgeRHS(ctx *EdgeRHSContext) any // Visit a parse tree produced by DotParser#edgeop. VisitEdgeop(ctx *EdgeopContext) any // Visit a parse tree produced by DotParser#nodeStmt. VisitNodeStmt(ctx *NodeStmtContext) any // Visit a parse tree produced by DotParser#nodeId. VisitNodeId(ctx *NodeIdContext) any // Visit a parse tree produced by DotParser#port. VisitPort(ctx *PortContext) any // Visit a parse tree produced by DotParser#subgraph. VisitSubgraph(ctx *SubgraphContext) any // Visit a parse tree produced by DotParser#ident. VisitIdent(ctx *IdentContext) any }
A complete Visitor for a parse tree produced by DotParser.
type EdgeRHSContext ¶
type EdgeRHSContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEdgeRHSContext ¶
func NewEdgeRHSContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EdgeRHSContext
func NewEmptyEdgeRHSContext ¶
func NewEmptyEdgeRHSContext() *EdgeRHSContext
func (*EdgeRHSContext) Accept ¶
func (s *EdgeRHSContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EdgeRHSContext) AllEdgeop ¶
func (s *EdgeRHSContext) AllEdgeop() []IEdgeopContext
func (*EdgeRHSContext) AllNodeId ¶
func (s *EdgeRHSContext) AllNodeId() []INodeIdContext
func (*EdgeRHSContext) AllSubgraph ¶
func (s *EdgeRHSContext) AllSubgraph() []ISubgraphContext
func (*EdgeRHSContext) Edgeop ¶
func (s *EdgeRHSContext) Edgeop(i int) IEdgeopContext
func (*EdgeRHSContext) EnterRule ¶
func (s *EdgeRHSContext) EnterRule(listener antlr.ParseTreeListener)
func (*EdgeRHSContext) ExitRule ¶
func (s *EdgeRHSContext) ExitRule(listener antlr.ParseTreeListener)
func (*EdgeRHSContext) GetParser ¶
func (s *EdgeRHSContext) GetParser() antlr.Parser
func (*EdgeRHSContext) GetRuleContext ¶
func (s *EdgeRHSContext) GetRuleContext() antlr.RuleContext
func (*EdgeRHSContext) IsEdgeRHSContext ¶
func (*EdgeRHSContext) IsEdgeRHSContext()
func (*EdgeRHSContext) NodeId ¶
func (s *EdgeRHSContext) NodeId(i int) INodeIdContext
func (*EdgeRHSContext) Subgraph ¶
func (s *EdgeRHSContext) Subgraph(i int) ISubgraphContext
func (*EdgeRHSContext) ToStringTree ¶
func (s *EdgeRHSContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EdgeStmtContext ¶
type EdgeStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEdgeStmtContext ¶
func NewEdgeStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EdgeStmtContext
func NewEmptyEdgeStmtContext ¶
func NewEmptyEdgeStmtContext() *EdgeStmtContext
func (*EdgeStmtContext) Accept ¶
func (s *EdgeStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EdgeStmtContext) AttrList ¶
func (s *EdgeStmtContext) AttrList() IAttrListContext
func (*EdgeStmtContext) EdgeRHS ¶
func (s *EdgeStmtContext) EdgeRHS() IEdgeRHSContext
func (*EdgeStmtContext) EnterRule ¶
func (s *EdgeStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*EdgeStmtContext) ExitRule ¶
func (s *EdgeStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*EdgeStmtContext) GetParser ¶
func (s *EdgeStmtContext) GetParser() antlr.Parser
func (*EdgeStmtContext) GetRuleContext ¶
func (s *EdgeStmtContext) GetRuleContext() antlr.RuleContext
func (*EdgeStmtContext) IsEdgeStmtContext ¶
func (*EdgeStmtContext) IsEdgeStmtContext()
func (*EdgeStmtContext) NodeId ¶
func (s *EdgeStmtContext) NodeId() INodeIdContext
func (*EdgeStmtContext) Subgraph ¶
func (s *EdgeStmtContext) Subgraph() ISubgraphContext
func (*EdgeStmtContext) ToStringTree ¶
func (s *EdgeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EdgeopContext ¶
type EdgeopContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEdgeopContext ¶
func NewEdgeopContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EdgeopContext
func NewEmptyEdgeopContext ¶
func NewEmptyEdgeopContext() *EdgeopContext
func (*EdgeopContext) Accept ¶
func (s *EdgeopContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EdgeopContext) EnterRule ¶
func (s *EdgeopContext) EnterRule(listener antlr.ParseTreeListener)
func (*EdgeopContext) ExitRule ¶
func (s *EdgeopContext) ExitRule(listener antlr.ParseTreeListener)
func (*EdgeopContext) GetParser ¶
func (s *EdgeopContext) GetParser() antlr.Parser
func (*EdgeopContext) GetRuleContext ¶
func (s *EdgeopContext) GetRuleContext() antlr.RuleContext
func (*EdgeopContext) IsEdgeopContext ¶
func (*EdgeopContext) IsEdgeopContext()
func (*EdgeopContext) ToStringTree ¶
func (s *EdgeopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GraphContext ¶
type GraphContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGraphContext ¶
func NewEmptyGraphContext() *GraphContext
func NewGraphContext ¶
func NewGraphContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GraphContext
func (*GraphContext) Accept ¶
func (s *GraphContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*GraphContext) DIGRAPH ¶
func (s *GraphContext) DIGRAPH() antlr.TerminalNode
func (*GraphContext) EnterRule ¶
func (s *GraphContext) EnterRule(listener antlr.ParseTreeListener)
func (*GraphContext) ExitRule ¶
func (s *GraphContext) ExitRule(listener antlr.ParseTreeListener)
func (*GraphContext) GRAPH ¶
func (s *GraphContext) GRAPH() antlr.TerminalNode
func (*GraphContext) GetParser ¶
func (s *GraphContext) GetParser() antlr.Parser
func (*GraphContext) GetRuleContext ¶
func (s *GraphContext) GetRuleContext() antlr.RuleContext
func (*GraphContext) Ident ¶
func (s *GraphContext) Ident() IIdentContext
func (*GraphContext) IsGraphContext ¶
func (*GraphContext) IsGraphContext()
func (*GraphContext) STRICT ¶
func (s *GraphContext) STRICT() antlr.TerminalNode
func (*GraphContext) StmtList ¶
func (s *GraphContext) StmtList() IStmtListContext
func (*GraphContext) ToStringTree ¶
func (s *GraphContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAListContext ¶
type IAListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIdent() []IIdentContext Ident(i int) IIdentContext // IsAListContext differentiates from other interfaces. IsAListContext() }
IAListContext is an interface to support dynamic dispatch.
type IAttrListContext ¶
type IAttrListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllAList() []IAListContext AList(i int) IAListContext // IsAttrListContext differentiates from other interfaces. IsAttrListContext() }
IAttrListContext is an interface to support dynamic dispatch.
type IAttrStmtContext ¶
type IAttrStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AttrList() IAttrListContext GRAPH() antlr.TerminalNode NODE() antlr.TerminalNode EDGE() antlr.TerminalNode // IsAttrStmtContext differentiates from other interfaces. IsAttrStmtContext() }
IAttrStmtContext is an interface to support dynamic dispatch.
type IEdgeRHSContext ¶
type IEdgeRHSContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllEdgeop() []IEdgeopContext Edgeop(i int) IEdgeopContext AllNodeId() []INodeIdContext NodeId(i int) INodeIdContext AllSubgraph() []ISubgraphContext Subgraph(i int) ISubgraphContext // IsEdgeRHSContext differentiates from other interfaces. IsEdgeRHSContext() }
IEdgeRHSContext is an interface to support dynamic dispatch.
type IEdgeStmtContext ¶
type IEdgeStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EdgeRHS() IEdgeRHSContext NodeId() INodeIdContext Subgraph() ISubgraphContext AttrList() IAttrListContext // IsEdgeStmtContext differentiates from other interfaces. IsEdgeStmtContext() }
IEdgeStmtContext is an interface to support dynamic dispatch.
type IEdgeopContext ¶
type IEdgeopContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEdgeopContext differentiates from other interfaces. IsEdgeopContext() }
IEdgeopContext is an interface to support dynamic dispatch.
type IGraphContext ¶
type IGraphContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures StmtList() IStmtListContext GRAPH() antlr.TerminalNode DIGRAPH() antlr.TerminalNode STRICT() antlr.TerminalNode Ident() IIdentContext // IsGraphContext differentiates from other interfaces. IsGraphContext() }
IGraphContext is an interface to support dynamic dispatch.
type IIdentContext ¶
type IIdentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode STRING() antlr.TerminalNode HTML_STRING() antlr.TerminalNode NUMBER() antlr.TerminalNode // IsIdentContext differentiates from other interfaces. IsIdentContext() }
IIdentContext is an interface to support dynamic dispatch.
type INodeIdContext ¶
type INodeIdContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Ident() IIdentContext Port() IPortContext // IsNodeIdContext differentiates from other interfaces. IsNodeIdContext() }
INodeIdContext is an interface to support dynamic dispatch.
type INodeStmtContext ¶
type INodeStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NodeId() INodeIdContext AttrList() IAttrListContext // IsNodeStmtContext differentiates from other interfaces. IsNodeStmtContext() }
INodeStmtContext is an interface to support dynamic dispatch.
type IPortContext ¶
type IPortContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIdent() []IIdentContext Ident(i int) IIdentContext // IsPortContext differentiates from other interfaces. IsPortContext() }
IPortContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NodeStmt() INodeStmtContext EdgeStmt() IEdgeStmtContext AttrStmt() IAttrStmtContext AllIdent() []IIdentContext Ident(i int) IIdentContext Subgraph() ISubgraphContext // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type IStmtListContext ¶
type IStmtListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllStmt() []IStmtContext Stmt(i int) IStmtContext // IsStmtListContext differentiates from other interfaces. IsStmtListContext() }
IStmtListContext is an interface to support dynamic dispatch.
type ISubgraphContext ¶
type ISubgraphContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures StmtList() IStmtListContext SUBGRAPH() antlr.TerminalNode Ident() IIdentContext // IsSubgraphContext differentiates from other interfaces. IsSubgraphContext() }
ISubgraphContext is an interface to support dynamic dispatch.
type IdentContext ¶
type IdentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentContext ¶
func NewEmptyIdentContext() *IdentContext
func NewIdentContext ¶
func NewIdentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentContext
func (*IdentContext) Accept ¶
func (s *IdentContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*IdentContext) EnterRule ¶
func (s *IdentContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentContext) ExitRule ¶
func (s *IdentContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdentContext) GetParser ¶
func (s *IdentContext) GetParser() antlr.Parser
func (*IdentContext) GetRuleContext ¶
func (s *IdentContext) GetRuleContext() antlr.RuleContext
func (*IdentContext) HTML_STRING ¶
func (s *IdentContext) HTML_STRING() antlr.TerminalNode
func (*IdentContext) IDENT ¶
func (s *IdentContext) IDENT() antlr.TerminalNode
func (*IdentContext) IsIdentContext ¶
func (*IdentContext) IsIdentContext()
func (*IdentContext) NUMBER ¶
func (s *IdentContext) NUMBER() antlr.TerminalNode
func (*IdentContext) STRING ¶
func (s *IdentContext) STRING() antlr.TerminalNode
func (*IdentContext) ToStringTree ¶
func (s *IdentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NodeIdContext ¶
type NodeIdContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNodeIdContext ¶
func NewEmptyNodeIdContext() *NodeIdContext
func NewNodeIdContext ¶
func NewNodeIdContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NodeIdContext
func (*NodeIdContext) Accept ¶
func (s *NodeIdContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*NodeIdContext) EnterRule ¶
func (s *NodeIdContext) EnterRule(listener antlr.ParseTreeListener)
func (*NodeIdContext) ExitRule ¶
func (s *NodeIdContext) ExitRule(listener antlr.ParseTreeListener)
func (*NodeIdContext) GetParser ¶
func (s *NodeIdContext) GetParser() antlr.Parser
func (*NodeIdContext) GetRuleContext ¶
func (s *NodeIdContext) GetRuleContext() antlr.RuleContext
func (*NodeIdContext) Ident ¶
func (s *NodeIdContext) Ident() IIdentContext
func (*NodeIdContext) IsNodeIdContext ¶
func (*NodeIdContext) IsNodeIdContext()
func (*NodeIdContext) Port ¶
func (s *NodeIdContext) Port() IPortContext
func (*NodeIdContext) ToStringTree ¶
func (s *NodeIdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NodeStmtContext ¶
type NodeStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNodeStmtContext ¶
func NewEmptyNodeStmtContext() *NodeStmtContext
func NewNodeStmtContext ¶
func NewNodeStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NodeStmtContext
func (*NodeStmtContext) Accept ¶
func (s *NodeStmtContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*NodeStmtContext) AttrList ¶
func (s *NodeStmtContext) AttrList() IAttrListContext
func (*NodeStmtContext) EnterRule ¶
func (s *NodeStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*NodeStmtContext) ExitRule ¶
func (s *NodeStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*NodeStmtContext) GetParser ¶
func (s *NodeStmtContext) GetParser() antlr.Parser
func (*NodeStmtContext) GetRuleContext ¶
func (s *NodeStmtContext) GetRuleContext() antlr.RuleContext
func (*NodeStmtContext) IsNodeStmtContext ¶
func (*NodeStmtContext) IsNodeStmtContext()
func (*NodeStmtContext) NodeId ¶
func (s *NodeStmtContext) NodeId() INodeIdContext
func (*NodeStmtContext) ToStringTree ¶
func (s *NodeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PortContext ¶
type PortContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPortContext ¶
func NewEmptyPortContext() *PortContext
func NewPortContext ¶
func NewPortContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PortContext
func (*PortContext) Accept ¶
func (s *PortContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*PortContext) AllIdent ¶
func (s *PortContext) AllIdent() []IIdentContext
func (*PortContext) EnterRule ¶
func (s *PortContext) EnterRule(listener antlr.ParseTreeListener)
func (*PortContext) ExitRule ¶
func (s *PortContext) ExitRule(listener antlr.ParseTreeListener)
func (*PortContext) GetParser ¶
func (s *PortContext) GetParser() antlr.Parser
func (*PortContext) GetRuleContext ¶
func (s *PortContext) GetRuleContext() antlr.RuleContext
func (*PortContext) Ident ¶
func (s *PortContext) Ident(i int) IIdentContext
func (*PortContext) IsPortContext ¶
func (*PortContext) IsPortContext()
func (*PortContext) ToStringTree ¶
func (s *PortContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtContext ¶
type StmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtContext ¶
func NewEmptyStmtContext() *StmtContext
func NewStmtContext ¶
func NewStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtContext
func (*StmtContext) Accept ¶
func (s *StmtContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*StmtContext) AllIdent ¶
func (s *StmtContext) AllIdent() []IIdentContext
func (*StmtContext) AttrStmt ¶
func (s *StmtContext) AttrStmt() IAttrStmtContext
func (*StmtContext) EdgeStmt ¶
func (s *StmtContext) EdgeStmt() IEdgeStmtContext
func (*StmtContext) EnterRule ¶
func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtContext) ExitRule ¶
func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtContext) GetParser ¶
func (s *StmtContext) GetParser() antlr.Parser
func (*StmtContext) GetRuleContext ¶
func (s *StmtContext) GetRuleContext() antlr.RuleContext
func (*StmtContext) Ident ¶
func (s *StmtContext) Ident(i int) IIdentContext
func (*StmtContext) IsStmtContext ¶
func (*StmtContext) IsStmtContext()
func (*StmtContext) NodeStmt ¶
func (s *StmtContext) NodeStmt() INodeStmtContext
func (*StmtContext) Subgraph ¶
func (s *StmtContext) Subgraph() ISubgraphContext
func (*StmtContext) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtListContext ¶
type StmtListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtListContext ¶
func NewEmptyStmtListContext() *StmtListContext
func NewStmtListContext ¶
func NewStmtListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtListContext
func (*StmtListContext) Accept ¶
func (s *StmtListContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*StmtListContext) AllStmt ¶
func (s *StmtListContext) AllStmt() []IStmtContext
func (*StmtListContext) EnterRule ¶
func (s *StmtListContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtListContext) ExitRule ¶
func (s *StmtListContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtListContext) GetParser ¶
func (s *StmtListContext) GetParser() antlr.Parser
func (*StmtListContext) GetRuleContext ¶
func (s *StmtListContext) GetRuleContext() antlr.RuleContext
func (*StmtListContext) IsStmtListContext ¶
func (*StmtListContext) IsStmtListContext()
func (*StmtListContext) Stmt ¶
func (s *StmtListContext) Stmt(i int) IStmtContext
func (*StmtListContext) ToStringTree ¶
func (s *StmtListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubgraphContext ¶
type SubgraphContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubgraphContext ¶
func NewEmptySubgraphContext() *SubgraphContext
func NewSubgraphContext ¶
func NewSubgraphContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubgraphContext
func (*SubgraphContext) Accept ¶
func (s *SubgraphContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*SubgraphContext) EnterRule ¶
func (s *SubgraphContext) EnterRule(listener antlr.ParseTreeListener)
func (*SubgraphContext) ExitRule ¶
func (s *SubgraphContext) ExitRule(listener antlr.ParseTreeListener)
func (*SubgraphContext) GetParser ¶
func (s *SubgraphContext) GetParser() antlr.Parser
func (*SubgraphContext) GetRuleContext ¶
func (s *SubgraphContext) GetRuleContext() antlr.RuleContext
func (*SubgraphContext) Ident ¶
func (s *SubgraphContext) Ident() IIdentContext
func (*SubgraphContext) IsSubgraphContext ¶
func (*SubgraphContext) IsSubgraphContext()
func (*SubgraphContext) SUBGRAPH ¶
func (s *SubgraphContext) SUBGRAPH() antlr.TerminalNode
func (*SubgraphContext) StmtList ¶
func (s *SubgraphContext) StmtList() IStmtListContext
func (*SubgraphContext) ToStringTree ¶
func (s *SubgraphContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string