Documentation ¶
Index ¶
- Constants
- type AgeLexer
- type AgeListener
- type AgeParser
- func (p *AgeParser) Ageout() (localctx IAgeoutContext)
- func (p *AgeParser) Arr() (localctx IArrContext)
- func (p *AgeParser) Edge() (localctx IEdgeContext)
- func (p *AgeParser) Pair() (localctx IPairContext)
- func (p *AgeParser) Path() (localctx IPathContext)
- func (p *AgeParser) Properties() (localctx IPropertiesContext)
- func (p *AgeParser) Value() (localctx IValueContext)
- func (p *AgeParser) Vertex() (localctx IVertexContext)
- type AgeVisitor
- type AgeoutContext
- func (s *AgeoutContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AgeoutContext) Edge() IEdgeContext
- func (s *AgeoutContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AgeoutContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AgeoutContext) GetParser() antlr.Parser
- func (s *AgeoutContext) GetRuleContext() antlr.RuleContext
- func (*AgeoutContext) IsAgeoutContext()
- func (s *AgeoutContext) Path() IPathContext
- func (s *AgeoutContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AgeoutContext) Value() IValueContext
- func (s *AgeoutContext) Vertex() IVertexContext
- type ArrContext
- func (s *ArrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrContext) AllValue() []IValueContext
- func (s *ArrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrContext) GetParser() antlr.Parser
- func (s *ArrContext) GetRuleContext() antlr.RuleContext
- func (*ArrContext) IsArrContext()
- func (s *ArrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArrContext) Value(i int) IValueContext
- type BaseAgeListener
- func (s *BaseAgeListener) EnterAgeout(ctx *AgeoutContext)
- func (s *BaseAgeListener) EnterArr(ctx *ArrContext)
- func (s *BaseAgeListener) EnterEdge(ctx *EdgeContext)
- func (s *BaseAgeListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseAgeListener) EnterPair(ctx *PairContext)
- func (s *BaseAgeListener) EnterPath(ctx *PathContext)
- func (s *BaseAgeListener) EnterProperties(ctx *PropertiesContext)
- func (s *BaseAgeListener) EnterValue(ctx *ValueContext)
- func (s *BaseAgeListener) EnterVertex(ctx *VertexContext)
- func (s *BaseAgeListener) ExitAgeout(ctx *AgeoutContext)
- func (s *BaseAgeListener) ExitArr(ctx *ArrContext)
- func (s *BaseAgeListener) ExitEdge(ctx *EdgeContext)
- func (s *BaseAgeListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseAgeListener) ExitPair(ctx *PairContext)
- func (s *BaseAgeListener) ExitPath(ctx *PathContext)
- func (s *BaseAgeListener) ExitProperties(ctx *PropertiesContext)
- func (s *BaseAgeListener) ExitValue(ctx *ValueContext)
- func (s *BaseAgeListener) ExitVertex(ctx *VertexContext)
- func (s *BaseAgeListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseAgeListener) VisitTerminal(node antlr.TerminalNode)
- type BaseAgeVisitor
- func (v *BaseAgeVisitor) VisitAgeout(ctx *AgeoutContext) interface{}
- func (v *BaseAgeVisitor) VisitArr(ctx *ArrContext) interface{}
- func (v *BaseAgeVisitor) VisitEdge(ctx *EdgeContext) interface{}
- func (v *BaseAgeVisitor) VisitPair(ctx *PairContext) interface{}
- func (v *BaseAgeVisitor) VisitPath(ctx *PathContext) interface{}
- func (v *BaseAgeVisitor) VisitProperties(ctx *PropertiesContext) interface{}
- func (v *BaseAgeVisitor) VisitValue(ctx *ValueContext) interface{}
- func (v *BaseAgeVisitor) VisitVertex(ctx *VertexContext) interface{}
- type EdgeContext
- func (s *EdgeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EdgeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EdgeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EdgeContext) GetParser() antlr.Parser
- func (s *EdgeContext) GetRuleContext() antlr.RuleContext
- func (*EdgeContext) IsEdgeContext()
- func (s *EdgeContext) KW_EDGE() antlr.TerminalNode
- func (s *EdgeContext) Properties() IPropertiesContext
- func (s *EdgeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAgeoutContext
- type IArrContext
- type IEdgeContext
- type IPairContext
- type IPathContext
- type IPropertiesContext
- type IValueContext
- type IVertexContext
- type PairContext
- func (s *PairContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PairContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PairContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PairContext) GetParser() antlr.Parser
- func (s *PairContext) GetRuleContext() antlr.RuleContext
- func (*PairContext) IsPairContext()
- func (s *PairContext) STRING() antlr.TerminalNode
- func (s *PairContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *PairContext) Value() IValueContext
- type PathContext
- func (s *PathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PathContext) AllEdge() []IEdgeContext
- func (s *PathContext) AllVertex() []IVertexContext
- func (s *PathContext) Edge(i int) IEdgeContext
- func (s *PathContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PathContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PathContext) GetParser() antlr.Parser
- func (s *PathContext) GetRuleContext() antlr.RuleContext
- func (*PathContext) IsPathContext()
- func (s *PathContext) KW_PATH() antlr.TerminalNode
- func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *PathContext) Vertex(i int) IVertexContext
- type PropertiesContext
- func (s *PropertiesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PropertiesContext) AllPair() []IPairContext
- func (s *PropertiesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PropertiesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PropertiesContext) GetParser() antlr.Parser
- func (s *PropertiesContext) GetRuleContext() antlr.RuleContext
- func (*PropertiesContext) IsPropertiesContext()
- func (s *PropertiesContext) Pair(i int) IPairContext
- func (s *PropertiesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueContext
- func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ValueContext) Arr() IArrContext
- func (s *ValueContext) BOOL() antlr.TerminalNode
- func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) FLOAT_EXPR() antlr.TerminalNode
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) NULL() antlr.TerminalNode
- func (s *ValueContext) NUMBER() antlr.TerminalNode
- func (s *ValueContext) NUMERIC() antlr.TerminalNode
- func (s *ValueContext) Properties() IPropertiesContext
- func (s *ValueContext) STRING() antlr.TerminalNode
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VertexContext
- func (s *VertexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VertexContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VertexContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VertexContext) GetParser() antlr.Parser
- func (s *VertexContext) GetRuleContext() antlr.RuleContext
- func (*VertexContext) IsVertexContext()
- func (s *VertexContext) KW_VERTEX() antlr.TerminalNode
- func (s *VertexContext) Properties() IPropertiesContext
- func (s *VertexContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( AgeLexerT__0 = 1 AgeLexerT__1 = 2 AgeLexerT__2 = 3 AgeLexerT__3 = 4 AgeLexerT__4 = 5 AgeLexerT__5 = 6 AgeLexerKW_VERTEX = 7 AgeLexerKW_EDGE = 8 AgeLexerKW_PATH = 9 AgeLexerKW_NUMERIC = 10 AgeLexerSTRING = 11 AgeLexerBOOL = 12 AgeLexerNULL = 13 AgeLexerNUMBER = 14 AgeLexerFLOAT_EXPR = 15 AgeLexerNUMERIC = 16 AgeLexerWS = 17 )
AgeLexer tokens.
const ( AgeParserEOF = antlr.TokenEOF AgeParserT__0 = 1 AgeParserT__1 = 2 AgeParserT__2 = 3 AgeParserT__3 = 4 AgeParserT__4 = 5 AgeParserT__5 = 6 AgeParserKW_VERTEX = 7 AgeParserKW_EDGE = 8 AgeParserKW_PATH = 9 AgeParserKW_NUMERIC = 10 AgeParserSTRING = 11 AgeParserBOOL = 12 AgeParserNULL = 13 AgeParserNUMBER = 14 AgeParserFLOAT_EXPR = 15 AgeParserNUMERIC = 16 AgeParserWS = 17 )
AgeParser tokens.
const ( AgeParserRULE_ageout = 0 AgeParserRULE_vertex = 1 AgeParserRULE_edge = 2 AgeParserRULE_path = 3 AgeParserRULE_value = 4 AgeParserRULE_properties = 5 AgeParserRULE_pair = 6 AgeParserRULE_arr = 7 )
AgeParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgeLexer ¶
func NewAgeLexer ¶
func NewAgeLexer(input antlr.CharStream) *AgeLexer
NewAgeLexer produces a new lexer instance for the optional input antlr.CharStream.
The *AgeLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
type AgeListener ¶
type AgeListener interface { antlr.ParseTreeListener // EnterAgeout is called when entering the ageout production. EnterAgeout(c *AgeoutContext) // EnterVertex is called when entering the vertex production. EnterVertex(c *VertexContext) // EnterEdge is called when entering the edge production. EnterEdge(c *EdgeContext) // EnterPath is called when entering the path production. EnterPath(c *PathContext) // EnterValue is called when entering the value production. EnterValue(c *ValueContext) // EnterProperties is called when entering the properties production. EnterProperties(c *PropertiesContext) // EnterPair is called when entering the pair production. EnterPair(c *PairContext) // EnterArr is called when entering the arr production. EnterArr(c *ArrContext) // ExitAgeout is called when exiting the ageout production. ExitAgeout(c *AgeoutContext) // ExitVertex is called when exiting the vertex production. ExitVertex(c *VertexContext) // ExitEdge is called when exiting the edge production. ExitEdge(c *EdgeContext) // ExitPath is called when exiting the path production. ExitPath(c *PathContext) // ExitValue is called when exiting the value production. ExitValue(c *ValueContext) // ExitProperties is called when exiting the properties production. ExitProperties(c *PropertiesContext) // ExitPair is called when exiting the pair production. ExitPair(c *PairContext) // ExitArr is called when exiting the arr production. ExitArr(c *ArrContext) }
AgeListener is a complete listener for a parse tree produced by AgeParser.
type AgeParser ¶
type AgeParser struct {
*antlr.BaseParser
}
func NewAgeParser ¶
func NewAgeParser(input antlr.TokenStream) *AgeParser
NewAgeParser produces a new parser instance for the optional input antlr.TokenStream.
The *AgeParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
func (*AgeParser) Ageout ¶
func (p *AgeParser) Ageout() (localctx IAgeoutContext)
func (*AgeParser) Arr ¶
func (p *AgeParser) Arr() (localctx IArrContext)
func (*AgeParser) Edge ¶
func (p *AgeParser) Edge() (localctx IEdgeContext)
func (*AgeParser) Pair ¶
func (p *AgeParser) Pair() (localctx IPairContext)
func (*AgeParser) Path ¶
func (p *AgeParser) Path() (localctx IPathContext)
func (*AgeParser) Properties ¶
func (p *AgeParser) Properties() (localctx IPropertiesContext)
func (*AgeParser) Value ¶
func (p *AgeParser) Value() (localctx IValueContext)
func (*AgeParser) Vertex ¶
func (p *AgeParser) Vertex() (localctx IVertexContext)
type AgeVisitor ¶
type AgeVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by AgeParser#ageout. VisitAgeout(ctx *AgeoutContext) interface{} // Visit a parse tree produced by AgeParser#vertex. VisitVertex(ctx *VertexContext) interface{} // Visit a parse tree produced by AgeParser#edge. VisitEdge(ctx *EdgeContext) interface{} // Visit a parse tree produced by AgeParser#path. VisitPath(ctx *PathContext) interface{} // Visit a parse tree produced by AgeParser#value. VisitValue(ctx *ValueContext) interface{} // Visit a parse tree produced by AgeParser#properties. VisitProperties(ctx *PropertiesContext) interface{} // Visit a parse tree produced by AgeParser#pair. VisitPair(ctx *PairContext) interface{} // Visit a parse tree produced by AgeParser#arr. VisitArr(ctx *ArrContext) interface{} }
A complete Visitor for a parse tree produced by AgeParser.
type AgeoutContext ¶
type AgeoutContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAgeoutContext ¶
func NewAgeoutContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AgeoutContext
func NewEmptyAgeoutContext ¶
func NewEmptyAgeoutContext() *AgeoutContext
func (*AgeoutContext) Accept ¶
func (s *AgeoutContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AgeoutContext) Edge ¶
func (s *AgeoutContext) Edge() IEdgeContext
func (*AgeoutContext) EnterRule ¶
func (s *AgeoutContext) EnterRule(listener antlr.ParseTreeListener)
func (*AgeoutContext) ExitRule ¶
func (s *AgeoutContext) ExitRule(listener antlr.ParseTreeListener)
func (*AgeoutContext) GetParser ¶
func (s *AgeoutContext) GetParser() antlr.Parser
func (*AgeoutContext) GetRuleContext ¶
func (s *AgeoutContext) GetRuleContext() antlr.RuleContext
func (*AgeoutContext) IsAgeoutContext ¶
func (*AgeoutContext) IsAgeoutContext()
func (*AgeoutContext) Path ¶
func (s *AgeoutContext) Path() IPathContext
func (*AgeoutContext) ToStringTree ¶
func (s *AgeoutContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AgeoutContext) Value ¶
func (s *AgeoutContext) Value() IValueContext
func (*AgeoutContext) Vertex ¶
func (s *AgeoutContext) Vertex() IVertexContext
type ArrContext ¶
type ArrContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrContext ¶
func NewArrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrContext
func NewEmptyArrContext ¶
func NewEmptyArrContext() *ArrContext
func (*ArrContext) Accept ¶
func (s *ArrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrContext) AllValue ¶
func (s *ArrContext) AllValue() []IValueContext
func (*ArrContext) EnterRule ¶
func (s *ArrContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrContext) ExitRule ¶
func (s *ArrContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrContext) GetParser ¶
func (s *ArrContext) GetParser() antlr.Parser
func (*ArrContext) GetRuleContext ¶
func (s *ArrContext) GetRuleContext() antlr.RuleContext
func (*ArrContext) IsArrContext ¶
func (*ArrContext) IsArrContext()
func (*ArrContext) ToStringTree ¶
func (s *ArrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ArrContext) Value ¶
func (s *ArrContext) Value(i int) IValueContext
type BaseAgeListener ¶
type BaseAgeListener struct{}
BaseAgeListener is a complete listener for a parse tree produced by AgeParser.
func (*BaseAgeListener) EnterAgeout ¶
func (s *BaseAgeListener) EnterAgeout(ctx *AgeoutContext)
EnterAgeout is called when production ageout is entered.
func (*BaseAgeListener) EnterArr ¶
func (s *BaseAgeListener) EnterArr(ctx *ArrContext)
EnterArr is called when production arr is entered.
func (*BaseAgeListener) EnterEdge ¶
func (s *BaseAgeListener) EnterEdge(ctx *EdgeContext)
EnterEdge is called when production edge is entered.
func (*BaseAgeListener) EnterEveryRule ¶
func (s *BaseAgeListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseAgeListener) EnterPair ¶
func (s *BaseAgeListener) EnterPair(ctx *PairContext)
EnterPair is called when production pair is entered.
func (*BaseAgeListener) EnterPath ¶
func (s *BaseAgeListener) EnterPath(ctx *PathContext)
EnterPath is called when production path is entered.
func (*BaseAgeListener) EnterProperties ¶
func (s *BaseAgeListener) EnterProperties(ctx *PropertiesContext)
EnterProperties is called when production properties is entered.
func (*BaseAgeListener) EnterValue ¶
func (s *BaseAgeListener) EnterValue(ctx *ValueContext)
EnterValue is called when production value is entered.
func (*BaseAgeListener) EnterVertex ¶
func (s *BaseAgeListener) EnterVertex(ctx *VertexContext)
EnterVertex is called when production vertex is entered.
func (*BaseAgeListener) ExitAgeout ¶
func (s *BaseAgeListener) ExitAgeout(ctx *AgeoutContext)
ExitAgeout is called when production ageout is exited.
func (*BaseAgeListener) ExitArr ¶
func (s *BaseAgeListener) ExitArr(ctx *ArrContext)
ExitArr is called when production arr is exited.
func (*BaseAgeListener) ExitEdge ¶
func (s *BaseAgeListener) ExitEdge(ctx *EdgeContext)
ExitEdge is called when production edge is exited.
func (*BaseAgeListener) ExitEveryRule ¶
func (s *BaseAgeListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseAgeListener) ExitPair ¶
func (s *BaseAgeListener) ExitPair(ctx *PairContext)
ExitPair is called when production pair is exited.
func (*BaseAgeListener) ExitPath ¶
func (s *BaseAgeListener) ExitPath(ctx *PathContext)
ExitPath is called when production path is exited.
func (*BaseAgeListener) ExitProperties ¶
func (s *BaseAgeListener) ExitProperties(ctx *PropertiesContext)
ExitProperties is called when production properties is exited.
func (*BaseAgeListener) ExitValue ¶
func (s *BaseAgeListener) ExitValue(ctx *ValueContext)
ExitValue is called when production value is exited.
func (*BaseAgeListener) ExitVertex ¶
func (s *BaseAgeListener) ExitVertex(ctx *VertexContext)
ExitVertex is called when production vertex is exited.
func (*BaseAgeListener) VisitErrorNode ¶
func (s *BaseAgeListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseAgeListener) VisitTerminal ¶
func (s *BaseAgeListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseAgeVisitor ¶
type BaseAgeVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseAgeVisitor) VisitAgeout ¶
func (v *BaseAgeVisitor) VisitAgeout(ctx *AgeoutContext) interface{}
func (*BaseAgeVisitor) VisitArr ¶
func (v *BaseAgeVisitor) VisitArr(ctx *ArrContext) interface{}
func (*BaseAgeVisitor) VisitEdge ¶
func (v *BaseAgeVisitor) VisitEdge(ctx *EdgeContext) interface{}
func (*BaseAgeVisitor) VisitPair ¶
func (v *BaseAgeVisitor) VisitPair(ctx *PairContext) interface{}
func (*BaseAgeVisitor) VisitPath ¶
func (v *BaseAgeVisitor) VisitPath(ctx *PathContext) interface{}
func (*BaseAgeVisitor) VisitProperties ¶
func (v *BaseAgeVisitor) VisitProperties(ctx *PropertiesContext) interface{}
func (*BaseAgeVisitor) VisitValue ¶
func (v *BaseAgeVisitor) VisitValue(ctx *ValueContext) interface{}
func (*BaseAgeVisitor) VisitVertex ¶
func (v *BaseAgeVisitor) VisitVertex(ctx *VertexContext) interface{}
type EdgeContext ¶
type EdgeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEdgeContext ¶
func NewEdgeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EdgeContext
func NewEmptyEdgeContext ¶
func NewEmptyEdgeContext() *EdgeContext
func (*EdgeContext) Accept ¶
func (s *EdgeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EdgeContext) EnterRule ¶
func (s *EdgeContext) EnterRule(listener antlr.ParseTreeListener)
func (*EdgeContext) ExitRule ¶
func (s *EdgeContext) ExitRule(listener antlr.ParseTreeListener)
func (*EdgeContext) GetParser ¶
func (s *EdgeContext) GetParser() antlr.Parser
func (*EdgeContext) GetRuleContext ¶
func (s *EdgeContext) GetRuleContext() antlr.RuleContext
func (*EdgeContext) IsEdgeContext ¶
func (*EdgeContext) IsEdgeContext()
func (*EdgeContext) KW_EDGE ¶
func (s *EdgeContext) KW_EDGE() antlr.TerminalNode
func (*EdgeContext) Properties ¶
func (s *EdgeContext) Properties() IPropertiesContext
func (*EdgeContext) ToStringTree ¶
func (s *EdgeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAgeoutContext ¶
type IAgeoutContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAgeoutContext differentiates from other interfaces. IsAgeoutContext() }
IAgeoutContext is an interface to support dynamic dispatch.
type IArrContext ¶
type IArrContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrContext differentiates from other interfaces. IsArrContext() }
IArrContext is an interface to support dynamic dispatch.
type IEdgeContext ¶
type IEdgeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEdgeContext differentiates from other interfaces. IsEdgeContext() }
IEdgeContext is an interface to support dynamic dispatch.
type IPairContext ¶
type IPairContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPairContext differentiates from other interfaces. IsPairContext() }
IPairContext is an interface to support dynamic dispatch.
type IPathContext ¶
type IPathContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPathContext differentiates from other interfaces. IsPathContext() }
IPathContext is an interface to support dynamic dispatch.
type IPropertiesContext ¶
type IPropertiesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPropertiesContext differentiates from other interfaces. IsPropertiesContext() }
IPropertiesContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type IVertexContext ¶
type IVertexContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVertexContext differentiates from other interfaces. IsVertexContext() }
IVertexContext is an interface to support dynamic dispatch.
type PairContext ¶
type PairContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPairContext ¶
func NewEmptyPairContext() *PairContext
func NewPairContext ¶
func NewPairContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PairContext
func (*PairContext) Accept ¶
func (s *PairContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PairContext) EnterRule ¶
func (s *PairContext) EnterRule(listener antlr.ParseTreeListener)
func (*PairContext) ExitRule ¶
func (s *PairContext) ExitRule(listener antlr.ParseTreeListener)
func (*PairContext) GetParser ¶
func (s *PairContext) GetParser() antlr.Parser
func (*PairContext) GetRuleContext ¶
func (s *PairContext) GetRuleContext() antlr.RuleContext
func (*PairContext) IsPairContext ¶
func (*PairContext) IsPairContext()
func (*PairContext) STRING ¶
func (s *PairContext) STRING() antlr.TerminalNode
func (*PairContext) ToStringTree ¶
func (s *PairContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*PairContext) Value ¶
func (s *PairContext) Value() IValueContext
type PathContext ¶
type PathContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPathContext ¶
func NewEmptyPathContext() *PathContext
func NewPathContext ¶
func NewPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathContext
func (*PathContext) Accept ¶
func (s *PathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PathContext) AllEdge ¶
func (s *PathContext) AllEdge() []IEdgeContext
func (*PathContext) AllVertex ¶
func (s *PathContext) AllVertex() []IVertexContext
func (*PathContext) Edge ¶
func (s *PathContext) Edge(i int) IEdgeContext
func (*PathContext) EnterRule ¶
func (s *PathContext) EnterRule(listener antlr.ParseTreeListener)
func (*PathContext) ExitRule ¶
func (s *PathContext) ExitRule(listener antlr.ParseTreeListener)
func (*PathContext) GetParser ¶
func (s *PathContext) GetParser() antlr.Parser
func (*PathContext) GetRuleContext ¶
func (s *PathContext) GetRuleContext() antlr.RuleContext
func (*PathContext) IsPathContext ¶
func (*PathContext) IsPathContext()
func (*PathContext) KW_PATH ¶
func (s *PathContext) KW_PATH() antlr.TerminalNode
func (*PathContext) ToStringTree ¶
func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*PathContext) Vertex ¶
func (s *PathContext) Vertex(i int) IVertexContext
type PropertiesContext ¶
type PropertiesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPropertiesContext ¶
func NewEmptyPropertiesContext() *PropertiesContext
func NewPropertiesContext ¶
func NewPropertiesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertiesContext
func (*PropertiesContext) Accept ¶
func (s *PropertiesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertiesContext) AllPair ¶
func (s *PropertiesContext) AllPair() []IPairContext
func (*PropertiesContext) EnterRule ¶
func (s *PropertiesContext) EnterRule(listener antlr.ParseTreeListener)
func (*PropertiesContext) ExitRule ¶
func (s *PropertiesContext) ExitRule(listener antlr.ParseTreeListener)
func (*PropertiesContext) GetParser ¶
func (s *PropertiesContext) GetParser() antlr.Parser
func (*PropertiesContext) GetRuleContext ¶
func (s *PropertiesContext) GetRuleContext() antlr.RuleContext
func (*PropertiesContext) IsPropertiesContext ¶
func (*PropertiesContext) IsPropertiesContext()
func (*PropertiesContext) Pair ¶
func (s *PropertiesContext) Pair(i int) IPairContext
func (*PropertiesContext) ToStringTree ¶
func (s *PropertiesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ValueContext ¶
type ValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) Accept ¶
func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ValueContext) Arr ¶
func (s *ValueContext) Arr() IArrContext
func (*ValueContext) BOOL ¶
func (s *ValueContext) BOOL() antlr.TerminalNode
func (*ValueContext) EnterRule ¶
func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ValueContext) ExitRule ¶
func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ValueContext) FLOAT_EXPR ¶
func (s *ValueContext) FLOAT_EXPR() antlr.TerminalNode
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) NULL ¶
func (s *ValueContext) NULL() antlr.TerminalNode
func (*ValueContext) NUMBER ¶
func (s *ValueContext) NUMBER() antlr.TerminalNode
func (*ValueContext) NUMERIC ¶
func (s *ValueContext) NUMERIC() antlr.TerminalNode
func (*ValueContext) Properties ¶
func (s *ValueContext) Properties() IPropertiesContext
func (*ValueContext) STRING ¶
func (s *ValueContext) STRING() antlr.TerminalNode
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VertexContext ¶
type VertexContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVertexContext ¶
func NewEmptyVertexContext() *VertexContext
func NewVertexContext ¶
func NewVertexContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VertexContext
func (*VertexContext) Accept ¶
func (s *VertexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VertexContext) EnterRule ¶
func (s *VertexContext) EnterRule(listener antlr.ParseTreeListener)
func (*VertexContext) ExitRule ¶
func (s *VertexContext) ExitRule(listener antlr.ParseTreeListener)
func (*VertexContext) GetParser ¶
func (s *VertexContext) GetParser() antlr.Parser
func (*VertexContext) GetRuleContext ¶
func (s *VertexContext) GetRuleContext() antlr.RuleContext
func (*VertexContext) IsVertexContext ¶
func (*VertexContext) IsVertexContext()
func (*VertexContext) KW_VERTEX ¶
func (s *VertexContext) KW_VERTEX() antlr.TerminalNode
func (*VertexContext) Properties ¶
func (s *VertexContext) Properties() IPropertiesContext
func (*VertexContext) ToStringTree ¶
func (s *VertexContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string