Documentation ¶
Index ¶
- Constants
- type AgTypeContext
- func (s *AgTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AgTypeContext) AgValue() IAgValueContext
- func (s *AgTypeContext) EOF() antlr.TerminalNode
- func (s *AgTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AgTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AgTypeContext) GetParser() antlr.Parser
- func (s *AgTypeContext) GetRuleContext() antlr.RuleContext
- func (*AgTypeContext) IsAgTypeContext()
- func (s *AgTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AgValueContext
- func (s *AgValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AgValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AgValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AgValueContext) GetParser() antlr.Parser
- func (s *AgValueContext) GetRuleContext() antlr.RuleContext
- func (*AgValueContext) IsAgValueContext()
- func (s *AgValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AgValueContext) TypeAnnotation() ITypeAnnotationContext
- func (s *AgValueContext) Value() IValueContext
- type AgtypeLexer
- type AgtypeListener
- type AgtypeParser
- func (p *AgtypeParser) AgType() (localctx IAgTypeContext)
- func (p *AgtypeParser) AgValue() (localctx IAgValueContext)
- func (p *AgtypeParser) Array() (localctx IArrayContext)
- func (p *AgtypeParser) FloatLiteral() (localctx IFloatLiteralContext)
- func (p *AgtypeParser) Obj() (localctx IObjContext)
- func (p *AgtypeParser) Pair() (localctx IPairContext)
- func (p *AgtypeParser) TypeAnnotation() (localctx ITypeAnnotationContext)
- func (p *AgtypeParser) Value() (localctx IValueContext)
- type AgtypeVisitor
- type ArrayContext
- func (s *ArrayContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayContext) AgValue(i int) IAgValueContext
- func (s *ArrayContext) AllAgValue() []IAgValueContext
- func (s *ArrayContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayContext) GetParser() antlr.Parser
- func (s *ArrayContext) GetRuleContext() antlr.RuleContext
- func (*ArrayContext) IsArrayContext()
- func (s *ArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayValueContext
- func (s *ArrayValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayValueContext) Array() IArrayContext
- func (s *ArrayValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayValueContext) GetRuleContext() antlr.RuleContext
- type BaseAgtypeListener
- func (s *BaseAgtypeListener) EnterAgType(ctx *AgTypeContext)
- func (s *BaseAgtypeListener) EnterAgValue(ctx *AgValueContext)
- func (s *BaseAgtypeListener) EnterArray(ctx *ArrayContext)
- func (s *BaseAgtypeListener) EnterArrayValue(ctx *ArrayValueContext)
- func (s *BaseAgtypeListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseAgtypeListener) EnterFalseBoolean(ctx *FalseBooleanContext)
- func (s *BaseAgtypeListener) EnterFloatLiteral(ctx *FloatLiteralContext)
- func (s *BaseAgtypeListener) EnterFloatValue(ctx *FloatValueContext)
- func (s *BaseAgtypeListener) EnterIntegerValue(ctx *IntegerValueContext)
- func (s *BaseAgtypeListener) EnterNullValue(ctx *NullValueContext)
- func (s *BaseAgtypeListener) EnterObj(ctx *ObjContext)
- func (s *BaseAgtypeListener) EnterObjectValue(ctx *ObjectValueContext)
- func (s *BaseAgtypeListener) EnterPair(ctx *PairContext)
- func (s *BaseAgtypeListener) EnterStringValue(ctx *StringValueContext)
- func (s *BaseAgtypeListener) EnterTrueBoolean(ctx *TrueBooleanContext)
- func (s *BaseAgtypeListener) EnterTypeAnnotation(ctx *TypeAnnotationContext)
- func (s *BaseAgtypeListener) ExitAgType(ctx *AgTypeContext)
- func (s *BaseAgtypeListener) ExitAgValue(ctx *AgValueContext)
- func (s *BaseAgtypeListener) ExitArray(ctx *ArrayContext)
- func (s *BaseAgtypeListener) ExitArrayValue(ctx *ArrayValueContext)
- func (s *BaseAgtypeListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseAgtypeListener) ExitFalseBoolean(ctx *FalseBooleanContext)
- func (s *BaseAgtypeListener) ExitFloatLiteral(ctx *FloatLiteralContext)
- func (s *BaseAgtypeListener) ExitFloatValue(ctx *FloatValueContext)
- func (s *BaseAgtypeListener) ExitIntegerValue(ctx *IntegerValueContext)
- func (s *BaseAgtypeListener) ExitNullValue(ctx *NullValueContext)
- func (s *BaseAgtypeListener) ExitObj(ctx *ObjContext)
- func (s *BaseAgtypeListener) ExitObjectValue(ctx *ObjectValueContext)
- func (s *BaseAgtypeListener) ExitPair(ctx *PairContext)
- func (s *BaseAgtypeListener) ExitStringValue(ctx *StringValueContext)
- func (s *BaseAgtypeListener) ExitTrueBoolean(ctx *TrueBooleanContext)
- func (s *BaseAgtypeListener) ExitTypeAnnotation(ctx *TypeAnnotationContext)
- func (s *BaseAgtypeListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseAgtypeListener) VisitTerminal(node antlr.TerminalNode)
- type BaseAgtypeVisitor
- func (v *BaseAgtypeVisitor) VisitAgType(ctx *AgTypeContext) interface{}
- func (v *BaseAgtypeVisitor) VisitAgValue(ctx *AgValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitArray(ctx *ArrayContext) interface{}
- func (v *BaseAgtypeVisitor) VisitArrayValue(ctx *ArrayValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitFalseBoolean(ctx *FalseBooleanContext) interface{}
- func (v *BaseAgtypeVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
- func (v *BaseAgtypeVisitor) VisitFloatValue(ctx *FloatValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitIntegerValue(ctx *IntegerValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitNullValue(ctx *NullValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitObj(ctx *ObjContext) interface{}
- func (v *BaseAgtypeVisitor) VisitObjectValue(ctx *ObjectValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitPair(ctx *PairContext) interface{}
- func (v *BaseAgtypeVisitor) VisitStringValue(ctx *StringValueContext) interface{}
- func (v *BaseAgtypeVisitor) VisitTrueBoolean(ctx *TrueBooleanContext) interface{}
- func (v *BaseAgtypeVisitor) VisitTypeAnnotation(ctx *TypeAnnotationContext) interface{}
- type FalseBooleanContext
- type FloatLiteralContext
- func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FloatLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FloatLiteralContext) ExponentFloat() antlr.TerminalNode
- func (s *FloatLiteralContext) GetParser() antlr.Parser
- func (s *FloatLiteralContext) GetRuleContext() antlr.RuleContext
- func (*FloatLiteralContext) IsFloatLiteralContext()
- func (s *FloatLiteralContext) RegularFloat() antlr.TerminalNode
- func (s *FloatLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FloatValueContext
- func (s *FloatValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FloatValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FloatValueContext) FloatLiteral() IFloatLiteralContext
- func (s *FloatValueContext) GetRuleContext() antlr.RuleContext
- type IAgTypeContext
- type IAgValueContext
- type IArrayContext
- type IFloatLiteralContext
- type IObjContext
- type IPairContext
- type ITypeAnnotationContext
- type IValueContext
- type IntegerValueContext
- func (s *IntegerValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IntegerValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IntegerValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IntegerValueContext) GetRuleContext() antlr.RuleContext
- func (s *IntegerValueContext) INTEGER() antlr.TerminalNode
- type NullValueContext
- type ObjContext
- func (s *ObjContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ObjContext) AllPair() []IPairContext
- func (s *ObjContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ObjContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ObjContext) GetParser() antlr.Parser
- func (s *ObjContext) GetRuleContext() antlr.RuleContext
- func (*ObjContext) IsObjContext()
- func (s *ObjContext) Pair(i int) IPairContext
- func (s *ObjContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ObjectValueContext
- func (s *ObjectValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ObjectValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ObjectValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ObjectValueContext) GetRuleContext() antlr.RuleContext
- func (s *ObjectValueContext) Obj() IObjContext
- type PairContext
- func (s *PairContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PairContext) AgValue() IAgValueContext
- 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
- type StringValueContext
- func (s *StringValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) GetRuleContext() antlr.RuleContext
- func (s *StringValueContext) STRING() antlr.TerminalNode
- type TrueBooleanContext
- type TypeAnnotationContext
- func (s *TypeAnnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeAnnotationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeAnnotationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeAnnotationContext) GetParser() antlr.Parser
- func (s *TypeAnnotationContext) GetRuleContext() antlr.RuleContext
- func (s *TypeAnnotationContext) IDENT() antlr.TerminalNode
- func (*TypeAnnotationContext) IsTypeAnnotationContext()
- func (s *TypeAnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueContext
Constants ¶
const ( AgtypeLexerT__0 = 1 AgtypeLexerT__1 = 2 AgtypeLexerT__2 = 3 AgtypeLexerT__3 = 4 AgtypeLexerT__4 = 5 AgtypeLexerT__5 = 6 AgtypeLexerT__6 = 7 AgtypeLexerT__7 = 8 AgtypeLexerT__8 = 9 AgtypeLexerT__9 = 10 AgtypeLexerT__10 = 11 AgtypeLexerT__11 = 12 AgtypeLexerT__12 = 13 AgtypeLexerIDENT = 14 AgtypeLexerSTRING = 15 AgtypeLexerINTEGER = 16 AgtypeLexerRegularFloat = 17 AgtypeLexerExponentFloat = 18 AgtypeLexerWS = 19 )
AgtypeLexer tokens.
const ( AgtypeParserEOF = antlr.TokenEOF AgtypeParserT__0 = 1 AgtypeParserT__1 = 2 AgtypeParserT__2 = 3 AgtypeParserT__3 = 4 AgtypeParserT__4 = 5 AgtypeParserT__5 = 6 AgtypeParserT__6 = 7 AgtypeParserT__7 = 8 AgtypeParserT__8 = 9 AgtypeParserT__9 = 10 AgtypeParserT__10 = 11 AgtypeParserT__11 = 12 AgtypeParserT__12 = 13 AgtypeParserIDENT = 14 AgtypeParserSTRING = 15 AgtypeParserINTEGER = 16 AgtypeParserRegularFloat = 17 AgtypeParserExponentFloat = 18 AgtypeParserWS = 19 )
AgtypeParser tokens.
const ( AgtypeParserRULE_agType = 0 AgtypeParserRULE_agValue = 1 AgtypeParserRULE_value = 2 AgtypeParserRULE_obj = 3 AgtypeParserRULE_pair = 4 AgtypeParserRULE_array = 5 AgtypeParserRULE_typeAnnotation = 6 AgtypeParserRULE_floatLiteral = 7 )
AgtypeParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgTypeContext ¶ added in v0.0.4
type AgTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAgTypeContext ¶ added in v0.0.4
func NewAgTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AgTypeContext
func NewEmptyAgTypeContext ¶ added in v0.0.4
func NewEmptyAgTypeContext() *AgTypeContext
func (*AgTypeContext) Accept ¶ added in v0.0.4
func (s *AgTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AgTypeContext) AgValue ¶ added in v0.0.4
func (s *AgTypeContext) AgValue() IAgValueContext
func (*AgTypeContext) EOF ¶ added in v0.0.4
func (s *AgTypeContext) EOF() antlr.TerminalNode
func (*AgTypeContext) EnterRule ¶ added in v0.0.4
func (s *AgTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*AgTypeContext) ExitRule ¶ added in v0.0.4
func (s *AgTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*AgTypeContext) GetParser ¶ added in v0.0.4
func (s *AgTypeContext) GetParser() antlr.Parser
func (*AgTypeContext) GetRuleContext ¶ added in v0.0.4
func (s *AgTypeContext) GetRuleContext() antlr.RuleContext
func (*AgTypeContext) IsAgTypeContext ¶ added in v0.0.4
func (*AgTypeContext) IsAgTypeContext()
func (*AgTypeContext) ToStringTree ¶ added in v0.0.4
func (s *AgTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AgValueContext ¶ added in v0.0.4
type AgValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAgValueContext ¶ added in v0.0.4
func NewAgValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AgValueContext
func NewEmptyAgValueContext ¶ added in v0.0.4
func NewEmptyAgValueContext() *AgValueContext
func (*AgValueContext) Accept ¶ added in v0.0.4
func (s *AgValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AgValueContext) EnterRule ¶ added in v0.0.4
func (s *AgValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*AgValueContext) ExitRule ¶ added in v0.0.4
func (s *AgValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*AgValueContext) GetParser ¶ added in v0.0.4
func (s *AgValueContext) GetParser() antlr.Parser
func (*AgValueContext) GetRuleContext ¶ added in v0.0.4
func (s *AgValueContext) GetRuleContext() antlr.RuleContext
func (*AgValueContext) IsAgValueContext ¶ added in v0.0.4
func (*AgValueContext) IsAgValueContext()
func (*AgValueContext) ToStringTree ¶ added in v0.0.4
func (s *AgValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AgValueContext) TypeAnnotation ¶ added in v0.0.4
func (s *AgValueContext) TypeAnnotation() ITypeAnnotationContext
func (*AgValueContext) Value ¶ added in v0.0.4
func (s *AgValueContext) Value() IValueContext
type AgtypeLexer ¶ added in v0.0.4
func NewAgtypeLexer ¶ added in v0.0.4
func NewAgtypeLexer(input antlr.CharStream) *AgtypeLexer
NewAgtypeLexer produces a new lexer instance for the optional input antlr.CharStream.
The *AgtypeLexer 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 AgtypeListener ¶ added in v0.0.4
type AgtypeListener interface { antlr.ParseTreeListener // EnterAgType is called when entering the agType production. EnterAgType(c *AgTypeContext) // EnterAgValue is called when entering the agValue production. EnterAgValue(c *AgValueContext) // EnterStringValue is called when entering the StringValue production. EnterStringValue(c *StringValueContext) // EnterIntegerValue is called when entering the IntegerValue production. EnterIntegerValue(c *IntegerValueContext) // EnterFloatValue is called when entering the FloatValue production. EnterFloatValue(c *FloatValueContext) // EnterTrueBoolean is called when entering the TrueBoolean production. EnterTrueBoolean(c *TrueBooleanContext) // EnterFalseBoolean is called when entering the FalseBoolean production. EnterFalseBoolean(c *FalseBooleanContext) // EnterNullValue is called when entering the NullValue production. EnterNullValue(c *NullValueContext) // EnterObjectValue is called when entering the ObjectValue production. EnterObjectValue(c *ObjectValueContext) // EnterArrayValue is called when entering the ArrayValue production. EnterArrayValue(c *ArrayValueContext) // EnterObj is called when entering the obj production. EnterObj(c *ObjContext) // EnterPair is called when entering the pair production. EnterPair(c *PairContext) // EnterArray is called when entering the array production. EnterArray(c *ArrayContext) // EnterTypeAnnotation is called when entering the typeAnnotation production. EnterTypeAnnotation(c *TypeAnnotationContext) // EnterFloatLiteral is called when entering the floatLiteral production. EnterFloatLiteral(c *FloatLiteralContext) // ExitAgType is called when exiting the agType production. ExitAgType(c *AgTypeContext) // ExitAgValue is called when exiting the agValue production. ExitAgValue(c *AgValueContext) // ExitStringValue is called when exiting the StringValue production. ExitStringValue(c *StringValueContext) // ExitIntegerValue is called when exiting the IntegerValue production. ExitIntegerValue(c *IntegerValueContext) // ExitFloatValue is called when exiting the FloatValue production. ExitFloatValue(c *FloatValueContext) // ExitTrueBoolean is called when exiting the TrueBoolean production. ExitTrueBoolean(c *TrueBooleanContext) // ExitFalseBoolean is called when exiting the FalseBoolean production. ExitFalseBoolean(c *FalseBooleanContext) // ExitNullValue is called when exiting the NullValue production. ExitNullValue(c *NullValueContext) // ExitObjectValue is called when exiting the ObjectValue production. ExitObjectValue(c *ObjectValueContext) // ExitArrayValue is called when exiting the ArrayValue production. ExitArrayValue(c *ArrayValueContext) // ExitObj is called when exiting the obj production. ExitObj(c *ObjContext) // ExitPair is called when exiting the pair production. ExitPair(c *PairContext) // ExitArray is called when exiting the array production. ExitArray(c *ArrayContext) // ExitTypeAnnotation is called when exiting the typeAnnotation production. ExitTypeAnnotation(c *TypeAnnotationContext) // ExitFloatLiteral is called when exiting the floatLiteral production. ExitFloatLiteral(c *FloatLiteralContext) }
AgtypeListener is a complete listener for a parse tree produced by AgtypeParser.
type AgtypeParser ¶ added in v0.0.4
type AgtypeParser struct {
*antlr.BaseParser
}
func NewAgtypeParser ¶ added in v0.0.4
func NewAgtypeParser(input antlr.TokenStream) *AgtypeParser
NewAgtypeParser produces a new parser instance for the optional input antlr.TokenStream.
The *AgtypeParser 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 (*AgtypeParser) AgType ¶ added in v0.0.4
func (p *AgtypeParser) AgType() (localctx IAgTypeContext)
func (*AgtypeParser) AgValue ¶ added in v0.0.4
func (p *AgtypeParser) AgValue() (localctx IAgValueContext)
func (*AgtypeParser) Array ¶ added in v0.0.4
func (p *AgtypeParser) Array() (localctx IArrayContext)
func (*AgtypeParser) FloatLiteral ¶ added in v0.0.4
func (p *AgtypeParser) FloatLiteral() (localctx IFloatLiteralContext)
func (*AgtypeParser) Obj ¶ added in v0.0.4
func (p *AgtypeParser) Obj() (localctx IObjContext)
func (*AgtypeParser) Pair ¶ added in v0.0.4
func (p *AgtypeParser) Pair() (localctx IPairContext)
func (*AgtypeParser) TypeAnnotation ¶ added in v0.0.4
func (p *AgtypeParser) TypeAnnotation() (localctx ITypeAnnotationContext)
func (*AgtypeParser) Value ¶ added in v0.0.4
func (p *AgtypeParser) Value() (localctx IValueContext)
type AgtypeVisitor ¶ added in v0.0.4
type AgtypeVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by AgtypeParser#agType. VisitAgType(ctx *AgTypeContext) interface{} // Visit a parse tree produced by AgtypeParser#agValue. VisitAgValue(ctx *AgValueContext) interface{} // Visit a parse tree produced by AgtypeParser#StringValue. VisitStringValue(ctx *StringValueContext) interface{} // Visit a parse tree produced by AgtypeParser#IntegerValue. VisitIntegerValue(ctx *IntegerValueContext) interface{} // Visit a parse tree produced by AgtypeParser#FloatValue. VisitFloatValue(ctx *FloatValueContext) interface{} // Visit a parse tree produced by AgtypeParser#TrueBoolean. VisitTrueBoolean(ctx *TrueBooleanContext) interface{} // Visit a parse tree produced by AgtypeParser#FalseBoolean. VisitFalseBoolean(ctx *FalseBooleanContext) interface{} // Visit a parse tree produced by AgtypeParser#NullValue. VisitNullValue(ctx *NullValueContext) interface{} // Visit a parse tree produced by AgtypeParser#ObjectValue. VisitObjectValue(ctx *ObjectValueContext) interface{} // Visit a parse tree produced by AgtypeParser#ArrayValue. VisitArrayValue(ctx *ArrayValueContext) interface{} // Visit a parse tree produced by AgtypeParser#obj. VisitObj(ctx *ObjContext) interface{} // Visit a parse tree produced by AgtypeParser#pair. VisitPair(ctx *PairContext) interface{} // Visit a parse tree produced by AgtypeParser#array. VisitArray(ctx *ArrayContext) interface{} // Visit a parse tree produced by AgtypeParser#typeAnnotation. VisitTypeAnnotation(ctx *TypeAnnotationContext) interface{} // Visit a parse tree produced by AgtypeParser#floatLiteral. VisitFloatLiteral(ctx *FloatLiteralContext) interface{} }
A complete Visitor for a parse tree produced by AgtypeParser.
type ArrayContext ¶ added in v0.0.4
type ArrayContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayContext ¶ added in v0.0.4
func NewArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayContext
func NewEmptyArrayContext ¶ added in v0.0.4
func NewEmptyArrayContext() *ArrayContext
func (*ArrayContext) Accept ¶ added in v0.0.4
func (s *ArrayContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayContext) AgValue ¶ added in v0.0.4
func (s *ArrayContext) AgValue(i int) IAgValueContext
func (*ArrayContext) AllAgValue ¶ added in v0.0.4
func (s *ArrayContext) AllAgValue() []IAgValueContext
func (*ArrayContext) EnterRule ¶ added in v0.0.4
func (s *ArrayContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayContext) ExitRule ¶ added in v0.0.4
func (s *ArrayContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayContext) GetParser ¶ added in v0.0.4
func (s *ArrayContext) GetParser() antlr.Parser
func (*ArrayContext) GetRuleContext ¶ added in v0.0.4
func (s *ArrayContext) GetRuleContext() antlr.RuleContext
func (*ArrayContext) IsArrayContext ¶ added in v0.0.4
func (*ArrayContext) IsArrayContext()
func (*ArrayContext) ToStringTree ¶ added in v0.0.4
func (s *ArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayValueContext ¶ added in v0.0.4
type ArrayValueContext struct {
*ValueContext
}
func NewArrayValueContext ¶ added in v0.0.4
func NewArrayValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayValueContext
func (*ArrayValueContext) Accept ¶ added in v0.0.4
func (s *ArrayValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayValueContext) Array ¶ added in v0.0.4
func (s *ArrayValueContext) Array() IArrayContext
func (*ArrayValueContext) EnterRule ¶ added in v0.0.4
func (s *ArrayValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayValueContext) ExitRule ¶ added in v0.0.4
func (s *ArrayValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayValueContext) GetRuleContext ¶ added in v0.0.4
func (s *ArrayValueContext) GetRuleContext() antlr.RuleContext
type BaseAgtypeListener ¶ added in v0.0.4
type BaseAgtypeListener struct{}
BaseAgtypeListener is a complete listener for a parse tree produced by AgtypeParser.
func (*BaseAgtypeListener) EnterAgType ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterAgType(ctx *AgTypeContext)
EnterAgType is called when production agType is entered.
func (*BaseAgtypeListener) EnterAgValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterAgValue(ctx *AgValueContext)
EnterAgValue is called when production agValue is entered.
func (*BaseAgtypeListener) EnterArray ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterArray(ctx *ArrayContext)
EnterArray is called when production array is entered.
func (*BaseAgtypeListener) EnterArrayValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterArrayValue(ctx *ArrayValueContext)
EnterArrayValue is called when production ArrayValue is entered.
func (*BaseAgtypeListener) EnterEveryRule ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseAgtypeListener) EnterFalseBoolean ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterFalseBoolean(ctx *FalseBooleanContext)
EnterFalseBoolean is called when production FalseBoolean is entered.
func (*BaseAgtypeListener) EnterFloatLiteral ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterFloatLiteral(ctx *FloatLiteralContext)
EnterFloatLiteral is called when production floatLiteral is entered.
func (*BaseAgtypeListener) EnterFloatValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterFloatValue(ctx *FloatValueContext)
EnterFloatValue is called when production FloatValue is entered.
func (*BaseAgtypeListener) EnterIntegerValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterIntegerValue(ctx *IntegerValueContext)
EnterIntegerValue is called when production IntegerValue is entered.
func (*BaseAgtypeListener) EnterNullValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterNullValue(ctx *NullValueContext)
EnterNullValue is called when production NullValue is entered.
func (*BaseAgtypeListener) EnterObj ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterObj(ctx *ObjContext)
EnterObj is called when production obj is entered.
func (*BaseAgtypeListener) EnterObjectValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterObjectValue(ctx *ObjectValueContext)
EnterObjectValue is called when production ObjectValue is entered.
func (*BaseAgtypeListener) EnterPair ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterPair(ctx *PairContext)
EnterPair is called when production pair is entered.
func (*BaseAgtypeListener) EnterStringValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterStringValue(ctx *StringValueContext)
EnterStringValue is called when production StringValue is entered.
func (*BaseAgtypeListener) EnterTrueBoolean ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterTrueBoolean(ctx *TrueBooleanContext)
EnterTrueBoolean is called when production TrueBoolean is entered.
func (*BaseAgtypeListener) EnterTypeAnnotation ¶ added in v0.0.4
func (s *BaseAgtypeListener) EnterTypeAnnotation(ctx *TypeAnnotationContext)
EnterTypeAnnotation is called when production typeAnnotation is entered.
func (*BaseAgtypeListener) ExitAgType ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitAgType(ctx *AgTypeContext)
ExitAgType is called when production agType is exited.
func (*BaseAgtypeListener) ExitAgValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitAgValue(ctx *AgValueContext)
ExitAgValue is called when production agValue is exited.
func (*BaseAgtypeListener) ExitArray ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitArray(ctx *ArrayContext)
ExitArray is called when production array is exited.
func (*BaseAgtypeListener) ExitArrayValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitArrayValue(ctx *ArrayValueContext)
ExitArrayValue is called when production ArrayValue is exited.
func (*BaseAgtypeListener) ExitEveryRule ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseAgtypeListener) ExitFalseBoolean ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitFalseBoolean(ctx *FalseBooleanContext)
ExitFalseBoolean is called when production FalseBoolean is exited.
func (*BaseAgtypeListener) ExitFloatLiteral ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitFloatLiteral(ctx *FloatLiteralContext)
ExitFloatLiteral is called when production floatLiteral is exited.
func (*BaseAgtypeListener) ExitFloatValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitFloatValue(ctx *FloatValueContext)
ExitFloatValue is called when production FloatValue is exited.
func (*BaseAgtypeListener) ExitIntegerValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitIntegerValue(ctx *IntegerValueContext)
ExitIntegerValue is called when production IntegerValue is exited.
func (*BaseAgtypeListener) ExitNullValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitNullValue(ctx *NullValueContext)
ExitNullValue is called when production NullValue is exited.
func (*BaseAgtypeListener) ExitObj ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitObj(ctx *ObjContext)
ExitObj is called when production obj is exited.
func (*BaseAgtypeListener) ExitObjectValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitObjectValue(ctx *ObjectValueContext)
ExitObjectValue is called when production ObjectValue is exited.
func (*BaseAgtypeListener) ExitPair ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitPair(ctx *PairContext)
ExitPair is called when production pair is exited.
func (*BaseAgtypeListener) ExitStringValue ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitStringValue(ctx *StringValueContext)
ExitStringValue is called when production StringValue is exited.
func (*BaseAgtypeListener) ExitTrueBoolean ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitTrueBoolean(ctx *TrueBooleanContext)
ExitTrueBoolean is called when production TrueBoolean is exited.
func (*BaseAgtypeListener) ExitTypeAnnotation ¶ added in v0.0.4
func (s *BaseAgtypeListener) ExitTypeAnnotation(ctx *TypeAnnotationContext)
ExitTypeAnnotation is called when production typeAnnotation is exited.
func (*BaseAgtypeListener) VisitErrorNode ¶ added in v0.0.4
func (s *BaseAgtypeListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseAgtypeListener) VisitTerminal ¶ added in v0.0.4
func (s *BaseAgtypeListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseAgtypeVisitor ¶ added in v0.0.4
type BaseAgtypeVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseAgtypeVisitor) VisitAgType ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitAgType(ctx *AgTypeContext) interface{}
func (*BaseAgtypeVisitor) VisitAgValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitAgValue(ctx *AgValueContext) interface{}
func (*BaseAgtypeVisitor) VisitArray ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitArray(ctx *ArrayContext) interface{}
func (*BaseAgtypeVisitor) VisitArrayValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitArrayValue(ctx *ArrayValueContext) interface{}
func (*BaseAgtypeVisitor) VisitFalseBoolean ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitFalseBoolean(ctx *FalseBooleanContext) interface{}
func (*BaseAgtypeVisitor) VisitFloatLiteral ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
func (*BaseAgtypeVisitor) VisitFloatValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitFloatValue(ctx *FloatValueContext) interface{}
func (*BaseAgtypeVisitor) VisitIntegerValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitIntegerValue(ctx *IntegerValueContext) interface{}
func (*BaseAgtypeVisitor) VisitNullValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitNullValue(ctx *NullValueContext) interface{}
func (*BaseAgtypeVisitor) VisitObj ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitObj(ctx *ObjContext) interface{}
func (*BaseAgtypeVisitor) VisitObjectValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitObjectValue(ctx *ObjectValueContext) interface{}
func (*BaseAgtypeVisitor) VisitPair ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitPair(ctx *PairContext) interface{}
func (*BaseAgtypeVisitor) VisitStringValue ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitStringValue(ctx *StringValueContext) interface{}
func (*BaseAgtypeVisitor) VisitTrueBoolean ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitTrueBoolean(ctx *TrueBooleanContext) interface{}
func (*BaseAgtypeVisitor) VisitTypeAnnotation ¶ added in v0.0.4
func (v *BaseAgtypeVisitor) VisitTypeAnnotation(ctx *TypeAnnotationContext) interface{}
type FalseBooleanContext ¶ added in v0.0.4
type FalseBooleanContext struct {
*ValueContext
}
func NewFalseBooleanContext ¶ added in v0.0.4
func NewFalseBooleanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FalseBooleanContext
func (*FalseBooleanContext) Accept ¶ added in v0.0.4
func (s *FalseBooleanContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FalseBooleanContext) EnterRule ¶ added in v0.0.4
func (s *FalseBooleanContext) EnterRule(listener antlr.ParseTreeListener)
func (*FalseBooleanContext) ExitRule ¶ added in v0.0.4
func (s *FalseBooleanContext) ExitRule(listener antlr.ParseTreeListener)
func (*FalseBooleanContext) GetRuleContext ¶ added in v0.0.4
func (s *FalseBooleanContext) GetRuleContext() antlr.RuleContext
type FloatLiteralContext ¶ added in v0.0.4
type FloatLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFloatLiteralContext ¶ added in v0.0.4
func NewEmptyFloatLiteralContext() *FloatLiteralContext
func NewFloatLiteralContext ¶ added in v0.0.4
func NewFloatLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatLiteralContext
func (*FloatLiteralContext) Accept ¶ added in v0.0.4
func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FloatLiteralContext) EnterRule ¶ added in v0.0.4
func (s *FloatLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*FloatLiteralContext) ExitRule ¶ added in v0.0.4
func (s *FloatLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*FloatLiteralContext) ExponentFloat ¶ added in v0.0.4
func (s *FloatLiteralContext) ExponentFloat() antlr.TerminalNode
func (*FloatLiteralContext) GetParser ¶ added in v0.0.4
func (s *FloatLiteralContext) GetParser() antlr.Parser
func (*FloatLiteralContext) GetRuleContext ¶ added in v0.0.4
func (s *FloatLiteralContext) GetRuleContext() antlr.RuleContext
func (*FloatLiteralContext) IsFloatLiteralContext ¶ added in v0.0.4
func (*FloatLiteralContext) IsFloatLiteralContext()
func (*FloatLiteralContext) RegularFloat ¶ added in v0.0.4
func (s *FloatLiteralContext) RegularFloat() antlr.TerminalNode
func (*FloatLiteralContext) ToStringTree ¶ added in v0.0.4
func (s *FloatLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FloatValueContext ¶ added in v0.0.4
type FloatValueContext struct {
*ValueContext
}
func NewFloatValueContext ¶ added in v0.0.4
func NewFloatValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FloatValueContext
func (*FloatValueContext) Accept ¶ added in v0.0.4
func (s *FloatValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FloatValueContext) EnterRule ¶ added in v0.0.4
func (s *FloatValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*FloatValueContext) ExitRule ¶ added in v0.0.4
func (s *FloatValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*FloatValueContext) FloatLiteral ¶ added in v0.0.4
func (s *FloatValueContext) FloatLiteral() IFloatLiteralContext
func (*FloatValueContext) GetRuleContext ¶ added in v0.0.4
func (s *FloatValueContext) GetRuleContext() antlr.RuleContext
type IAgTypeContext ¶ added in v0.0.4
type IAgTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAgTypeContext differentiates from other interfaces. IsAgTypeContext() }
IAgTypeContext is an interface to support dynamic dispatch.
type IAgValueContext ¶ added in v0.0.4
type IAgValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAgValueContext differentiates from other interfaces. IsAgValueContext() }
IAgValueContext is an interface to support dynamic dispatch.
type IArrayContext ¶ added in v0.0.4
type IArrayContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrayContext differentiates from other interfaces. IsArrayContext() }
IArrayContext is an interface to support dynamic dispatch.
type IFloatLiteralContext ¶ added in v0.0.4
type IFloatLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFloatLiteralContext differentiates from other interfaces. IsFloatLiteralContext() }
IFloatLiteralContext is an interface to support dynamic dispatch.
type IObjContext ¶ added in v0.0.4
type IObjContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsObjContext differentiates from other interfaces. IsObjContext() }
IObjContext 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 ITypeAnnotationContext ¶ added in v0.0.4
type ITypeAnnotationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeAnnotationContext differentiates from other interfaces. IsTypeAnnotationContext() }
ITypeAnnotationContext 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 IntegerValueContext ¶ added in v0.0.4
type IntegerValueContext struct {
*ValueContext
}
func NewIntegerValueContext ¶ added in v0.0.4
func NewIntegerValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntegerValueContext
func (*IntegerValueContext) Accept ¶ added in v0.0.4
func (s *IntegerValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IntegerValueContext) EnterRule ¶ added in v0.0.4
func (s *IntegerValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*IntegerValueContext) ExitRule ¶ added in v0.0.4
func (s *IntegerValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*IntegerValueContext) GetRuleContext ¶ added in v0.0.4
func (s *IntegerValueContext) GetRuleContext() antlr.RuleContext
func (*IntegerValueContext) INTEGER ¶ added in v0.0.4
func (s *IntegerValueContext) INTEGER() antlr.TerminalNode
type NullValueContext ¶ added in v0.0.4
type NullValueContext struct {
*ValueContext
}
func NewNullValueContext ¶ added in v0.0.4
func NewNullValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullValueContext
func (*NullValueContext) Accept ¶ added in v0.0.4
func (s *NullValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NullValueContext) EnterRule ¶ added in v0.0.4
func (s *NullValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*NullValueContext) ExitRule ¶ added in v0.0.4
func (s *NullValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*NullValueContext) GetRuleContext ¶ added in v0.0.4
func (s *NullValueContext) GetRuleContext() antlr.RuleContext
type ObjContext ¶ added in v0.0.4
type ObjContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyObjContext ¶ added in v0.0.4
func NewEmptyObjContext() *ObjContext
func NewObjContext ¶ added in v0.0.4
func NewObjContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjContext
func (*ObjContext) Accept ¶ added in v0.0.4
func (s *ObjContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ObjContext) AllPair ¶ added in v0.0.4
func (s *ObjContext) AllPair() []IPairContext
func (*ObjContext) EnterRule ¶ added in v0.0.4
func (s *ObjContext) EnterRule(listener antlr.ParseTreeListener)
func (*ObjContext) ExitRule ¶ added in v0.0.4
func (s *ObjContext) ExitRule(listener antlr.ParseTreeListener)
func (*ObjContext) GetParser ¶ added in v0.0.4
func (s *ObjContext) GetParser() antlr.Parser
func (*ObjContext) GetRuleContext ¶ added in v0.0.4
func (s *ObjContext) GetRuleContext() antlr.RuleContext
func (*ObjContext) IsObjContext ¶ added in v0.0.4
func (*ObjContext) IsObjContext()
func (*ObjContext) Pair ¶ added in v0.0.4
func (s *ObjContext) Pair(i int) IPairContext
func (*ObjContext) ToStringTree ¶ added in v0.0.4
func (s *ObjContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ObjectValueContext ¶ added in v0.0.4
type ObjectValueContext struct {
*ValueContext
}
func NewObjectValueContext ¶ added in v0.0.4
func NewObjectValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ObjectValueContext
func (*ObjectValueContext) Accept ¶ added in v0.0.4
func (s *ObjectValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ObjectValueContext) EnterRule ¶ added in v0.0.4
func (s *ObjectValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ObjectValueContext) ExitRule ¶ added in v0.0.4
func (s *ObjectValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ObjectValueContext) GetRuleContext ¶ added in v0.0.4
func (s *ObjectValueContext) GetRuleContext() antlr.RuleContext
func (*ObjectValueContext) Obj ¶ added in v0.0.4
func (s *ObjectValueContext) Obj() IObjContext
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) AgValue ¶ added in v0.0.4
func (s *PairContext) AgValue() IAgValueContext
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
type StringValueContext ¶ added in v0.0.4
type StringValueContext struct {
*ValueContext
}
func NewStringValueContext ¶ added in v0.0.4
func NewStringValueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringValueContext
func (*StringValueContext) Accept ¶ added in v0.0.4
func (s *StringValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringValueContext) EnterRule ¶ added in v0.0.4
func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*StringValueContext) ExitRule ¶ added in v0.0.4
func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*StringValueContext) GetRuleContext ¶ added in v0.0.4
func (s *StringValueContext) GetRuleContext() antlr.RuleContext
func (*StringValueContext) STRING ¶ added in v0.0.4
func (s *StringValueContext) STRING() antlr.TerminalNode
type TrueBooleanContext ¶ added in v0.0.4
type TrueBooleanContext struct {
*ValueContext
}
func NewTrueBooleanContext ¶ added in v0.0.4
func NewTrueBooleanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TrueBooleanContext
func (*TrueBooleanContext) Accept ¶ added in v0.0.4
func (s *TrueBooleanContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TrueBooleanContext) EnterRule ¶ added in v0.0.4
func (s *TrueBooleanContext) EnterRule(listener antlr.ParseTreeListener)
func (*TrueBooleanContext) ExitRule ¶ added in v0.0.4
func (s *TrueBooleanContext) ExitRule(listener antlr.ParseTreeListener)
func (*TrueBooleanContext) GetRuleContext ¶ added in v0.0.4
func (s *TrueBooleanContext) GetRuleContext() antlr.RuleContext
type TypeAnnotationContext ¶ added in v0.0.4
type TypeAnnotationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeAnnotationContext ¶ added in v0.0.4
func NewEmptyTypeAnnotationContext() *TypeAnnotationContext
func NewTypeAnnotationContext ¶ added in v0.0.4
func NewTypeAnnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeAnnotationContext
func (*TypeAnnotationContext) Accept ¶ added in v0.0.4
func (s *TypeAnnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeAnnotationContext) EnterRule ¶ added in v0.0.4
func (s *TypeAnnotationContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeAnnotationContext) ExitRule ¶ added in v0.0.4
func (s *TypeAnnotationContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeAnnotationContext) GetParser ¶ added in v0.0.4
func (s *TypeAnnotationContext) GetParser() antlr.Parser
func (*TypeAnnotationContext) GetRuleContext ¶ added in v0.0.4
func (s *TypeAnnotationContext) GetRuleContext() antlr.RuleContext
func (*TypeAnnotationContext) IDENT ¶ added in v0.0.4
func (s *TypeAnnotationContext) IDENT() antlr.TerminalNode
func (*TypeAnnotationContext) IsTypeAnnotationContext ¶ added in v0.0.4
func (*TypeAnnotationContext) IsTypeAnnotationContext()
func (*TypeAnnotationContext) ToStringTree ¶ added in v0.0.4
func (s *TypeAnnotationContext) 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) CopyFrom ¶ added in v0.0.4
func (s *ValueContext) CopyFrom(ctx *ValueContext)
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) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string