Documentation ¶
Index ¶
- Constants
- type AdlContext
- func (s *AdlContext) ADL() antlr.TerminalNode
- func (s *AdlContext) AllDOWN() []antlr.TerminalNode
- func (s *AdlContext) AllUP() []antlr.TerminalNode
- func (s *AdlContext) DOWN(i int) antlr.TerminalNode
- func (s *AdlContext) EOF() antlr.TerminalNode
- func (s *AdlContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AdlContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AdlContext) GetParser() antlr.Parser
- func (s *AdlContext) GetRuleContext() antlr.RuleContext
- func (s *AdlContext) GetTok() antlr.Token
- func (*AdlContext) IsAdlContext()
- func (s *AdlContext) Module() IModuleContext
- func (s *AdlContext) SetTok(v antlr.Token)
- func (s *AdlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AdlContext) UP(i int) antlr.TerminalNode
- func (s *AdlContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *AdlContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type AdlContextVisitor
- type AdlEntryListener
- type AdlExitListener
- type AdlWo
- func (p *AdlWo) Adl() (localctx IAdlContext)
- func (p *AdlWo) Annotation() (localctx IAnnotationContext)
- func (p *AdlWo) Import_() (localctx IImport_Context)
- func (p *AdlWo) Json() (localctx IJsonContext)
- func (p *AdlWo) JsonVal() (localctx IJsonValContext)
- func (p *AdlWo) Module() (localctx IModuleContext)
- func (p *AdlWo) NameBody() (localctx INameBodyContext)
- func (p *AdlWo) Tld() (localctx ITldContext)
- func (p *AdlWo) TypeExpr_() (localctx ITypeExpr_Context)
- type AdlWoHandlers
- type AdlWoListener
- type AdlWoVisitor
- type AnnotationContext
- func (s *AnnotationContext) Annotation() antlr.TerminalNode
- func (s *AnnotationContext) AnnotationNotScoped() antlr.TerminalNode
- func (s *AnnotationContext) AnnotationScoped() antlr.TerminalNode
- func (s *AnnotationContext) DOWN() antlr.TerminalNode
- func (s *AnnotationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AnnotationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AnnotationContext) GetParser() antlr.Parser
- func (s *AnnotationContext) GetRuleContext() antlr.RuleContext
- func (s *AnnotationContext) GetTok() antlr.Token
- func (*AnnotationContext) IsAnnotationContext()
- func (s *AnnotationContext) JsonVal() IJsonValContext
- func (s *AnnotationContext) SetTok(v antlr.Token)
- func (s *AnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AnnotationContext) UP() antlr.TerminalNode
- func (s *AnnotationContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *AnnotationContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type AnnotationContextVisitor
- type AnnotationEntryListener
- type AnnotationExitListener
- type DeclAnnoContext
- func (s *DeclAnnoContext) DOWN() antlr.TerminalNode
- func (s *DeclAnnoContext) DeclAnno() antlr.TerminalNode
- func (s *DeclAnnoContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclAnnoContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclAnnoContext) GetRuleContext() antlr.RuleContext
- func (s *DeclAnnoContext) GetTok() antlr.Token
- func (*DeclAnnoContext) IsDeclAnnoContext()
- func (s *DeclAnnoContext) JsonVal() IJsonValContext
- func (s *DeclAnnoContext) SetTok(v antlr.Token)
- func (s *DeclAnnoContext) UP() antlr.TerminalNode
- func (s *DeclAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *DeclAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type DeclAnnoContextVisitor
- type DeclAnnoEntryListener
- type DeclAnnoExitListener
- type FieldAnnoContext
- func (s *FieldAnnoContext) DOWN() antlr.TerminalNode
- func (s *FieldAnnoContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldAnnoContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldAnnoContext) FieldAnno() antlr.TerminalNode
- func (s *FieldAnnoContext) GetRuleContext() antlr.RuleContext
- func (s *FieldAnnoContext) GetTok() antlr.Token
- func (*FieldAnnoContext) IsFieldAnnoContext()
- func (s *FieldAnnoContext) JsonVal() IJsonValContext
- func (s *FieldAnnoContext) SetTok(v antlr.Token)
- func (s *FieldAnnoContext) UP() antlr.TerminalNode
- func (s *FieldAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *FieldAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type FieldAnnoContextVisitor
- type FieldAnnoEntryListener
- type FieldAnnoExitListener
- type FieldContext
- func (s *FieldContext) AllAnnotation() []IAnnotationContext
- func (s *FieldContext) Annotation(i int) IAnnotationContext
- func (s *FieldContext) DOWN() antlr.TerminalNode
- func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldContext) Field() antlr.TerminalNode
- func (s *FieldContext) GetRuleContext() antlr.RuleContext
- func (s *FieldContext) GetTok() antlr.Token
- func (*FieldContext) IsFieldContext()
- func (s *FieldContext) JsonVal() IJsonValContext
- func (s *FieldContext) SetTok(v antlr.Token)
- func (s *FieldContext) TypeExpr_() ITypeExpr_Context
- func (s *FieldContext) UP() antlr.TerminalNode
- func (s *FieldContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *FieldContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type FieldContextVisitor
- type FieldEntryListener
- type FieldExitListener
- type IAdlContext
- type IAnnotationContext
- type IDeclAnnoContext
- type IFieldAnnoContext
- type IFieldContext
- type IImportModuleContext
- type IImportScopedModuleContext
- type IImport_Context
- type IJsonArrayContext
- type IJsonBoolContext
- type IJsonContext
- type IJsonFloatContext
- type IJsonIntContext
- type IJsonNullContext
- type IJsonObjContext
- type IJsonStrContext
- type IJsonValContext
- type IModAnnoContext
- type IModuleContext
- type INameBodyContext
- type INewtypeContext
- type IStructContext
- type ITldContext
- type ITypeContext
- type ITypeExpr_Context
- type IUnionContext
- type ImportModuleContext
- func (s *ImportModuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImportModuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImportModuleContext) GetRuleContext() antlr.RuleContext
- func (s *ImportModuleContext) ImportModule() antlr.TerminalNode
- func (*ImportModuleContext) IsImportModuleContext()
- func (s *ImportModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *ImportModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type ImportModuleContextVisitor
- type ImportModuleEntryListener
- type ImportModuleExitListener
- type ImportScopedModuleContext
- func (s *ImportScopedModuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImportScopedModuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImportScopedModuleContext) GetRuleContext() antlr.RuleContext
- func (s *ImportScopedModuleContext) ImportScopedName() antlr.TerminalNode
- func (*ImportScopedModuleContext) IsImportScopedModuleContext()
- func (s *ImportScopedModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *ImportScopedModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type ImportScopedModuleContextVisitor
- type ImportScopedModuleEntryListener
- type ImportScopedModuleExitListener
- type Import_Context
- type JsonArrayContext
- func (s *JsonArrayContext) AllJsonVal() []IJsonValContext
- func (s *JsonArrayContext) DOWN() antlr.TerminalNode
- func (s *JsonArrayContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonArrayContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonArrayContext) GetRuleContext() antlr.RuleContext
- func (s *JsonArrayContext) GetTok() antlr.Token
- func (*JsonArrayContext) IsJsonArrayContext()
- func (s *JsonArrayContext) JsonArray() antlr.TerminalNode
- func (s *JsonArrayContext) JsonVal(i int) IJsonValContext
- func (s *JsonArrayContext) SetTok(v antlr.Token)
- func (s *JsonArrayContext) UP() antlr.TerminalNode
- func (s *JsonArrayContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonArrayContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonArrayContextVisitor
- type JsonArrayEntryListener
- type JsonArrayExitListener
- type JsonBoolContext
- func (s *JsonBoolContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonBoolContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonBoolContext) GetRuleContext() antlr.RuleContext
- func (s *JsonBoolContext) GetTok() antlr.Token
- func (*JsonBoolContext) IsJsonBoolContext()
- func (s *JsonBoolContext) JsonBool() antlr.TerminalNode
- func (s *JsonBoolContext) SetTok(v antlr.Token)
- func (s *JsonBoolContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonBoolContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonBoolContextVisitor
- type JsonBoolEntryListener
- type JsonBoolExitListener
- type JsonContext
- func (s *JsonContext) DOWN() antlr.TerminalNode
- func (s *JsonContext) EOF() antlr.TerminalNode
- func (s *JsonContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonContext) GetParser() antlr.Parser
- func (s *JsonContext) GetRuleContext() antlr.RuleContext
- func (*JsonContext) IsJsonContext()
- func (s *JsonContext) JsonVal() IJsonValContext
- func (s *JsonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *JsonContext) UP() antlr.TerminalNode
- func (s *JsonContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonContextVisitor
- type JsonEntryListener
- type JsonExitListener
- type JsonFloatContext
- func (s *JsonFloatContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonFloatContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonFloatContext) GetRuleContext() antlr.RuleContext
- func (s *JsonFloatContext) GetTok() antlr.Token
- func (*JsonFloatContext) IsJsonFloatContext()
- func (s *JsonFloatContext) JsonFloat() antlr.TerminalNode
- func (s *JsonFloatContext) SetTok(v antlr.Token)
- func (s *JsonFloatContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonFloatContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonFloatContextVisitor
- type JsonFloatEntryListener
- type JsonFloatExitListener
- type JsonIntContext
- func (s *JsonIntContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonIntContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonIntContext) GetRuleContext() antlr.RuleContext
- func (s *JsonIntContext) GetTok() antlr.Token
- func (*JsonIntContext) IsJsonIntContext()
- func (s *JsonIntContext) JsonInt() antlr.TerminalNode
- func (s *JsonIntContext) SetTok(v antlr.Token)
- func (s *JsonIntContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonIntContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonIntContextVisitor
- type JsonIntEntryListener
- type JsonIntExitListener
- type JsonNullContext
- func (s *JsonNullContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonNullContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonNullContext) GetRuleContext() antlr.RuleContext
- func (s *JsonNullContext) GetTok() antlr.Token
- func (*JsonNullContext) IsJsonNullContext()
- func (s *JsonNullContext) JsonNull() antlr.TerminalNode
- func (s *JsonNullContext) SetTok(v antlr.Token)
- func (s *JsonNullContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonNullContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonNullContextVisitor
- type JsonNullEntryListener
- type JsonNullExitListener
- type JsonObjContext
- func (s *JsonObjContext) AllJsonObjKey() []antlr.TerminalNode
- func (s *JsonObjContext) AllJsonVal() []IJsonValContext
- func (s *JsonObjContext) DOWN() antlr.TerminalNode
- func (s *JsonObjContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonObjContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonObjContext) GetRuleContext() antlr.RuleContext
- func (s *JsonObjContext) GetTok() antlr.Token
- func (*JsonObjContext) IsJsonObjContext()
- func (s *JsonObjContext) JsonObj() antlr.TerminalNode
- func (s *JsonObjContext) JsonObjKey(i int) antlr.TerminalNode
- func (s *JsonObjContext) JsonVal(i int) IJsonValContext
- func (s *JsonObjContext) SetTok(v antlr.Token)
- func (s *JsonObjContext) UP() antlr.TerminalNode
- func (s *JsonObjContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonObjContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonObjContextVisitor
- type JsonObjEntryListener
- type JsonObjExitListener
- type JsonStrContext
- func (s *JsonStrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JsonStrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JsonStrContext) GetRuleContext() antlr.RuleContext
- func (s *JsonStrContext) GetTok() antlr.Token
- func (*JsonStrContext) IsJsonStrContext()
- func (s *JsonStrContext) JsonStr() antlr.TerminalNode
- func (s *JsonStrContext) SetTok(v antlr.Token)
- func (s *JsonStrContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *JsonStrContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type JsonStrContextVisitor
- type JsonStrEntryListener
- type JsonStrExitListener
- type JsonValContext
- type ModAnnoContext
- func (s *ModAnnoContext) DOWN() antlr.TerminalNode
- func (s *ModAnnoContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModAnnoContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModAnnoContext) GetRuleContext() antlr.RuleContext
- func (s *ModAnnoContext) GetTok() antlr.Token
- func (*ModAnnoContext) IsModAnnoContext()
- func (s *ModAnnoContext) JsonVal() IJsonValContext
- func (s *ModAnnoContext) ModuleAnno() antlr.TerminalNode
- func (s *ModAnnoContext) SetTok(v antlr.Token)
- func (s *ModAnnoContext) UP() antlr.TerminalNode
- func (s *ModAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *ModAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type ModAnnoContextVisitor
- type ModAnnoEntryListener
- type ModAnnoExitListener
- type ModuleContext
- func (s *ModuleContext) AllAnnotation() []IAnnotationContext
- func (s *ModuleContext) AllImport_() []IImport_Context
- func (s *ModuleContext) AllTld() []ITldContext
- func (s *ModuleContext) Annotation(i int) IAnnotationContext
- func (s *ModuleContext) DOWN() antlr.TerminalNode
- func (s *ModuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModuleContext) GetParser() antlr.Parser
- func (s *ModuleContext) GetRuleContext() antlr.RuleContext
- func (s *ModuleContext) GetTok() antlr.Token
- func (s *ModuleContext) Import_(i int) IImport_Context
- func (*ModuleContext) IsModuleContext()
- func (s *ModuleContext) Module() antlr.TerminalNode
- func (s *ModuleContext) SetTok(v antlr.Token)
- func (s *ModuleContext) Tld(i int) ITldContext
- func (s *ModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ModuleContext) UP() antlr.TerminalNode
- func (s *ModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *ModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type ModuleContextVisitor
- type ModuleEntryListener
- type ModuleExitListener
- type NameBodyContext
- func (s *NameBodyContext) CopyFrom(ctx *NameBodyContext)
- func (s *NameBodyContext) GetParser() antlr.Parser
- func (s *NameBodyContext) GetRuleContext() antlr.RuleContext
- func (*NameBodyContext) IsNameBodyContext()
- func (s *NameBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NewtypeContext
- func (s *NewtypeContext) AllAnnotation() []IAnnotationContext
- func (s *NewtypeContext) AllJsonVal() []IJsonValContext
- func (s *NewtypeContext) Annotation(i int) IAnnotationContext
- func (s *NewtypeContext) DOWN() antlr.TerminalNode
- func (s *NewtypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NewtypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NewtypeContext) GetRuleContext() antlr.RuleContext
- func (s *NewtypeContext) GetTok() antlr.Token
- func (*NewtypeContext) IsNewtypeContext()
- func (s *NewtypeContext) JsonVal(i int) IJsonValContext
- func (s *NewtypeContext) Newtype() antlr.TerminalNode
- func (s *NewtypeContext) SetTok(v antlr.Token)
- func (s *NewtypeContext) TypeExpr_() ITypeExpr_Context
- func (s *NewtypeContext) TypeParam() antlr.TerminalNode
- func (s *NewtypeContext) UP() antlr.TerminalNode
- func (s *NewtypeContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *NewtypeContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type NewtypeContextVisitor
- type NewtypeEntryListener
- type NewtypeExitListener
- type StructContext
- func (s *StructContext) AllAnnotation() []IAnnotationContext
- func (s *StructContext) AllNameBody() []INameBodyContext
- func (s *StructContext) Annotation(i int) IAnnotationContext
- func (s *StructContext) DOWN() antlr.TerminalNode
- func (s *StructContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructContext) GetRuleContext() antlr.RuleContext
- func (s *StructContext) GetTok() antlr.Token
- func (*StructContext) IsStructContext()
- func (s *StructContext) NameBody(i int) INameBodyContext
- func (s *StructContext) SetTok(v antlr.Token)
- func (s *StructContext) Struct() antlr.TerminalNode
- func (s *StructContext) TypeParam() antlr.TerminalNode
- func (s *StructContext) UP() antlr.TerminalNode
- func (s *StructContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *StructContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type StructContextVisitor
- type StructEntryListener
- type StructExitListener
- type TldContext
- type TypeContext
- func (s *TypeContext) AllAnnotation() []IAnnotationContext
- func (s *TypeContext) AllJsonVal() []IJsonValContext
- func (s *TypeContext) Annotation(i int) IAnnotationContext
- func (s *TypeContext) DOWN() antlr.TerminalNode
- func (s *TypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeContext) GetRuleContext() antlr.RuleContext
- func (s *TypeContext) GetTok() antlr.Token
- func (*TypeContext) IsTypeContext()
- func (s *TypeContext) JsonVal(i int) IJsonValContext
- func (s *TypeContext) SetTok(v antlr.Token)
- func (s *TypeContext) Type() antlr.TerminalNode
- func (s *TypeContext) TypeExpr_() ITypeExpr_Context
- func (s *TypeContext) TypeParam() antlr.TerminalNode
- func (s *TypeContext) UP() antlr.TerminalNode
- func (s *TypeContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *TypeContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type TypeContextVisitor
- type TypeEntryListener
- type TypeExitListener
- type TypeExpr_Context
- func (s *TypeExpr_Context) AllTypeExpr_() []ITypeExpr_Context
- func (s *TypeExpr_Context) DOWN() antlr.TerminalNode
- func (s *TypeExpr_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeExpr_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeExpr_Context) GetParser() antlr.Parser
- func (s *TypeExpr_Context) GetRuleContext() antlr.RuleContext
- func (s *TypeExpr_Context) GetTok() antlr.Token
- func (*TypeExpr_Context) IsTypeExpr_Context()
- func (s *TypeExpr_Context) SetTok(v antlr.Token)
- func (s *TypeExpr_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeExpr_Context) TypeExprGeneric() antlr.TerminalNode
- func (s *TypeExpr_Context) TypeExprSimple() antlr.TerminalNode
- func (s *TypeExpr_Context) TypeExpr_(i int) ITypeExpr_Context
- func (s *TypeExpr_Context) UP() antlr.TerminalNode
- func (s *TypeExpr_Context) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *TypeExpr_Context) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type TypeExpr_ContextVisitor
- type TypeExpr_EntryListener
- type TypeExpr_ExitListener
- type UnionContext
- func (s *UnionContext) AllAnnotation() []IAnnotationContext
- func (s *UnionContext) AllNameBody() []INameBodyContext
- func (s *UnionContext) Annotation(i int) IAnnotationContext
- func (s *UnionContext) DOWN() antlr.TerminalNode
- func (s *UnionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnionContext) GetRuleContext() antlr.RuleContext
- func (s *UnionContext) GetTok() antlr.Token
- func (*UnionContext) IsUnionContext()
- func (s *UnionContext) NameBody(i int) INameBodyContext
- func (s *UnionContext) SetTok(v antlr.Token)
- func (s *UnionContext) TypeParam() antlr.TerminalNode
- func (s *UnionContext) UP() antlr.TerminalNode
- func (s *UnionContext) Union() antlr.TerminalNode
- func (s *UnionContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
- func (s *UnionContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
- type UnionContextVisitor
- type UnionEntryListener
- type UnionExitListener
Constants ¶
const ( AdlWoEOF = antlr.TokenEOF AdlWoLCUR = 1 AdlWoRCUR = 2 AdlWoLSQ = 3 AdlWoRSQ = 4 AdlWoEQ = 5 AdlWoDQ = 6 AdlWoSQ = 7 AdlWoSEMI = 8 AdlWoDCOLON = 9 AdlWoCOLON = 10 AdlWoDOT = 11 AdlWoCOMMA = 12 AdlWoLCHEVR = 13 AdlWoRCHEVR = 14 AdlWoSTAR = 15 AdlWoAT = 16 AdlWoSTR = 17 AdlWoID = 18 AdlWoINT = 19 AdlWoFLT = 20 AdlWoWS = 21 AdlWoLINE_DOC = 22 AdlWoLINE_COMMENT = 23 AdlWoDOWN = 24 AdlWoUP = 25 AdlWoROOT = 26 AdlWoERROR = 27 AdlWoADL = 28 AdlWoModule = 29 AdlWoImport = 30 AdlWoImportModule = 31 AdlWoImportScopedName = 32 AdlWoDecl = 33 AdlWoScopedName = 34 AdlWoDeclType = 35 AdlWoTypeDef = 36 AdlWoNewType = 37 AdlWoTypeExpr = 38 AdlWoAnnotation = 39 AdlWoAnnotationNotScoped = 40 AdlWoAnnotationScoped = 41 AdlWoPrimitive = 42 AdlWoStruct = 43 AdlWoUnion = 44 AdlWoNewtype = 45 AdlWoType = 46 AdlWoTypeParam = 47 AdlWoTypeExprSimple = 48 AdlWoTypeExprGeneric = 49 AdlWoField = 50 AdlWoJson = 51 AdlWoJsonStr = 52 AdlWoJsonBool = 53 AdlWoJsonNull = 54 AdlWoJsonInt = 55 AdlWoJsonFloat = 56 AdlWoJsonArray = 57 AdlWoJsonObj = 58 AdlWoJsonObjKey = 59 AdlWoModuleAnno = 60 AdlWoDeclAnno = 61 AdlWoFieldAnno = 62 AdlWoDNAC = 63 AdlWoName = 64 AdlWoExnotation = 65 )
AdlWo tokens.
const ( AdlWoRULE_adl = 0 AdlWoRULE_json = 1 AdlWoRULE_module = 2 AdlWoRULE_import_ = 3 AdlWoRULE_tld = 4 AdlWoRULE_nameBody = 5 AdlWoRULE_annotation = 6 AdlWoRULE_typeExpr_ = 7 AdlWoRULE_jsonVal = 8 )
AdlWo rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdlContext ¶
type AdlContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAdlContext ¶
func NewAdlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AdlContext
func NewEmptyAdlContext ¶
func NewEmptyAdlContext() *AdlContext
func (*AdlContext) ADL ¶
func (s *AdlContext) ADL() antlr.TerminalNode
func (*AdlContext) AllUP ¶
func (s *AdlContext) AllUP() []antlr.TerminalNode
func (*AdlContext) DOWN ¶
func (s *AdlContext) DOWN(i int) antlr.TerminalNode
func (*AdlContext) EOF ¶
func (s *AdlContext) EOF() antlr.TerminalNode
func (*AdlContext) EnterRule ¶
func (s *AdlContext) EnterRule(listener antlr.ParseTreeListener)
dispatchMethods
func (*AdlContext) ExitRule ¶
func (s *AdlContext) ExitRule(listener antlr.ParseTreeListener)
func (*AdlContext) GetParser ¶
func (s *AdlContext) GetParser() antlr.Parser
func (*AdlContext) GetRuleContext ¶
func (s *AdlContext) GetRuleContext() antlr.RuleContext
provideCopyFrom
func (*AdlContext) IsAdlContext ¶
func (*AdlContext) IsAdlContext()
func (*AdlContext) Module ¶
func (s *AdlContext) Module() IModuleContext
func (*AdlContext) SetTok ¶
func (s *AdlContext) SetTok(v antlr.Token)
func (*AdlContext) ToStringTree ¶
func (s *AdlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AdlContext) UP ¶
func (s *AdlContext) UP(i int) antlr.TerminalNode
func (*AdlContext) Visit ¶
func (s *AdlContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*AdlContext) VisitFunc ¶
func (s *AdlContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type AdlContextVisitor ¶
type AdlContextVisitor interface {
VisitAdl(ctx IAdlContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type AdlEntryListener ¶
type AdlEntryListener interface {
EnterAdl(c *AdlContext)
}
Rules with unnamed alternatives
type AdlExitListener ¶
type AdlExitListener interface {
ExitAdl(c *AdlContext)
}
type AdlWo ¶
type AdlWo struct {
*antlr.BaseParser
}
func (*AdlWo) Adl ¶
func (p *AdlWo) Adl() (localctx IAdlContext)
func (*AdlWo) Annotation ¶
func (p *AdlWo) Annotation() (localctx IAnnotationContext)
func (*AdlWo) Import_ ¶
func (p *AdlWo) Import_() (localctx IImport_Context)
func (*AdlWo) Json ¶
func (p *AdlWo) Json() (localctx IJsonContext)
func (*AdlWo) JsonVal ¶
func (p *AdlWo) JsonVal() (localctx IJsonValContext)
func (*AdlWo) Module ¶
func (p *AdlWo) Module() (localctx IModuleContext)
func (*AdlWo) NameBody ¶
func (p *AdlWo) NameBody() (localctx INameBodyContext)
func (*AdlWo) Tld ¶
func (p *AdlWo) Tld() (localctx ITldContext)
func (*AdlWo) TypeExpr_ ¶
func (p *AdlWo) TypeExpr_() (localctx ITypeExpr_Context)
type AdlWoHandlers ¶
type AdlWoHandlers struct { EnterEveryRule func(ctx antlr.RuleNode) ExitEveryRule func(ctx antlr.RuleNode) Adl func(ctx IAdlContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Json func(ctx IJsonContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Module func(ctx IModuleContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) ImportModule func(ctx IImportModuleContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) ImportScopedModule func(ctx IImportScopedModuleContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Struct func(ctx IStructContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Union func(ctx IUnionContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Type func(ctx ITypeContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Newtype func(ctx INewtypeContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) ModAnno func(ctx IModAnnoContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) DeclAnno func(ctx IDeclAnnoContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) FieldAnno func(ctx IFieldAnnoContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Field func(ctx IFieldContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) Annotation func(ctx IAnnotationContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) TypeExpr_ func(ctx ITypeExpr_Context, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonStr func(ctx IJsonStrContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonBool func(ctx IJsonBoolContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonNull func(ctx IJsonNullContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonInt func(ctx IJsonIntContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonFloat func(ctx IJsonFloatContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonArray func(ctx IJsonArrayContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) JsonObj func(ctx IJsonObjContext, this *AdlWoHandlers, args ...interface{}) (result interface{}) }
Struct of Handlers
type AdlWoListener ¶
type AdlWoListener interface { antlr.ParseTreeListener AdlEntryListener AdlExitListener JsonEntryListener JsonExitListener ModuleEntryListener ModuleExitListener AnnotationEntryListener AnnotationExitListener TypeExpr_EntryListener TypeExpr_ExitListener ImportModuleEntryListener ImportModuleExitListener ImportScopedModuleEntryListener ImportScopedModuleExitListener StructEntryListener StructExitListener UnionEntryListener UnionExitListener TypeEntryListener TypeExitListener NewtypeEntryListener NewtypeExitListener ModAnnoEntryListener ModAnnoExitListener DeclAnnoEntryListener DeclAnnoExitListener FieldAnnoEntryListener FieldAnnoExitListener FieldEntryListener FieldExitListener JsonStrEntryListener JsonStrExitListener JsonBoolEntryListener JsonBoolExitListener JsonNullEntryListener JsonNullExitListener JsonIntEntryListener JsonIntExitListener JsonFloatEntryListener JsonFloatExitListener JsonArrayEntryListener JsonArrayExitListener JsonObjEntryListener JsonObjExitListener }
AdlWoListener is a complete listener for a parse tree produced by AdlWo.
type AdlWoVisitor ¶
type AdlWoVisitor interface { antlr.ParseTreeVisitor AdlContextVisitor JsonContextVisitor ModuleContextVisitor ImportModuleContextVisitor ImportScopedModuleContextVisitor StructContextVisitor UnionContextVisitor TypeContextVisitor NewtypeContextVisitor ModAnnoContextVisitor DeclAnnoContextVisitor FieldAnnoContextVisitor FieldContextVisitor AnnotationContextVisitor TypeExpr_ContextVisitor JsonStrContextVisitor JsonBoolContextVisitor JsonNullContextVisitor JsonIntContextVisitor JsonFloatContextVisitor JsonArrayContextVisitor JsonObjContextVisitor }
A complete Visitor for a parse tree produced by AdlWo.
type AnnotationContext ¶
type AnnotationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAnnotationContext ¶
func NewAnnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnotationContext
func NewEmptyAnnotationContext ¶
func NewEmptyAnnotationContext() *AnnotationContext
func (*AnnotationContext) Annotation ¶
func (s *AnnotationContext) Annotation() antlr.TerminalNode
Getters
func (*AnnotationContext) AnnotationNotScoped ¶
func (s *AnnotationContext) AnnotationNotScoped() antlr.TerminalNode
func (*AnnotationContext) AnnotationScoped ¶
func (s *AnnotationContext) AnnotationScoped() antlr.TerminalNode
func (*AnnotationContext) DOWN ¶
func (s *AnnotationContext) DOWN() antlr.TerminalNode
func (*AnnotationContext) EnterRule ¶
func (s *AnnotationContext) EnterRule(listener antlr.ParseTreeListener)
dispatchMethods
func (*AnnotationContext) ExitRule ¶
func (s *AnnotationContext) ExitRule(listener antlr.ParseTreeListener)
func (*AnnotationContext) GetParser ¶
func (s *AnnotationContext) GetParser() antlr.Parser
func (*AnnotationContext) GetRuleContext ¶
func (s *AnnotationContext) GetRuleContext() antlr.RuleContext
provideCopyFrom
func (*AnnotationContext) GetTok ¶
func (s *AnnotationContext) GetTok() antlr.Token
StructDecl tokenDecls
func (*AnnotationContext) IsAnnotationContext ¶
func (*AnnotationContext) IsAnnotationContext()
func (*AnnotationContext) JsonVal ¶
func (s *AnnotationContext) JsonVal() IJsonValContext
func (*AnnotationContext) SetTok ¶
func (s *AnnotationContext) SetTok(v antlr.Token)
func (*AnnotationContext) ToStringTree ¶
func (s *AnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AnnotationContext) UP ¶
func (s *AnnotationContext) UP() antlr.TerminalNode
func (*AnnotationContext) Visit ¶
func (s *AnnotationContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*AnnotationContext) VisitFunc ¶
func (s *AnnotationContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type AnnotationContextVisitor ¶
type AnnotationContextVisitor interface {
VisitAnnotation(ctx IAnnotationContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type AnnotationEntryListener ¶
type AnnotationEntryListener interface {
EnterAnnotation(c *AnnotationContext)
}
type AnnotationExitListener ¶
type AnnotationExitListener interface {
ExitAnnotation(c *AnnotationContext)
}
type DeclAnnoContext ¶
type DeclAnnoContext struct { *TldContext // contains filtered or unexported fields }
func NewDeclAnnoContext ¶
func NewDeclAnnoContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DeclAnnoContext
func (*DeclAnnoContext) DeclAnno ¶
func (s *DeclAnnoContext) DeclAnno() antlr.TerminalNode
func (*DeclAnnoContext) EnterRule ¶
func (s *DeclAnnoContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclAnnoContext) ExitRule ¶
func (s *DeclAnnoContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclAnnoContext) GetRuleContext ¶
func (s *DeclAnnoContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*DeclAnnoContext) GetTok ¶
func (s *DeclAnnoContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*DeclAnnoContext) IsDeclAnnoContext ¶
func (*DeclAnnoContext) IsDeclAnnoContext()
func (*DeclAnnoContext) JsonVal ¶
func (s *DeclAnnoContext) JsonVal() IJsonValContext
func (*DeclAnnoContext) SetTok ¶
func (s *DeclAnnoContext) SetTok(v antlr.Token)
func (*DeclAnnoContext) UP ¶
func (s *DeclAnnoContext) UP() antlr.TerminalNode
func (*DeclAnnoContext) Visit ¶
func (s *DeclAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*DeclAnnoContext) VisitFunc ¶
func (s *DeclAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type DeclAnnoContextVisitor ¶
type DeclAnnoContextVisitor interface {
VisitDeclAnno(ctx IDeclAnnoContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type DeclAnnoEntryListener ¶
type DeclAnnoEntryListener interface {
EnterDeclAnno(c *DeclAnnoContext)
}
From Rule 'tld'
type DeclAnnoExitListener ¶
type DeclAnnoExitListener interface {
ExitDeclAnno(c *DeclAnnoContext)
}
type FieldAnnoContext ¶
type FieldAnnoContext struct { *TldContext // contains filtered or unexported fields }
func NewFieldAnnoContext ¶
func NewFieldAnnoContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldAnnoContext
func (*FieldAnnoContext) EnterRule ¶
func (s *FieldAnnoContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldAnnoContext) ExitRule ¶
func (s *FieldAnnoContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldAnnoContext) FieldAnno ¶
func (s *FieldAnnoContext) FieldAnno() antlr.TerminalNode
func (*FieldAnnoContext) GetRuleContext ¶
func (s *FieldAnnoContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*FieldAnnoContext) GetTok ¶
func (s *FieldAnnoContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*FieldAnnoContext) IsFieldAnnoContext ¶
func (*FieldAnnoContext) IsFieldAnnoContext()
func (*FieldAnnoContext) JsonVal ¶
func (s *FieldAnnoContext) JsonVal() IJsonValContext
func (*FieldAnnoContext) SetTok ¶
func (s *FieldAnnoContext) SetTok(v antlr.Token)
func (*FieldAnnoContext) UP ¶
func (s *FieldAnnoContext) UP() antlr.TerminalNode
func (*FieldAnnoContext) Visit ¶
func (s *FieldAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*FieldAnnoContext) VisitFunc ¶
func (s *FieldAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type FieldAnnoContextVisitor ¶
type FieldAnnoContextVisitor interface {
VisitFieldAnno(ctx IFieldAnnoContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type FieldAnnoEntryListener ¶
type FieldAnnoEntryListener interface {
EnterFieldAnno(c *FieldAnnoContext)
}
From Rule 'tld'
type FieldAnnoExitListener ¶
type FieldAnnoExitListener interface {
ExitFieldAnno(c *FieldAnnoContext)
}
type FieldContext ¶
type FieldContext struct { *NameBodyContext // contains filtered or unexported fields }
func NewFieldContext ¶
func NewFieldContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldContext
func (*FieldContext) AllAnnotation ¶
func (s *FieldContext) AllAnnotation() []IAnnotationContext
func (*FieldContext) Annotation ¶
func (s *FieldContext) Annotation(i int) IAnnotationContext
func (*FieldContext) DOWN ¶
func (s *FieldContext) DOWN() antlr.TerminalNode
func (*FieldContext) EnterRule ¶
func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldContext) ExitRule ¶
func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldContext) GetRuleContext ¶
func (s *FieldContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*FieldContext) GetTok ¶
func (s *FieldContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*FieldContext) IsFieldContext ¶
func (*FieldContext) IsFieldContext()
func (*FieldContext) JsonVal ¶
func (s *FieldContext) JsonVal() IJsonValContext
func (*FieldContext) SetTok ¶
func (s *FieldContext) SetTok(v antlr.Token)
func (*FieldContext) TypeExpr_ ¶
func (s *FieldContext) TypeExpr_() ITypeExpr_Context
func (*FieldContext) UP ¶
func (s *FieldContext) UP() antlr.TerminalNode
func (*FieldContext) Visit ¶
func (s *FieldContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*FieldContext) VisitFunc ¶
func (s *FieldContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type FieldContextVisitor ¶
type FieldContextVisitor interface {
VisitField(ctx IFieldContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type FieldEntryListener ¶
type FieldEntryListener interface {
EnterField(c *FieldContext)
}
From Rule 'nameBody'
type FieldExitListener ¶
type FieldExitListener interface {
ExitField(c *FieldContext)
}
type IAdlContext ¶
type IAdlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // start internal // ruleGetterDecl Module() IModuleContext // ruleListGetterDecl // ruleListIndexedGetterDecl // ruleContextDecls // ruleContextListDecls // end internal //Gets for labeled elements //tokenDecls GetTok() antlr.Token //tokenTypeDecls //tokenListDecls //attributeDecls //tokenGetterDecl EOF() antlr.TerminalNode ADL() antlr.TerminalNode //tokenListGetterDecl AllDOWN() []antlr.TerminalNode AllUP() []antlr.TerminalNode //tokenListIndexedGetterDecl DOWN(i int) antlr.TerminalNode UP(i int) antlr.TerminalNode }
type IAnnotationContext ¶
type IAnnotationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // start internal // ruleGetterDecl JsonVal() IJsonValContext // ruleListGetterDecl // ruleListIndexedGetterDecl // ruleContextDecls // ruleContextListDecls // end internal //Gets for labeled elements //tokenDecls GetTok() antlr.Token //tokenTypeDecls //tokenListDecls //attributeDecls //tokenGetterDecl Annotation() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode AnnotationNotScoped() antlr.TerminalNode AnnotationScoped() antlr.TerminalNode }
type IDeclAnnoContext ¶
type IDeclAnnoContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl JsonVal() IJsonValContext // tokenGetterDecl DOWN() antlr.TerminalNode UP() antlr.TerminalNode DeclAnno() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IFieldAnnoContext ¶
type IFieldAnnoContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl JsonVal() IJsonValContext // tokenGetterDecl DOWN() antlr.TerminalNode UP() antlr.TerminalNode FieldAnno() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IFieldContext ¶
type IFieldContext interface { //Current rule INameBodyContext // start internal //Gets for raw elements // ruleGetterDecl TypeExpr_() ITypeExpr_Context JsonVal() IJsonValContext // ruleListGetterDecl AllAnnotation() []IAnnotationContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext // tokenGetterDecl Field() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IImportModuleContext ¶
type IImportModuleContext interface { //Current rule IImport_Context // tokenGetterDecl ImportModule() antlr.TerminalNode }
type IImportScopedModuleContext ¶
type IImportScopedModuleContext interface { //Current rule IImport_Context // tokenGetterDecl ImportScopedName() antlr.TerminalNode }
type IImport_Context ¶
type IImport_Context interface {
antlr.ParserRuleContext
// GetParser returns the parser.
GetParser() antlr.Parser
}
type IJsonArrayContext ¶
type IJsonArrayContext interface { //Current rule IJsonValContext // start internal //Gets for raw elements // ruleGetterDecl // ruleListGetterDecl AllJsonVal() []IJsonValContext // ruleListIndexedGetterDecl JsonVal(i int) IJsonValContext // tokenGetterDecl JsonArray() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonBoolContext ¶
type IJsonBoolContext interface { //Current rule IJsonValContext // tokenGetterDecl JsonBool() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonContext ¶
type IJsonContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // start internal // ruleGetterDecl JsonVal() IJsonValContext // ruleListGetterDecl // ruleListIndexedGetterDecl // ruleContextDecls // ruleContextListDecls // end internal //Gets for labeled elements //tokenDecls //tokenTypeDecls //tokenListDecls //attributeDecls //tokenGetterDecl DOWN() antlr.TerminalNode UP() antlr.TerminalNode EOF() antlr.TerminalNode }
type IJsonFloatContext ¶
type IJsonFloatContext interface { //Current rule IJsonValContext // tokenGetterDecl JsonFloat() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonIntContext ¶
type IJsonIntContext interface { //Current rule IJsonValContext // tokenGetterDecl JsonInt() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonNullContext ¶
type IJsonNullContext interface { //Current rule IJsonValContext // tokenGetterDecl JsonNull() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonObjContext ¶
type IJsonObjContext interface { //Current rule IJsonValContext // start internal //Gets for raw elements // ruleGetterDecl // ruleListGetterDecl AllJsonVal() []IJsonValContext // ruleListIndexedGetterDecl JsonVal(i int) IJsonValContext // tokenGetterDecl JsonObj() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode // tokenListGetterDecl AllJsonObjKey() []antlr.TerminalNode // tokenListIndexedGetterDecl JsonObjKey(i int) antlr.TerminalNode // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonStrContext ¶
type IJsonStrContext interface { //Current rule IJsonValContext // tokenGetterDecl JsonStr() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IJsonValContext ¶
type IJsonValContext interface {
antlr.ParserRuleContext
// GetParser returns the parser.
GetParser() antlr.Parser
}
type IModAnnoContext ¶
type IModAnnoContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl JsonVal() IJsonValContext // tokenGetterDecl DOWN() antlr.TerminalNode UP() antlr.TerminalNode ModuleAnno() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IModuleContext ¶
type IModuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // start internal // ruleGetterDecl // ruleListGetterDecl AllAnnotation() []IAnnotationContext AllImport_() []IImport_Context AllTld() []ITldContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext Import_(i int) IImport_Context Tld(i int) ITldContext // ruleContextDecls // ruleContextListDecls // end internal //Gets for labeled elements //tokenDecls GetTok() antlr.Token //tokenTypeDecls //tokenListDecls //attributeDecls //tokenGetterDecl Module() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode }
type INameBodyContext ¶
type INameBodyContext interface {
antlr.ParserRuleContext
// GetParser returns the parser.
GetParser() antlr.Parser
}
type INewtypeContext ¶
type INewtypeContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl TypeExpr_() ITypeExpr_Context // ruleListGetterDecl AllAnnotation() []IAnnotationContext AllJsonVal() []IJsonValContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext JsonVal(i int) IJsonValContext // tokenGetterDecl Newtype() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode TypeParam() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type IStructContext ¶
type IStructContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl // ruleListGetterDecl AllAnnotation() []IAnnotationContext AllNameBody() []INameBodyContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext NameBody(i int) INameBodyContext // tokenGetterDecl Struct() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode TypeParam() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type ITldContext ¶
type ITldContext interface {
antlr.ParserRuleContext
// GetParser returns the parser.
GetParser() antlr.Parser
}
type ITypeContext ¶
type ITypeContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl TypeExpr_() ITypeExpr_Context // ruleListGetterDecl AllAnnotation() []IAnnotationContext AllJsonVal() []IJsonValContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext JsonVal(i int) IJsonValContext // tokenGetterDecl Type() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode TypeParam() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type ITypeExpr_Context ¶
type ITypeExpr_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // start internal // ruleGetterDecl // ruleListGetterDecl AllTypeExpr_() []ITypeExpr_Context // ruleListIndexedGetterDecl TypeExpr_(i int) ITypeExpr_Context // ruleContextDecls // ruleContextListDecls // end internal //Gets for labeled elements //tokenDecls GetTok() antlr.Token //tokenTypeDecls //tokenListDecls //attributeDecls //tokenGetterDecl TypeExprSimple() antlr.TerminalNode TypeExprGeneric() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode }
type IUnionContext ¶
type IUnionContext interface { //Current rule ITldContext // start internal //Gets for raw elements // ruleGetterDecl // ruleListGetterDecl AllAnnotation() []IAnnotationContext AllNameBody() []INameBodyContext // ruleListIndexedGetterDecl Annotation(i int) IAnnotationContext NameBody(i int) INameBodyContext // tokenGetterDecl Union() antlr.TerminalNode DOWN() antlr.TerminalNode UP() antlr.TerminalNode TypeParam() antlr.TerminalNode // tokenListGetterDecl // tokenListIndexedGetterDecl // end internal // //Gets for labeled elements // tokenDecls GetTok() antlr.Token }
type ImportModuleContext ¶
type ImportModuleContext struct {
*Import_Context
}
func NewImportModuleContext ¶
func NewImportModuleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImportModuleContext
func (*ImportModuleContext) EnterRule ¶
func (s *ImportModuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImportModuleContext) ExitRule ¶
func (s *ImportModuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImportModuleContext) GetRuleContext ¶
func (s *ImportModuleContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*ImportModuleContext) ImportModule ¶
func (s *ImportModuleContext) ImportModule() antlr.TerminalNode
getters
func (*ImportModuleContext) IsImportModuleContext ¶
func (*ImportModuleContext) IsImportModuleContext()
func (*ImportModuleContext) Visit ¶
func (s *ImportModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*ImportModuleContext) VisitFunc ¶
func (s *ImportModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type ImportModuleContextVisitor ¶
type ImportModuleContextVisitor interface {
VisitImportModule(ctx IImportModuleContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type ImportModuleEntryListener ¶
type ImportModuleEntryListener interface {
EnterImportModule(c *ImportModuleContext)
}
Named alternatives
From Rule 'import_'
type ImportModuleExitListener ¶
type ImportModuleExitListener interface {
ExitImportModule(c *ImportModuleContext)
}
type ImportScopedModuleContext ¶
type ImportScopedModuleContext struct {
*Import_Context
}
func NewImportScopedModuleContext ¶
func NewImportScopedModuleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImportScopedModuleContext
func (*ImportScopedModuleContext) EnterRule ¶
func (s *ImportScopedModuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImportScopedModuleContext) ExitRule ¶
func (s *ImportScopedModuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImportScopedModuleContext) GetRuleContext ¶
func (s *ImportScopedModuleContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*ImportScopedModuleContext) ImportScopedName ¶
func (s *ImportScopedModuleContext) ImportScopedName() antlr.TerminalNode
getters
func (*ImportScopedModuleContext) IsImportScopedModuleContext ¶
func (*ImportScopedModuleContext) IsImportScopedModuleContext()
func (*ImportScopedModuleContext) Visit ¶
func (s *ImportScopedModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*ImportScopedModuleContext) VisitFunc ¶
func (s *ImportScopedModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type ImportScopedModuleContextVisitor ¶
type ImportScopedModuleContextVisitor interface {
VisitImportScopedModule(ctx IImportScopedModuleContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type ImportScopedModuleEntryListener ¶
type ImportScopedModuleEntryListener interface {
EnterImportScopedModule(c *ImportScopedModuleContext)
}
From Rule 'import_'
type ImportScopedModuleExitListener ¶
type ImportScopedModuleExitListener interface {
ExitImportScopedModule(c *ImportScopedModuleContext)
}
type Import_Context ¶
type Import_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImport_Context ¶
func NewEmptyImport_Context() *Import_Context
func NewImport_Context ¶
func NewImport_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_Context
func (*Import_Context) CopyFrom ¶
func (s *Import_Context) CopyFrom(ctx *Import_Context)
provideCopyFrom
func (*Import_Context) GetParser ¶
func (s *Import_Context) GetParser() antlr.Parser
func (*Import_Context) GetRuleContext ¶
func (s *Import_Context) GetRuleContext() antlr.RuleContext
func (*Import_Context) IsImport_Context ¶
func (*Import_Context) IsImport_Context()
func (*Import_Context) ToStringTree ¶
func (s *Import_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type JsonArrayContext ¶
type JsonArrayContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonArrayContext ¶
func NewJsonArrayContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonArrayContext
func (*JsonArrayContext) AllJsonVal ¶
func (s *JsonArrayContext) AllJsonVal() []IJsonValContext
func (*JsonArrayContext) DOWN ¶
func (s *JsonArrayContext) DOWN() antlr.TerminalNode
func (*JsonArrayContext) EnterRule ¶
func (s *JsonArrayContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonArrayContext) ExitRule ¶
func (s *JsonArrayContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonArrayContext) GetRuleContext ¶
func (s *JsonArrayContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonArrayContext) GetTok ¶
func (s *JsonArrayContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonArrayContext) IsJsonArrayContext ¶
func (*JsonArrayContext) IsJsonArrayContext()
func (*JsonArrayContext) JsonArray ¶
func (s *JsonArrayContext) JsonArray() antlr.TerminalNode
getters
func (*JsonArrayContext) JsonVal ¶
func (s *JsonArrayContext) JsonVal(i int) IJsonValContext
func (*JsonArrayContext) SetTok ¶
func (s *JsonArrayContext) SetTok(v antlr.Token)
func (*JsonArrayContext) UP ¶
func (s *JsonArrayContext) UP() antlr.TerminalNode
func (*JsonArrayContext) Visit ¶
func (s *JsonArrayContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonArrayContext) VisitFunc ¶
func (s *JsonArrayContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonArrayContextVisitor ¶
type JsonArrayContextVisitor interface {
VisitJsonArray(ctx IJsonArrayContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonArrayEntryListener ¶
type JsonArrayEntryListener interface {
EnterJsonArray(c *JsonArrayContext)
}
From Rule 'jsonVal'
type JsonArrayExitListener ¶
type JsonArrayExitListener interface {
ExitJsonArray(c *JsonArrayContext)
}
type JsonBoolContext ¶
type JsonBoolContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonBoolContext ¶
func NewJsonBoolContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonBoolContext
func (*JsonBoolContext) EnterRule ¶
func (s *JsonBoolContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonBoolContext) ExitRule ¶
func (s *JsonBoolContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonBoolContext) GetRuleContext ¶
func (s *JsonBoolContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonBoolContext) GetTok ¶
func (s *JsonBoolContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonBoolContext) IsJsonBoolContext ¶
func (*JsonBoolContext) IsJsonBoolContext()
func (*JsonBoolContext) SetTok ¶
func (s *JsonBoolContext) SetTok(v antlr.Token)
func (*JsonBoolContext) Visit ¶
func (s *JsonBoolContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonBoolContext) VisitFunc ¶
func (s *JsonBoolContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonBoolContextVisitor ¶
type JsonBoolContextVisitor interface {
VisitJsonBool(ctx IJsonBoolContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonBoolEntryListener ¶
type JsonBoolEntryListener interface {
EnterJsonBool(c *JsonBoolContext)
}
From Rule 'jsonVal'
type JsonBoolExitListener ¶
type JsonBoolExitListener interface {
ExitJsonBool(c *JsonBoolContext)
}
type JsonContext ¶
type JsonContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyJsonContext ¶
func NewEmptyJsonContext() *JsonContext
func NewJsonContext ¶
func NewJsonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JsonContext
func (*JsonContext) EOF ¶
func (s *JsonContext) EOF() antlr.TerminalNode
func (*JsonContext) EnterRule ¶
func (s *JsonContext) EnterRule(listener antlr.ParseTreeListener)
dispatchMethods
func (*JsonContext) ExitRule ¶
func (s *JsonContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonContext) GetParser ¶
func (s *JsonContext) GetParser() antlr.Parser
func (*JsonContext) GetRuleContext ¶
func (s *JsonContext) GetRuleContext() antlr.RuleContext
provideCopyFrom
func (*JsonContext) IsJsonContext ¶
func (*JsonContext) IsJsonContext()
func (*JsonContext) JsonVal ¶
func (s *JsonContext) JsonVal() IJsonValContext
func (*JsonContext) ToStringTree ¶
func (s *JsonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*JsonContext) UP ¶
func (s *JsonContext) UP() antlr.TerminalNode
func (*JsonContext) Visit ¶
func (s *JsonContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonContext) VisitFunc ¶
func (s *JsonContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonContextVisitor ¶
type JsonContextVisitor interface {
VisitJson(ctx IJsonContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonEntryListener ¶
type JsonEntryListener interface {
EnterJson(c *JsonContext)
}
type JsonExitListener ¶
type JsonExitListener interface {
ExitJson(c *JsonContext)
}
type JsonFloatContext ¶
type JsonFloatContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonFloatContext ¶
func NewJsonFloatContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonFloatContext
func (*JsonFloatContext) EnterRule ¶
func (s *JsonFloatContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonFloatContext) ExitRule ¶
func (s *JsonFloatContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonFloatContext) GetRuleContext ¶
func (s *JsonFloatContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonFloatContext) GetTok ¶
func (s *JsonFloatContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonFloatContext) IsJsonFloatContext ¶
func (*JsonFloatContext) IsJsonFloatContext()
func (*JsonFloatContext) JsonFloat ¶
func (s *JsonFloatContext) JsonFloat() antlr.TerminalNode
getters
func (*JsonFloatContext) SetTok ¶
func (s *JsonFloatContext) SetTok(v antlr.Token)
func (*JsonFloatContext) Visit ¶
func (s *JsonFloatContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonFloatContext) VisitFunc ¶
func (s *JsonFloatContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonFloatContextVisitor ¶
type JsonFloatContextVisitor interface {
VisitJsonFloat(ctx IJsonFloatContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonFloatEntryListener ¶
type JsonFloatEntryListener interface {
EnterJsonFloat(c *JsonFloatContext)
}
From Rule 'jsonVal'
type JsonFloatExitListener ¶
type JsonFloatExitListener interface {
ExitJsonFloat(c *JsonFloatContext)
}
type JsonIntContext ¶
type JsonIntContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonIntContext ¶
func NewJsonIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonIntContext
func (*JsonIntContext) EnterRule ¶
func (s *JsonIntContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonIntContext) ExitRule ¶
func (s *JsonIntContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonIntContext) GetRuleContext ¶
func (s *JsonIntContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonIntContext) GetTok ¶
func (s *JsonIntContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonIntContext) IsJsonIntContext ¶
func (*JsonIntContext) IsJsonIntContext()
func (*JsonIntContext) SetTok ¶
func (s *JsonIntContext) SetTok(v antlr.Token)
func (*JsonIntContext) Visit ¶
func (s *JsonIntContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonIntContext) VisitFunc ¶
func (s *JsonIntContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonIntContextVisitor ¶
type JsonIntContextVisitor interface {
VisitJsonInt(ctx IJsonIntContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonIntEntryListener ¶
type JsonIntEntryListener interface {
EnterJsonInt(c *JsonIntContext)
}
From Rule 'jsonVal'
type JsonIntExitListener ¶
type JsonIntExitListener interface {
ExitJsonInt(c *JsonIntContext)
}
type JsonNullContext ¶
type JsonNullContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonNullContext ¶
func NewJsonNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonNullContext
func (*JsonNullContext) EnterRule ¶
func (s *JsonNullContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonNullContext) ExitRule ¶
func (s *JsonNullContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonNullContext) GetRuleContext ¶
func (s *JsonNullContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonNullContext) GetTok ¶
func (s *JsonNullContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonNullContext) IsJsonNullContext ¶
func (*JsonNullContext) IsJsonNullContext()
func (*JsonNullContext) SetTok ¶
func (s *JsonNullContext) SetTok(v antlr.Token)
func (*JsonNullContext) Visit ¶
func (s *JsonNullContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonNullContext) VisitFunc ¶
func (s *JsonNullContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonNullContextVisitor ¶
type JsonNullContextVisitor interface {
VisitJsonNull(ctx IJsonNullContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonNullEntryListener ¶
type JsonNullEntryListener interface {
EnterJsonNull(c *JsonNullContext)
}
From Rule 'jsonVal'
type JsonNullExitListener ¶
type JsonNullExitListener interface {
ExitJsonNull(c *JsonNullContext)
}
type JsonObjContext ¶
type JsonObjContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonObjContext ¶
func NewJsonObjContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonObjContext
func (*JsonObjContext) AllJsonObjKey ¶ added in v1.0.9
func (s *JsonObjContext) AllJsonObjKey() []antlr.TerminalNode
func (*JsonObjContext) AllJsonVal ¶
func (s *JsonObjContext) AllJsonVal() []IJsonValContext
func (*JsonObjContext) DOWN ¶
func (s *JsonObjContext) DOWN() antlr.TerminalNode
func (*JsonObjContext) EnterRule ¶
func (s *JsonObjContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonObjContext) ExitRule ¶
func (s *JsonObjContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonObjContext) GetRuleContext ¶
func (s *JsonObjContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonObjContext) GetTok ¶
func (s *JsonObjContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonObjContext) IsJsonObjContext ¶
func (*JsonObjContext) IsJsonObjContext()
func (*JsonObjContext) JsonObjKey ¶ added in v1.0.9
func (s *JsonObjContext) JsonObjKey(i int) antlr.TerminalNode
func (*JsonObjContext) JsonVal ¶
func (s *JsonObjContext) JsonVal(i int) IJsonValContext
func (*JsonObjContext) SetTok ¶
func (s *JsonObjContext) SetTok(v antlr.Token)
func (*JsonObjContext) UP ¶
func (s *JsonObjContext) UP() antlr.TerminalNode
func (*JsonObjContext) Visit ¶
func (s *JsonObjContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonObjContext) VisitFunc ¶
func (s *JsonObjContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonObjContextVisitor ¶
type JsonObjContextVisitor interface {
VisitJsonObj(ctx IJsonObjContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonObjEntryListener ¶
type JsonObjEntryListener interface {
EnterJsonObj(c *JsonObjContext)
}
From Rule 'jsonVal'
type JsonObjExitListener ¶
type JsonObjExitListener interface {
ExitJsonObj(c *JsonObjContext)
}
type JsonStrContext ¶
type JsonStrContext struct { *JsonValContext // contains filtered or unexported fields }
func NewJsonStrContext ¶
func NewJsonStrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonStrContext
func (*JsonStrContext) EnterRule ¶
func (s *JsonStrContext) EnterRule(listener antlr.ParseTreeListener)
func (*JsonStrContext) ExitRule ¶
func (s *JsonStrContext) ExitRule(listener antlr.ParseTreeListener)
func (*JsonStrContext) GetRuleContext ¶
func (s *JsonStrContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*JsonStrContext) GetTok ¶
func (s *JsonStrContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*JsonStrContext) IsJsonStrContext ¶
func (*JsonStrContext) IsJsonStrContext()
func (*JsonStrContext) SetTok ¶
func (s *JsonStrContext) SetTok(v antlr.Token)
func (*JsonStrContext) Visit ¶
func (s *JsonStrContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*JsonStrContext) VisitFunc ¶
func (s *JsonStrContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type JsonStrContextVisitor ¶
type JsonStrContextVisitor interface {
VisitJsonStr(ctx IJsonStrContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type JsonStrEntryListener ¶
type JsonStrEntryListener interface {
EnterJsonStr(c *JsonStrContext)
}
From Rule 'jsonVal'
type JsonStrExitListener ¶
type JsonStrExitListener interface {
ExitJsonStr(c *JsonStrContext)
}
type JsonValContext ¶
type JsonValContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyJsonValContext ¶
func NewEmptyJsonValContext() *JsonValContext
func NewJsonValContext ¶
func NewJsonValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JsonValContext
func (*JsonValContext) CopyFrom ¶
func (s *JsonValContext) CopyFrom(ctx *JsonValContext)
provideCopyFrom
func (*JsonValContext) GetParser ¶
func (s *JsonValContext) GetParser() antlr.Parser
func (*JsonValContext) GetRuleContext ¶
func (s *JsonValContext) GetRuleContext() antlr.RuleContext
func (*JsonValContext) IsJsonValContext ¶
func (*JsonValContext) IsJsonValContext()
func (*JsonValContext) ToStringTree ¶
func (s *JsonValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ModAnnoContext ¶
type ModAnnoContext struct { *TldContext // contains filtered or unexported fields }
func NewModAnnoContext ¶
func NewModAnnoContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ModAnnoContext
func (*ModAnnoContext) EnterRule ¶
func (s *ModAnnoContext) EnterRule(listener antlr.ParseTreeListener)
func (*ModAnnoContext) ExitRule ¶
func (s *ModAnnoContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModAnnoContext) GetRuleContext ¶
func (s *ModAnnoContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*ModAnnoContext) GetTok ¶
func (s *ModAnnoContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*ModAnnoContext) IsModAnnoContext ¶
func (*ModAnnoContext) IsModAnnoContext()
func (*ModAnnoContext) JsonVal ¶
func (s *ModAnnoContext) JsonVal() IJsonValContext
func (*ModAnnoContext) ModuleAnno ¶
func (s *ModAnnoContext) ModuleAnno() antlr.TerminalNode
func (*ModAnnoContext) SetTok ¶
func (s *ModAnnoContext) SetTok(v antlr.Token)
func (*ModAnnoContext) UP ¶
func (s *ModAnnoContext) UP() antlr.TerminalNode
func (*ModAnnoContext) Visit ¶
func (s *ModAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*ModAnnoContext) VisitFunc ¶
func (s *ModAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type ModAnnoContextVisitor ¶
type ModAnnoContextVisitor interface {
VisitModAnno(ctx IModAnnoContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type ModAnnoEntryListener ¶
type ModAnnoEntryListener interface {
EnterModAnno(c *ModAnnoContext)
}
From Rule 'tld'
type ModAnnoExitListener ¶
type ModAnnoExitListener interface {
ExitModAnno(c *ModAnnoContext)
}
type ModuleContext ¶
type ModuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModuleContext ¶
func NewEmptyModuleContext() *ModuleContext
func NewModuleContext ¶
func NewModuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleContext
func (*ModuleContext) AllAnnotation ¶
func (s *ModuleContext) AllAnnotation() []IAnnotationContext
func (*ModuleContext) AllImport_ ¶
func (s *ModuleContext) AllImport_() []IImport_Context
func (*ModuleContext) AllTld ¶
func (s *ModuleContext) AllTld() []ITldContext
func (*ModuleContext) Annotation ¶
func (s *ModuleContext) Annotation(i int) IAnnotationContext
func (*ModuleContext) DOWN ¶
func (s *ModuleContext) DOWN() antlr.TerminalNode
func (*ModuleContext) EnterRule ¶
func (s *ModuleContext) EnterRule(listener antlr.ParseTreeListener)
dispatchMethods
func (*ModuleContext) ExitRule ¶
func (s *ModuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModuleContext) GetParser ¶
func (s *ModuleContext) GetParser() antlr.Parser
func (*ModuleContext) GetRuleContext ¶
func (s *ModuleContext) GetRuleContext() antlr.RuleContext
provideCopyFrom
func (*ModuleContext) Import_ ¶
func (s *ModuleContext) Import_(i int) IImport_Context
func (*ModuleContext) IsModuleContext ¶
func (*ModuleContext) IsModuleContext()
func (*ModuleContext) SetTok ¶
func (s *ModuleContext) SetTok(v antlr.Token)
func (*ModuleContext) Tld ¶
func (s *ModuleContext) Tld(i int) ITldContext
func (*ModuleContext) ToStringTree ¶
func (s *ModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ModuleContext) UP ¶
func (s *ModuleContext) UP() antlr.TerminalNode
func (*ModuleContext) Visit ¶
func (s *ModuleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*ModuleContext) VisitFunc ¶
func (s *ModuleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type ModuleContextVisitor ¶
type ModuleContextVisitor interface {
VisitModule(ctx IModuleContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type ModuleEntryListener ¶
type ModuleEntryListener interface {
EnterModule(c *ModuleContext)
}
type ModuleExitListener ¶
type ModuleExitListener interface {
ExitModule(c *ModuleContext)
}
type NameBodyContext ¶
type NameBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNameBodyContext ¶
func NewEmptyNameBodyContext() *NameBodyContext
func NewNameBodyContext ¶
func NewNameBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameBodyContext
func (*NameBodyContext) CopyFrom ¶
func (s *NameBodyContext) CopyFrom(ctx *NameBodyContext)
provideCopyFrom
func (*NameBodyContext) GetParser ¶
func (s *NameBodyContext) GetParser() antlr.Parser
func (*NameBodyContext) GetRuleContext ¶
func (s *NameBodyContext) GetRuleContext() antlr.RuleContext
func (*NameBodyContext) IsNameBodyContext ¶
func (*NameBodyContext) IsNameBodyContext()
func (*NameBodyContext) ToStringTree ¶
func (s *NameBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NewtypeContext ¶
type NewtypeContext struct { *TldContext // contains filtered or unexported fields }
func NewNewtypeContext ¶
func NewNewtypeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NewtypeContext
func (*NewtypeContext) AllAnnotation ¶
func (s *NewtypeContext) AllAnnotation() []IAnnotationContext
func (*NewtypeContext) AllJsonVal ¶
func (s *NewtypeContext) AllJsonVal() []IJsonValContext
func (*NewtypeContext) Annotation ¶
func (s *NewtypeContext) Annotation(i int) IAnnotationContext
func (*NewtypeContext) DOWN ¶
func (s *NewtypeContext) DOWN() antlr.TerminalNode
func (*NewtypeContext) EnterRule ¶
func (s *NewtypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*NewtypeContext) ExitRule ¶
func (s *NewtypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*NewtypeContext) GetRuleContext ¶
func (s *NewtypeContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*NewtypeContext) GetTok ¶
func (s *NewtypeContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*NewtypeContext) IsNewtypeContext ¶
func (*NewtypeContext) IsNewtypeContext()
func (*NewtypeContext) JsonVal ¶
func (s *NewtypeContext) JsonVal(i int) IJsonValContext
func (*NewtypeContext) SetTok ¶
func (s *NewtypeContext) SetTok(v antlr.Token)
func (*NewtypeContext) TypeExpr_ ¶
func (s *NewtypeContext) TypeExpr_() ITypeExpr_Context
func (*NewtypeContext) TypeParam ¶
func (s *NewtypeContext) TypeParam() antlr.TerminalNode
func (*NewtypeContext) UP ¶
func (s *NewtypeContext) UP() antlr.TerminalNode
func (*NewtypeContext) Visit ¶
func (s *NewtypeContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*NewtypeContext) VisitFunc ¶
func (s *NewtypeContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type NewtypeContextVisitor ¶
type NewtypeContextVisitor interface {
VisitNewtype(ctx INewtypeContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type NewtypeEntryListener ¶
type NewtypeEntryListener interface {
EnterNewtype(c *NewtypeContext)
}
From Rule 'tld'
type NewtypeExitListener ¶
type NewtypeExitListener interface {
ExitNewtype(c *NewtypeContext)
}
type StructContext ¶
type StructContext struct { *TldContext // contains filtered or unexported fields }
func NewStructContext ¶
func NewStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructContext
func (*StructContext) AllAnnotation ¶
func (s *StructContext) AllAnnotation() []IAnnotationContext
func (*StructContext) AllNameBody ¶
func (s *StructContext) AllNameBody() []INameBodyContext
func (*StructContext) Annotation ¶
func (s *StructContext) Annotation(i int) IAnnotationContext
func (*StructContext) DOWN ¶
func (s *StructContext) DOWN() antlr.TerminalNode
func (*StructContext) EnterRule ¶
func (s *StructContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructContext) ExitRule ¶
func (s *StructContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructContext) GetRuleContext ¶
func (s *StructContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*StructContext) GetTok ¶
func (s *StructContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*StructContext) IsStructContext ¶
func (*StructContext) IsStructContext()
func (*StructContext) NameBody ¶
func (s *StructContext) NameBody(i int) INameBodyContext
func (*StructContext) SetTok ¶
func (s *StructContext) SetTok(v antlr.Token)
func (*StructContext) TypeParam ¶
func (s *StructContext) TypeParam() antlr.TerminalNode
func (*StructContext) UP ¶
func (s *StructContext) UP() antlr.TerminalNode
func (*StructContext) Visit ¶
func (s *StructContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*StructContext) VisitFunc ¶
func (s *StructContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type StructContextVisitor ¶
type StructContextVisitor interface {
VisitStruct(ctx IStructContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type StructEntryListener ¶
type StructEntryListener interface {
EnterStruct(c *StructContext)
}
From Rule 'tld'
type StructExitListener ¶
type StructExitListener interface {
ExitStruct(c *StructContext)
}
type TldContext ¶
type TldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTldContext ¶
func NewEmptyTldContext() *TldContext
func NewTldContext ¶
func NewTldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TldContext
func (*TldContext) GetParser ¶
func (s *TldContext) GetParser() antlr.Parser
func (*TldContext) GetRuleContext ¶
func (s *TldContext) GetRuleContext() antlr.RuleContext
func (*TldContext) IsTldContext ¶
func (*TldContext) IsTldContext()
func (*TldContext) ToStringTree ¶
func (s *TldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeContext ¶
type TypeContext struct { *TldContext // contains filtered or unexported fields }
func NewTypeContext ¶
func NewTypeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeContext
func (*TypeContext) AllAnnotation ¶
func (s *TypeContext) AllAnnotation() []IAnnotationContext
func (*TypeContext) AllJsonVal ¶
func (s *TypeContext) AllJsonVal() []IJsonValContext
func (*TypeContext) Annotation ¶
func (s *TypeContext) Annotation(i int) IAnnotationContext
func (*TypeContext) DOWN ¶
func (s *TypeContext) DOWN() antlr.TerminalNode
func (*TypeContext) EnterRule ¶
func (s *TypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeContext) ExitRule ¶
func (s *TypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeContext) GetRuleContext ¶
func (s *TypeContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*TypeContext) GetTok ¶
func (s *TypeContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*TypeContext) IsTypeContext ¶
func (*TypeContext) IsTypeContext()
func (*TypeContext) JsonVal ¶
func (s *TypeContext) JsonVal(i int) IJsonValContext
func (*TypeContext) SetTok ¶
func (s *TypeContext) SetTok(v antlr.Token)
func (*TypeContext) TypeExpr_ ¶
func (s *TypeContext) TypeExpr_() ITypeExpr_Context
func (*TypeContext) TypeParam ¶
func (s *TypeContext) TypeParam() antlr.TerminalNode
func (*TypeContext) UP ¶
func (s *TypeContext) UP() antlr.TerminalNode
func (*TypeContext) Visit ¶
func (s *TypeContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*TypeContext) VisitFunc ¶
func (s *TypeContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type TypeContextVisitor ¶
type TypeContextVisitor interface {
VisitType(ctx ITypeContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type TypeEntryListener ¶
type TypeEntryListener interface {
EnterType(c *TypeContext)
}
From Rule 'tld'
type TypeExitListener ¶
type TypeExitListener interface {
ExitType(c *TypeContext)
}
type TypeExpr_Context ¶
type TypeExpr_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeExpr_Context ¶
func NewEmptyTypeExpr_Context() *TypeExpr_Context
func NewTypeExpr_Context ¶
func NewTypeExpr_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeExpr_Context
func (*TypeExpr_Context) AllTypeExpr_ ¶ added in v1.0.8
func (s *TypeExpr_Context) AllTypeExpr_() []ITypeExpr_Context
func (*TypeExpr_Context) DOWN ¶
func (s *TypeExpr_Context) DOWN() antlr.TerminalNode
func (*TypeExpr_Context) EnterRule ¶
func (s *TypeExpr_Context) EnterRule(listener antlr.ParseTreeListener)
dispatchMethods
func (*TypeExpr_Context) ExitRule ¶
func (s *TypeExpr_Context) ExitRule(listener antlr.ParseTreeListener)
func (*TypeExpr_Context) GetParser ¶
func (s *TypeExpr_Context) GetParser() antlr.Parser
func (*TypeExpr_Context) GetRuleContext ¶
func (s *TypeExpr_Context) GetRuleContext() antlr.RuleContext
provideCopyFrom
func (*TypeExpr_Context) GetTok ¶
func (s *TypeExpr_Context) GetTok() antlr.Token
StructDecl tokenDecls
func (*TypeExpr_Context) IsTypeExpr_Context ¶
func (*TypeExpr_Context) IsTypeExpr_Context()
func (*TypeExpr_Context) SetTok ¶
func (s *TypeExpr_Context) SetTok(v antlr.Token)
func (*TypeExpr_Context) ToStringTree ¶
func (s *TypeExpr_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeExpr_Context) TypeExprGeneric ¶ added in v1.0.8
func (s *TypeExpr_Context) TypeExprGeneric() antlr.TerminalNode
func (*TypeExpr_Context) TypeExprSimple ¶ added in v1.0.8
func (s *TypeExpr_Context) TypeExprSimple() antlr.TerminalNode
Getters
func (*TypeExpr_Context) TypeExpr_ ¶ added in v1.0.8
func (s *TypeExpr_Context) TypeExpr_(i int) ITypeExpr_Context
func (*TypeExpr_Context) UP ¶
func (s *TypeExpr_Context) UP() antlr.TerminalNode
func (*TypeExpr_Context) Visit ¶
func (s *TypeExpr_Context) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*TypeExpr_Context) VisitFunc ¶
func (s *TypeExpr_Context) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type TypeExpr_ContextVisitor ¶
type TypeExpr_ContextVisitor interface {
VisitTypeExpr_(ctx ITypeExpr_Context, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type TypeExpr_EntryListener ¶
type TypeExpr_EntryListener interface {
EnterTypeExpr_(c *TypeExpr_Context)
}
type TypeExpr_ExitListener ¶
type TypeExpr_ExitListener interface {
ExitTypeExpr_(c *TypeExpr_Context)
}
type UnionContext ¶
type UnionContext struct { *TldContext // contains filtered or unexported fields }
func NewUnionContext ¶
func NewUnionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnionContext
func (*UnionContext) AllAnnotation ¶
func (s *UnionContext) AllAnnotation() []IAnnotationContext
func (*UnionContext) AllNameBody ¶
func (s *UnionContext) AllNameBody() []INameBodyContext
func (*UnionContext) Annotation ¶
func (s *UnionContext) Annotation(i int) IAnnotationContext
func (*UnionContext) DOWN ¶
func (s *UnionContext) DOWN() antlr.TerminalNode
func (*UnionContext) EnterRule ¶
func (s *UnionContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnionContext) ExitRule ¶
func (s *UnionContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnionContext) GetRuleContext ¶
func (s *UnionContext) GetRuleContext() antlr.RuleContext
getRuleContext
func (*UnionContext) GetTok ¶
func (s *UnionContext) GetTok() antlr.Token
AltLabelStructDecl tokenDecls
func (*UnionContext) IsUnionContext ¶
func (*UnionContext) IsUnionContext()
func (*UnionContext) NameBody ¶
func (s *UnionContext) NameBody(i int) INameBodyContext
func (*UnionContext) SetTok ¶
func (s *UnionContext) SetTok(v antlr.Token)
func (*UnionContext) TypeParam ¶
func (s *UnionContext) TypeParam() antlr.TerminalNode
func (*UnionContext) UP ¶
func (s *UnionContext) UP() antlr.TerminalNode
func (*UnionContext) Visit ¶
func (s *UnionContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
func (*UnionContext) VisitFunc ¶
func (s *UnionContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})
type UnionContextVisitor ¶
type UnionContextVisitor interface {
VisitUnion(ctx IUnionContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}
type UnionEntryListener ¶
type UnionEntryListener interface {
EnterUnion(c *UnionContext)
}
From Rule 'tld'
type UnionExitListener ¶
type UnionExitListener interface {
ExitUnion(c *UnionContext)
}