adllp

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdlLLCUR         = 1
	AdlLRCUR         = 2
	AdlLLSQ          = 3
	AdlLRSQ          = 4
	AdlLEQ           = 5
	AdlLDQ           = 6
	AdlLSQ           = 7
	AdlLSEMI         = 8
	AdlLDCOLON       = 9
	AdlLCOLON        = 10
	AdlLDOT          = 11
	AdlLCOMMA        = 12
	AdlLLCHEVR       = 13
	AdlLRCHEVR       = 14
	AdlLSTAR         = 15
	AdlLAT           = 16
	AdlLSTR          = 17
	AdlLID           = 18
	AdlLINT          = 19
	AdlLFLT          = 20
	AdlLWS           = 21
	AdlLLINE_DOC     = 22
	AdlLLINE_COMMENT = 23
)

AdlL tokens.

View Source
const (
	AdlPEOF                 = antlr.TokenEOF
	AdlPLCUR                = 1
	AdlPRCUR                = 2
	AdlPLSQ                 = 3
	AdlPRSQ                 = 4
	AdlPEQ                  = 5
	AdlPDQ                  = 6
	AdlPSQ                  = 7
	AdlPSEMI                = 8
	AdlPDCOLON              = 9
	AdlPCOLON               = 10
	AdlPDOT                 = 11
	AdlPCOMMA               = 12
	AdlPLCHEVR              = 13
	AdlPRCHEVR              = 14
	AdlPSTAR                = 15
	AdlPAT                  = 16
	AdlPSTR                 = 17
	AdlPID                  = 18
	AdlPINT                 = 19
	AdlPFLT                 = 20
	AdlPWS                  = 21
	AdlPLINE_DOC            = 22
	AdlPLINE_COMMENT        = 23
	AdlPDOWN                = 24
	AdlPUP                  = 25
	AdlPROOT                = 26
	AdlPERROR               = 27
	AdlPADL                 = 28
	AdlPModule              = 29
	AdlPImport              = 30
	AdlPImportModule        = 31
	AdlPImportScopedName    = 32
	AdlPDecl                = 33
	AdlPScopedName          = 34
	AdlPDeclType            = 35
	AdlPTypeDef             = 36
	AdlPNewType             = 37
	AdlPTypeExpr            = 38
	AdlPAnnotation          = 39
	AdlPAnnotationNotScoped = 40
	AdlPAnnotationScoped    = 41
	AdlPPrimitive           = 42
	AdlPStruct              = 43
	AdlPUnion               = 44
	AdlPNewtype             = 45
	AdlPType                = 46
	AdlPTypeParam           = 47
	AdlPTypeExprSimple      = 48
	AdlPTypeExprGeneric     = 49
	AdlPField               = 50
	AdlPJson                = 51
	AdlPJsonStr             = 52
	AdlPJsonBool            = 53
	AdlPJsonNull            = 54
	AdlPJsonInt             = 55
	AdlPJsonFloat           = 56
	AdlPJsonArray           = 57
	AdlPJsonObj             = 58
	AdlPJsonObjKey          = 59
	AdlPModuleAnno          = 60
	AdlPDeclAnno            = 61
	AdlPFieldAnno           = 62
)

AdlP tokens.

View Source
const (
	AdlPRULE_adl                 = 0
	AdlPRULE_module              = 1
	AdlPRULE_imports             = 2
	AdlPRULE_annon               = 3
	AdlPRULE_top_level_statement = 4
	AdlPRULE_typeParam           = 5
	AdlPRULE_typeExpr            = 6
	AdlPRULE_soruBody            = 7
	AdlPRULE_jsonValue           = 8
	AdlPRULE_jsonObj             = 9
)

AdlP 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) 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

Getters

func (*AdlContext) ToStringTree

func (s *AdlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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 AdlL

type AdlL struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewAdlL

func NewAdlL(input antlr.CharStream) *AdlL

type AdlP

type AdlP struct {
	*antlr.BaseParser
}

func NewAdlP

func NewAdlP(input antlr.TokenStream) *AdlP

func (*AdlP) Adl

func (p *AdlP) Adl() (localctx IAdlContext)

func (*AdlP) Annon

func (p *AdlP) Annon() (localctx IAnnonContext)

func (*AdlP) Imports

func (p *AdlP) Imports() (localctx IImportsContext)

func (*AdlP) JsonObj added in v1.0.9

func (p *AdlP) JsonObj() (localctx IJsonObjContext)

func (*AdlP) JsonValue

func (p *AdlP) JsonValue() (localctx IJsonValueContext)

func (*AdlP) Module

func (p *AdlP) Module() (localctx IModuleContext)

func (*AdlP) SoruBody

func (p *AdlP) SoruBody() (localctx ISoruBodyContext)

func (*AdlP) Top_level_statement

func (p *AdlP) Top_level_statement() (localctx ITop_level_statementContext)

func (*AdlP) TypeExpr

func (p *AdlP) TypeExpr() (localctx ITypeExprContext)

func (*AdlP) TypeParam

func (p *AdlP) TypeParam() (localctx ITypeParamContext)

type AdlPHandlers

type AdlPHandlers struct {
	EnterEveryRule func(ctx antlr.RuleNode)
	ExitEveryRule  func(ctx antlr.RuleNode)

	Adl              func(ctx IAdlContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ModuleStatement  func(ctx IModuleStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ImportScopedName func(ctx IImportScopedNameContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ImportModuleName func(ctx IImportModuleNameContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	LocalAnno        func(ctx ILocalAnnoContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	DocAnno          func(ctx IDocAnnoContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ModuleAnnotation func(ctx IModuleAnnotationContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	DeclAnnotation   func(ctx IDeclAnnotationContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	FieldAnnotation  func(ctx IFieldAnnotationContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	StructOrUnion    func(ctx IStructOrUnionContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	TypeOrNewtype    func(ctx ITypeOrNewtypeContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	TypeParameter    func(ctx ITypeParameterContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	TypeExprSimple   func(ctx ITypeExprSimpleContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	TypeExprGeneric  func(ctx ITypeExprGenericContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	FieldStatement   func(ctx IFieldStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	StringStatement  func(ctx IStringStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	TrueFalseNull    func(ctx ITrueFalseNullContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	NumberStatement  func(ctx INumberStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	FloatStatement   func(ctx IFloatStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ArrayStatement   func(ctx IArrayStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	ObjStatement     func(ctx IObjStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
	JsonObjStatement func(ctx IJsonObjStatementContext, this *AdlPHandlers, args ...interface{}) (result interface{})
}

Struct of Handlers

type AnnonContext

type AnnonContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAnnonContext

func NewAnnonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnonContext

func NewEmptyAnnonContext

func NewEmptyAnnonContext() *AnnonContext

func (*AnnonContext) CopyFrom

func (s *AnnonContext) CopyFrom(ctx *AnnonContext)

provideCopyFrom

func (*AnnonContext) GetParser

func (s *AnnonContext) GetParser() antlr.Parser

func (*AnnonContext) GetRuleContext

func (s *AnnonContext) GetRuleContext() antlr.RuleContext

func (*AnnonContext) IsAnnonContext

func (*AnnonContext) IsAnnonContext()

func (*AnnonContext) ToStringTree

func (s *AnnonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayStatementContext

type ArrayStatementContext struct {
	*JsonValueContext
	// contains filtered or unexported fields
}

func NewArrayStatementContext

func NewArrayStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayStatementContext

func (*ArrayStatementContext) AllCOMMA

func (s *ArrayStatementContext) AllCOMMA() []antlr.TerminalNode

func (*ArrayStatementContext) AllJsonValue

func (s *ArrayStatementContext) AllJsonValue() []IJsonValueContext

func (*ArrayStatementContext) COMMA

func (s *ArrayStatementContext) COMMA(i int) antlr.TerminalNode

func (*ArrayStatementContext) EnterRule

func (s *ArrayStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayStatementContext) ExitRule

func (s *ArrayStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayStatementContext) GetJv

AltLabelStructDecl ruleContextListDecls

func (*ArrayStatementContext) GetRuleContext

func (s *ArrayStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ArrayStatementContext) Get_jsonValue

func (s *ArrayStatementContext) Get_jsonValue() IJsonValueContext

AltLabelStructDecl ruleContextDecls

func (*ArrayStatementContext) IsArrayStatementContext

func (*ArrayStatementContext) IsArrayStatementContext()

func (*ArrayStatementContext) JsonValue

func (*ArrayStatementContext) LSQ

func (s *ArrayStatementContext) LSQ() antlr.TerminalNode

getters

func (*ArrayStatementContext) RSQ

func (s *ArrayStatementContext) RSQ() antlr.TerminalNode

func (*ArrayStatementContext) SetJv

func (*ArrayStatementContext) Set_jsonValue

func (s *ArrayStatementContext) Set_jsonValue(v IJsonValueContext)

func (*ArrayStatementContext) Visit

func (s *ArrayStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ArrayStatementContext) VisitFunc

func (s *ArrayStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ArrayStatementContextVisitor

type ArrayStatementContextVisitor interface {
	VisitArrayStatement(ctx IArrayStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ArrayStatementEntryListener

type ArrayStatementEntryListener interface {
	EnterArrayStatement(c *ArrayStatementContext)
}

From Rule 'jsonValue'

type ArrayStatementExitListener

type ArrayStatementExitListener interface {
	ExitArrayStatement(c *ArrayStatementContext)
}

type DeclAnnotationContext

type DeclAnnotationContext struct {
	*Top_level_statementContext
	// contains filtered or unexported fields
}

func NewDeclAnnotationContext

func NewDeclAnnotationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DeclAnnotationContext

func (*DeclAnnotationContext) AllID

func (s *DeclAnnotationContext) AllID() []antlr.TerminalNode

func (*DeclAnnotationContext) EnterRule

func (s *DeclAnnotationContext) EnterRule(listener antlr.ParseTreeListener)

func (*DeclAnnotationContext) ExitRule

func (s *DeclAnnotationContext) ExitRule(listener antlr.ParseTreeListener)

func (*DeclAnnotationContext) GetA

func (s *DeclAnnotationContext) GetA() antlr.Token

func (*DeclAnnotationContext) GetB

func (s *DeclAnnotationContext) GetB() antlr.Token

func (*DeclAnnotationContext) GetKw

func (s *DeclAnnotationContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*DeclAnnotationContext) GetRuleContext

func (s *DeclAnnotationContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*DeclAnnotationContext) ID

func (s *DeclAnnotationContext) ID(i int) antlr.TerminalNode

func (*DeclAnnotationContext) IsDeclAnnotationContext

func (*DeclAnnotationContext) IsDeclAnnotationContext()

func (*DeclAnnotationContext) JsonValue

getters

func (*DeclAnnotationContext) SEMI

func (s *DeclAnnotationContext) SEMI() antlr.TerminalNode

func (*DeclAnnotationContext) SetA

func (s *DeclAnnotationContext) SetA(v antlr.Token)

func (*DeclAnnotationContext) SetB

func (s *DeclAnnotationContext) SetB(v antlr.Token)

func (*DeclAnnotationContext) SetKw

func (s *DeclAnnotationContext) SetKw(v antlr.Token)

func (*DeclAnnotationContext) Visit

func (s *DeclAnnotationContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*DeclAnnotationContext) VisitFunc

func (s *DeclAnnotationContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type DeclAnnotationContextVisitor

type DeclAnnotationContextVisitor interface {
	VisitDeclAnnotation(ctx IDeclAnnotationContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type DeclAnnotationEntryListener

type DeclAnnotationEntryListener interface {
	EnterDeclAnnotation(c *DeclAnnotationContext)
}

From Rule 'top_level_statement'

type DeclAnnotationExitListener

type DeclAnnotationExitListener interface {
	ExitDeclAnnotation(c *DeclAnnotationContext)
}

type DocAnnoContext

type DocAnnoContext struct {
	*AnnonContext
	// contains filtered or unexported fields
}

func NewDocAnnoContext

func NewDocAnnoContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DocAnnoContext

func (*DocAnnoContext) EnterRule

func (s *DocAnnoContext) EnterRule(listener antlr.ParseTreeListener)

func (*DocAnnoContext) ExitRule

func (s *DocAnnoContext) ExitRule(listener antlr.ParseTreeListener)

func (*DocAnnoContext) GetA

func (s *DocAnnoContext) GetA() antlr.Token

AltLabelStructDecl tokenDecls

func (*DocAnnoContext) GetRuleContext

func (s *DocAnnoContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*DocAnnoContext) IsDocAnnoContext

func (*DocAnnoContext) IsDocAnnoContext()

func (*DocAnnoContext) LINE_DOC

func (s *DocAnnoContext) LINE_DOC() antlr.TerminalNode

getters

func (*DocAnnoContext) SetA

func (s *DocAnnoContext) SetA(v antlr.Token)

func (*DocAnnoContext) Visit

func (s *DocAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*DocAnnoContext) VisitFunc

func (s *DocAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type DocAnnoContextVisitor

type DocAnnoContextVisitor interface {
	VisitDocAnno(ctx IDocAnnoContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type DocAnnoEntryListener

type DocAnnoEntryListener interface {
	EnterDocAnno(c *DocAnnoContext)
}

From Rule 'annon'

type DocAnnoExitListener

type DocAnnoExitListener interface {
	ExitDocAnno(c *DocAnnoContext)
}

type FieldAnnotationContext

type FieldAnnotationContext struct {
	*Top_level_statementContext
	// contains filtered or unexported fields
}

func NewFieldAnnotationContext

func NewFieldAnnotationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldAnnotationContext

func (*FieldAnnotationContext) AllID

func (s *FieldAnnotationContext) AllID() []antlr.TerminalNode

func (*FieldAnnotationContext) DCOLON

func (s *FieldAnnotationContext) DCOLON() antlr.TerminalNode

getters

func (*FieldAnnotationContext) EnterRule

func (s *FieldAnnotationContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldAnnotationContext) ExitRule

func (s *FieldAnnotationContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldAnnotationContext) GetA

func (s *FieldAnnotationContext) GetA() antlr.Token

func (*FieldAnnotationContext) GetB

func (s *FieldAnnotationContext) GetB() antlr.Token

func (*FieldAnnotationContext) GetC

func (s *FieldAnnotationContext) GetC() antlr.Token

func (*FieldAnnotationContext) GetKw

func (s *FieldAnnotationContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*FieldAnnotationContext) GetRuleContext

func (s *FieldAnnotationContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*FieldAnnotationContext) ID

func (s *FieldAnnotationContext) ID(i int) antlr.TerminalNode

func (*FieldAnnotationContext) IsFieldAnnotationContext

func (*FieldAnnotationContext) IsFieldAnnotationContext()

func (*FieldAnnotationContext) JsonValue

func (*FieldAnnotationContext) SEMI

func (s *FieldAnnotationContext) SEMI() antlr.TerminalNode

func (*FieldAnnotationContext) SetA

func (s *FieldAnnotationContext) SetA(v antlr.Token)

func (*FieldAnnotationContext) SetB

func (s *FieldAnnotationContext) SetB(v antlr.Token)

func (*FieldAnnotationContext) SetC

func (s *FieldAnnotationContext) SetC(v antlr.Token)

func (*FieldAnnotationContext) SetKw

func (s *FieldAnnotationContext) SetKw(v antlr.Token)

func (*FieldAnnotationContext) Visit

func (s *FieldAnnotationContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*FieldAnnotationContext) VisitFunc

func (s *FieldAnnotationContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type FieldAnnotationContextVisitor

type FieldAnnotationContextVisitor interface {
	VisitFieldAnnotation(ctx IFieldAnnotationContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type FieldAnnotationEntryListener

type FieldAnnotationEntryListener interface {
	EnterFieldAnnotation(c *FieldAnnotationContext)
}

From Rule 'top_level_statement'

type FieldAnnotationExitListener

type FieldAnnotationExitListener interface {
	ExitFieldAnnotation(c *FieldAnnotationContext)
}

type FieldStatementContext

type FieldStatementContext struct {
	*SoruBodyContext
	// contains filtered or unexported fields
}

func NewFieldStatementContext

func NewFieldStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldStatementContext

func (*FieldStatementContext) AllAnnon

func (s *FieldStatementContext) AllAnnon() []IAnnonContext

func (*FieldStatementContext) Annon

func (*FieldStatementContext) EQ

func (s *FieldStatementContext) EQ() antlr.TerminalNode

func (*FieldStatementContext) EnterRule

func (s *FieldStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldStatementContext) ExitRule

func (s *FieldStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldStatementContext) GetB

func (s *FieldStatementContext) GetB() antlr.Token

AltLabelStructDecl tokenDecls

func (*FieldStatementContext) GetRuleContext

func (s *FieldStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*FieldStatementContext) ID

func (s *FieldStatementContext) ID() antlr.TerminalNode

func (*FieldStatementContext) IsFieldStatementContext

func (*FieldStatementContext) IsFieldStatementContext()

func (*FieldStatementContext) JsonValue

func (*FieldStatementContext) SEMI

func (s *FieldStatementContext) SEMI() antlr.TerminalNode

func (*FieldStatementContext) SetB

func (s *FieldStatementContext) SetB(v antlr.Token)

func (*FieldStatementContext) TypeExpr

getters

func (*FieldStatementContext) Visit

func (s *FieldStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*FieldStatementContext) VisitFunc

func (s *FieldStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type FieldStatementContextVisitor

type FieldStatementContextVisitor interface {
	VisitFieldStatement(ctx IFieldStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type FieldStatementEntryListener

type FieldStatementEntryListener interface {
	EnterFieldStatement(c *FieldStatementContext)
}

From Rule 'soruBody'

type FieldStatementExitListener

type FieldStatementExitListener interface {
	ExitFieldStatement(c *FieldStatementContext)
}

type FloatStatementContext

type FloatStatementContext struct {
	*JsonValueContext
	// contains filtered or unexported fields
}

func NewFloatStatementContext

func NewFloatStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FloatStatementContext

func (*FloatStatementContext) EnterRule

func (s *FloatStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*FloatStatementContext) ExitRule

func (s *FloatStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*FloatStatementContext) FLT

func (s *FloatStatementContext) FLT() antlr.TerminalNode

getters

func (*FloatStatementContext) GetF

func (s *FloatStatementContext) GetF() antlr.Token

AltLabelStructDecl tokenDecls

func (*FloatStatementContext) GetRuleContext

func (s *FloatStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*FloatStatementContext) IsFloatStatementContext

func (*FloatStatementContext) IsFloatStatementContext()

func (*FloatStatementContext) SetF

func (s *FloatStatementContext) SetF(v antlr.Token)

func (*FloatStatementContext) Visit

func (s *FloatStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*FloatStatementContext) VisitFunc

func (s *FloatStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type FloatStatementContextVisitor

type FloatStatementContextVisitor interface {
	VisitFloatStatement(ctx IFloatStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type FloatStatementEntryListener

type FloatStatementEntryListener interface {
	EnterFloatStatement(c *FloatStatementContext)
}

From Rule 'jsonValue'

type FloatStatementExitListener

type FloatStatementExitListener interface {
	ExitFloatStatement(c *FloatStatementContext)
}

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
	//tokenTypeDecls
	//tokenListDecls
	//attributeDecls
	//tokenGetterDecl
	EOF() antlr.TerminalNode
}

type IAnnonContext

type IAnnonContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type IArrayStatementContext

type IArrayStatementContext interface {
	//Current rule
	IJsonValueContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	//  ruleListGetterDecl
	AllJsonValue() []IJsonValueContext
	//  ruleListIndexedGetterDecl
	JsonValue(i int) IJsonValueContext

	//  tokenGetterDecl
	LSQ() antlr.TerminalNode
	RSQ() antlr.TerminalNode
	//  tokenListGetterDecl
	AllCOMMA() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	COMMA(i int) antlr.TerminalNode

	//  ruleContextListDecls
	GetJv() []IJsonValueContext
}

type IDeclAnnotationContext

type IDeclAnnotationContext interface {
	//Current rule
	ITop_level_statementContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	JsonValue() IJsonValueContext

	//  tokenGetterDecl
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
	GetA() antlr.Token
	GetB() antlr.Token
}

type IDocAnnoContext

type IDocAnnoContext interface {
	//Current rule
	IAnnonContext

	//  tokenGetterDecl
	LINE_DOC() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetA() antlr.Token
}

type IFieldAnnotationContext

type IFieldAnnotationContext interface {
	//Current rule
	ITop_level_statementContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	JsonValue() IJsonValueContext

	//  tokenGetterDecl
	DCOLON() antlr.TerminalNode
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
	GetA() antlr.Token
	GetB() antlr.Token
	GetC() antlr.Token
}

type IFieldStatementContext

type IFieldStatementContext interface {
	//Current rule
	ISoruBodyContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	TypeExpr() ITypeExprContext
	JsonValue() IJsonValueContext
	//  ruleListGetterDecl
	AllAnnon() []IAnnonContext
	//  ruleListIndexedGetterDecl
	Annon(i int) IAnnonContext

	//  tokenGetterDecl
	SEMI() antlr.TerminalNode
	ID() antlr.TerminalNode
	EQ() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetB() antlr.Token
}

type IFloatStatementContext

type IFloatStatementContext interface {
	//Current rule
	IJsonValueContext

	//  tokenGetterDecl
	FLT() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetF() antlr.Token
}

type IImportModuleNameContext

type IImportModuleNameContext interface {
	//Current rule
	IImportsContext

	//  tokenGetterDecl
	STAR() antlr.TerminalNode
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllDOT() []antlr.TerminalNode
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	DOT(i int) antlr.TerminalNode
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token

	//  tokenTypeDecls
	//  tokenListDecls
	GetA() []antlr.Token
}

type IImportScopedNameContext

type IImportScopedNameContext interface {
	//Current rule
	IImportsContext

	//  tokenGetterDecl
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	AllDOT() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	DOT(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token

	//  tokenTypeDecls
	//  tokenListDecls
	GetA() []antlr.Token
}

type IImportsContext

type IImportsContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type IJsonObjContext added in v1.0.9

type IJsonObjContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type IJsonObjStatementContext added in v1.0.9

type IJsonObjStatementContext interface {
	//Current rule
	IJsonObjContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	JsonValue() IJsonValueContext

	//  tokenGetterDecl
	COLON() antlr.TerminalNode
	STR() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetK() antlr.Token

	//  tokenTypeDecls
	//  tokenListDecls
	//  ruleContextDecls
	GetV() IJsonValueContext
}

type IJsonValueContext

type IJsonValueContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type ILocalAnnoContext

type ILocalAnnoContext interface {
	//Current rule
	IAnnonContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	JsonValue() IJsonValueContext

	//  tokenGetterDecl
	AT() antlr.TerminalNode
	ID() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetA() antlr.Token
}

type IModuleAnnotationContext

type IModuleAnnotationContext interface {
	//Current rule
	ITop_level_statementContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	JsonValue() IJsonValueContext

	//  tokenGetterDecl
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
	GetA() antlr.Token
}

type IModuleContext

type IModuleContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type IModuleStatementContext

type IModuleStatementContext interface {
	//Current rule
	IModuleContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	//  ruleListGetterDecl
	AllAnnon() []IAnnonContext
	AllImports() []IImportsContext
	AllTop_level_statement() []ITop_level_statementContext
	//  ruleListIndexedGetterDecl
	Annon(i int) IAnnonContext
	Imports(i int) IImportsContext
	Top_level_statement(i int) ITop_level_statementContext

	//  tokenGetterDecl
	LCUR() antlr.TerminalNode
	RCUR() antlr.TerminalNode
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	AllDOT() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	DOT(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token

	//  tokenTypeDecls
	//  tokenListDecls
	GetName() []antlr.Token
}

type INumberStatementContext

type INumberStatementContext interface {
	//Current rule
	IJsonValueContext

	//  tokenGetterDecl
	INT() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetN() antlr.Token
}

type IObjStatementContext

type IObjStatementContext interface {
	//Current rule
	IJsonValueContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	//  ruleListGetterDecl
	AllJsonObj() []IJsonObjContext
	//  ruleListIndexedGetterDecl
	JsonObj(i int) IJsonObjContext

	//  tokenGetterDecl
	LCUR() antlr.TerminalNode
	RCUR() antlr.TerminalNode
	//  tokenListGetterDecl
	AllCOMMA() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	COMMA(i int) antlr.TerminalNode
}

type ISoruBodyContext

type ISoruBodyContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type IStringStatementContext

type IStringStatementContext interface {
	//Current rule
	IJsonValueContext

	//  tokenGetterDecl
	STR() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetS() antlr.Token
}

type IStructOrUnionContext

type IStructOrUnionContext interface {
	//Current rule
	ITop_level_statementContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	TypeParam() ITypeParamContext
	//  ruleListGetterDecl
	AllAnnon() []IAnnonContext
	AllSoruBody() []ISoruBodyContext
	//  ruleListIndexedGetterDecl
	Annon(i int) IAnnonContext
	SoruBody(i int) ISoruBodyContext

	//  tokenGetterDecl
	LCUR() antlr.TerminalNode
	RCUR() antlr.TerminalNode
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
	GetA() antlr.Token
}

type ITop_level_statementContext

type ITop_level_statementContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type ITrueFalseNullContext

type ITrueFalseNullContext interface {
	//Current rule
	IJsonValueContext

	//  tokenGetterDecl
	ID() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
}

type ITypeExprContext

type ITypeExprContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type ITypeExprGenericContext added in v1.0.8

type ITypeExprGenericContext interface {
	//Current rule
	ITypeExprContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	//  ruleListGetterDecl
	AllTypeExpr() []ITypeExprContext
	//  ruleListIndexedGetterDecl
	TypeExpr(i int) ITypeExprContext

	//  tokenGetterDecl
	LCHEVR() antlr.TerminalNode
	RCHEVR() antlr.TerminalNode
	ID() antlr.TerminalNode
	//  tokenListGetterDecl
	AllCOMMA() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	COMMA(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetB() antlr.Token

	//  ruleContextListDecls
	GetTypep() []ITypeExprContext
}

type ITypeExprSimpleContext added in v1.0.8

type ITypeExprSimpleContext interface {
	//Current rule
	ITypeExprContext

	//  tokenGetterDecl
	ID() antlr.TerminalNode
	//  tokenListGetterDecl
	//  tokenListIndexedGetterDecl
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetB() antlr.Token
}

type ITypeOrNewtypeContext

type ITypeOrNewtypeContext interface {
	//Current rule
	ITop_level_statementContext
	// start internal
	//Gets for raw elements
	//  ruleGetterDecl
	TypeExpr() ITypeExprContext
	TypeParam() ITypeParamContext
	JsonValue() IJsonValueContext
	//  ruleListGetterDecl
	AllAnnon() []IAnnonContext
	//  ruleListIndexedGetterDecl
	Annon(i int) IAnnonContext

	//  tokenGetterDecl
	SEMI() antlr.TerminalNode
	//  tokenListGetterDecl
	AllEQ() []antlr.TerminalNode
	AllID() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	EQ(i int) antlr.TerminalNode
	ID(i int) antlr.TerminalNode
	// end internal
	//
	//Gets for labeled elements
	//  tokenDecls
	GetKw() antlr.Token
	GetA() antlr.Token
}

type ITypeParamContext

type ITypeParamContext interface {
	antlr.ParserRuleContext
	// GetParser returns the parser.
	GetParser() antlr.Parser
}

type ITypeParameterContext

type ITypeParameterContext interface {
	//Current rule
	ITypeParamContext

	//  tokenGetterDecl
	LCHEVR() antlr.TerminalNode
	RCHEVR() antlr.TerminalNode
	//  tokenListGetterDecl
	AllID() []antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	//  tokenListIndexedGetterDecl
	ID(i int) antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	//  tokenTypeDecls
	//  tokenListDecls
	GetTypep() []antlr.Token
}

type ImportModuleNameContext

type ImportModuleNameContext struct {
	*ImportsContext
	// contains filtered or unexported fields
}

func NewImportModuleNameContext

func NewImportModuleNameContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImportModuleNameContext

func (*ImportModuleNameContext) AllDOT

func (s *ImportModuleNameContext) AllDOT() []antlr.TerminalNode

getters

func (*ImportModuleNameContext) AllID

func (s *ImportModuleNameContext) AllID() []antlr.TerminalNode

func (*ImportModuleNameContext) DOT

func (s *ImportModuleNameContext) DOT(i int) antlr.TerminalNode

func (*ImportModuleNameContext) EnterRule

func (s *ImportModuleNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*ImportModuleNameContext) ExitRule

func (s *ImportModuleNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*ImportModuleNameContext) GetA

func (s *ImportModuleNameContext) GetA() []antlr.Token

AltLabelStructDecl tokenListDecls

func (*ImportModuleNameContext) GetKw

func (s *ImportModuleNameContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*ImportModuleNameContext) GetRuleContext

func (s *ImportModuleNameContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ImportModuleNameContext) Get_ID

func (s *ImportModuleNameContext) Get_ID() antlr.Token

func (*ImportModuleNameContext) ID

func (s *ImportModuleNameContext) ID(i int) antlr.TerminalNode

func (*ImportModuleNameContext) IsImportModuleNameContext

func (*ImportModuleNameContext) IsImportModuleNameContext()

func (*ImportModuleNameContext) SEMI

func (s *ImportModuleNameContext) SEMI() antlr.TerminalNode

func (*ImportModuleNameContext) STAR

func (s *ImportModuleNameContext) STAR() antlr.TerminalNode

func (*ImportModuleNameContext) SetA

func (s *ImportModuleNameContext) SetA(v []antlr.Token)

func (*ImportModuleNameContext) SetKw

func (s *ImportModuleNameContext) SetKw(v antlr.Token)

func (*ImportModuleNameContext) Set_ID

func (s *ImportModuleNameContext) Set_ID(v antlr.Token)

func (*ImportModuleNameContext) Visit

func (s *ImportModuleNameContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ImportModuleNameContext) VisitFunc

func (s *ImportModuleNameContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ImportModuleNameContextVisitor

type ImportModuleNameContextVisitor interface {
	VisitImportModuleName(ctx IImportModuleNameContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ImportModuleNameEntryListener

type ImportModuleNameEntryListener interface {
	EnterImportModuleName(c *ImportModuleNameContext)
}

From Rule 'imports'

type ImportModuleNameExitListener

type ImportModuleNameExitListener interface {
	ExitImportModuleName(c *ImportModuleNameContext)
}

type ImportScopedNameContext

type ImportScopedNameContext struct {
	*ImportsContext
	// contains filtered or unexported fields
}

func NewImportScopedNameContext

func NewImportScopedNameContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImportScopedNameContext

func (*ImportScopedNameContext) AllDOT

func (s *ImportScopedNameContext) AllDOT() []antlr.TerminalNode

func (*ImportScopedNameContext) AllID

func (s *ImportScopedNameContext) AllID() []antlr.TerminalNode

func (*ImportScopedNameContext) DOT

func (s *ImportScopedNameContext) DOT(i int) antlr.TerminalNode

func (*ImportScopedNameContext) EnterRule

func (s *ImportScopedNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*ImportScopedNameContext) ExitRule

func (s *ImportScopedNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*ImportScopedNameContext) GetA

func (s *ImportScopedNameContext) GetA() []antlr.Token

AltLabelStructDecl tokenListDecls

func (*ImportScopedNameContext) GetKw

func (s *ImportScopedNameContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*ImportScopedNameContext) GetRuleContext

func (s *ImportScopedNameContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ImportScopedNameContext) Get_ID

func (s *ImportScopedNameContext) Get_ID() antlr.Token

func (*ImportScopedNameContext) ID

func (s *ImportScopedNameContext) ID(i int) antlr.TerminalNode

func (*ImportScopedNameContext) IsImportScopedNameContext

func (*ImportScopedNameContext) IsImportScopedNameContext()

func (*ImportScopedNameContext) SEMI

func (s *ImportScopedNameContext) SEMI() antlr.TerminalNode

getters

func (*ImportScopedNameContext) SetA

func (s *ImportScopedNameContext) SetA(v []antlr.Token)

func (*ImportScopedNameContext) SetKw

func (s *ImportScopedNameContext) SetKw(v antlr.Token)

func (*ImportScopedNameContext) Set_ID

func (s *ImportScopedNameContext) Set_ID(v antlr.Token)

func (*ImportScopedNameContext) Visit

func (s *ImportScopedNameContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ImportScopedNameContext) VisitFunc

func (s *ImportScopedNameContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ImportScopedNameContextVisitor

type ImportScopedNameContextVisitor interface {
	VisitImportScopedName(ctx IImportScopedNameContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ImportScopedNameEntryListener

type ImportScopedNameEntryListener interface {
	EnterImportScopedName(c *ImportScopedNameContext)
}

From Rule 'imports'

type ImportScopedNameExitListener

type ImportScopedNameExitListener interface {
	ExitImportScopedName(c *ImportScopedNameContext)
}

type ImportsContext

type ImportsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImportsContext

func NewEmptyImportsContext() *ImportsContext

func NewImportsContext

func NewImportsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportsContext

func (*ImportsContext) CopyFrom

func (s *ImportsContext) CopyFrom(ctx *ImportsContext)

provideCopyFrom

func (*ImportsContext) GetParser

func (s *ImportsContext) GetParser() antlr.Parser

func (*ImportsContext) GetRuleContext

func (s *ImportsContext) GetRuleContext() antlr.RuleContext

func (*ImportsContext) IsImportsContext

func (*ImportsContext) IsImportsContext()

func (*ImportsContext) ToStringTree

func (s *ImportsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type JsonObjContext added in v1.0.9

type JsonObjContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyJsonObjContext added in v1.0.9

func NewEmptyJsonObjContext() *JsonObjContext

func NewJsonObjContext added in v1.0.9

func NewJsonObjContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JsonObjContext

func (*JsonObjContext) CopyFrom added in v1.0.9

func (s *JsonObjContext) CopyFrom(ctx *JsonObjContext)

provideCopyFrom

func (*JsonObjContext) GetParser added in v1.0.9

func (s *JsonObjContext) GetParser() antlr.Parser

func (*JsonObjContext) GetRuleContext added in v1.0.9

func (s *JsonObjContext) GetRuleContext() antlr.RuleContext

func (*JsonObjContext) IsJsonObjContext added in v1.0.9

func (*JsonObjContext) IsJsonObjContext()

func (*JsonObjContext) ToStringTree added in v1.0.9

func (s *JsonObjContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type JsonObjStatementContext added in v1.0.9

type JsonObjStatementContext struct {
	*JsonObjContext
	// contains filtered or unexported fields
}

func NewJsonObjStatementContext added in v1.0.9

func NewJsonObjStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *JsonObjStatementContext

func (*JsonObjStatementContext) COLON added in v1.0.9

func (s *JsonObjStatementContext) COLON() antlr.TerminalNode

getters

func (*JsonObjStatementContext) EnterRule added in v1.0.9

func (s *JsonObjStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*JsonObjStatementContext) ExitRule added in v1.0.9

func (s *JsonObjStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*JsonObjStatementContext) GetK added in v1.0.9

func (s *JsonObjStatementContext) GetK() antlr.Token

AltLabelStructDecl tokenDecls

func (*JsonObjStatementContext) GetRuleContext added in v1.0.9

func (s *JsonObjStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*JsonObjStatementContext) GetV added in v1.0.9

AltLabelStructDecl ruleContextDecls

func (*JsonObjStatementContext) IsJsonObjStatementContext added in v1.0.9

func (*JsonObjStatementContext) IsJsonObjStatementContext()

func (*JsonObjStatementContext) JsonValue added in v1.0.9

func (*JsonObjStatementContext) STR added in v1.0.9

func (s *JsonObjStatementContext) STR() antlr.TerminalNode

func (*JsonObjStatementContext) SetK added in v1.0.9

func (s *JsonObjStatementContext) SetK(v antlr.Token)

func (*JsonObjStatementContext) SetV added in v1.0.9

func (*JsonObjStatementContext) Visit added in v1.0.9

func (s *JsonObjStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*JsonObjStatementContext) VisitFunc added in v1.0.9

func (s *JsonObjStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type JsonObjStatementContextVisitor added in v1.0.9

type JsonObjStatementContextVisitor interface {
	VisitJsonObjStatement(ctx IJsonObjStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type JsonObjStatementEntryListener added in v1.0.9

type JsonObjStatementEntryListener interface {
	EnterJsonObjStatement(c *JsonObjStatementContext)
}

From Rule 'jsonObj'

type JsonObjStatementExitListener added in v1.0.9

type JsonObjStatementExitListener interface {
	ExitJsonObjStatement(c *JsonObjStatementContext)
}

type JsonValueContext

type JsonValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyJsonValueContext

func NewEmptyJsonValueContext() *JsonValueContext

func NewJsonValueContext

func NewJsonValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JsonValueContext

func (*JsonValueContext) CopyFrom

func (s *JsonValueContext) CopyFrom(ctx *JsonValueContext)

provideCopyFrom

func (*JsonValueContext) GetParser

func (s *JsonValueContext) GetParser() antlr.Parser

func (*JsonValueContext) GetRuleContext

func (s *JsonValueContext) GetRuleContext() antlr.RuleContext

func (*JsonValueContext) IsJsonValueContext

func (*JsonValueContext) IsJsonValueContext()

func (*JsonValueContext) ToStringTree

func (s *JsonValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LocalAnnoContext

type LocalAnnoContext struct {
	*AnnonContext
	// contains filtered or unexported fields
}

func NewLocalAnnoContext

func NewLocalAnnoContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LocalAnnoContext

func (*LocalAnnoContext) AT

func (s *LocalAnnoContext) AT() antlr.TerminalNode

getters

func (*LocalAnnoContext) EnterRule

func (s *LocalAnnoContext) EnterRule(listener antlr.ParseTreeListener)

func (*LocalAnnoContext) ExitRule

func (s *LocalAnnoContext) ExitRule(listener antlr.ParseTreeListener)

func (*LocalAnnoContext) GetA

func (s *LocalAnnoContext) GetA() antlr.Token

AltLabelStructDecl tokenDecls

func (*LocalAnnoContext) GetRuleContext

func (s *LocalAnnoContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*LocalAnnoContext) ID

func (s *LocalAnnoContext) ID() antlr.TerminalNode

func (*LocalAnnoContext) IsLocalAnnoContext

func (*LocalAnnoContext) IsLocalAnnoContext()

func (*LocalAnnoContext) JsonValue

func (s *LocalAnnoContext) JsonValue() IJsonValueContext

func (*LocalAnnoContext) SetA

func (s *LocalAnnoContext) SetA(v antlr.Token)

func (*LocalAnnoContext) Visit

func (s *LocalAnnoContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*LocalAnnoContext) VisitFunc

func (s *LocalAnnoContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type LocalAnnoContextVisitor

type LocalAnnoContextVisitor interface {
	VisitLocalAnno(ctx ILocalAnnoContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type LocalAnnoEntryListener

type LocalAnnoEntryListener interface {
	EnterLocalAnno(c *LocalAnnoContext)
}

From Rule 'annon'

type LocalAnnoExitListener

type LocalAnnoExitListener interface {
	ExitLocalAnno(c *LocalAnnoContext)
}

type ModuleAnnotationContext

type ModuleAnnotationContext struct {
	*Top_level_statementContext
	// contains filtered or unexported fields
}

func NewModuleAnnotationContext

func NewModuleAnnotationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ModuleAnnotationContext

func (*ModuleAnnotationContext) AllID

func (s *ModuleAnnotationContext) AllID() []antlr.TerminalNode

func (*ModuleAnnotationContext) EnterRule

func (s *ModuleAnnotationContext) EnterRule(listener antlr.ParseTreeListener)

func (*ModuleAnnotationContext) ExitRule

func (s *ModuleAnnotationContext) ExitRule(listener antlr.ParseTreeListener)

func (*ModuleAnnotationContext) GetA

func (s *ModuleAnnotationContext) GetA() antlr.Token

func (*ModuleAnnotationContext) GetKw

func (s *ModuleAnnotationContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*ModuleAnnotationContext) GetRuleContext

func (s *ModuleAnnotationContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ModuleAnnotationContext) ID

func (s *ModuleAnnotationContext) ID(i int) antlr.TerminalNode

func (*ModuleAnnotationContext) IsModuleAnnotationContext

func (*ModuleAnnotationContext) IsModuleAnnotationContext()

func (*ModuleAnnotationContext) JsonValue

getters

func (*ModuleAnnotationContext) SEMI

func (s *ModuleAnnotationContext) SEMI() antlr.TerminalNode

func (*ModuleAnnotationContext) SetA

func (s *ModuleAnnotationContext) SetA(v antlr.Token)

func (*ModuleAnnotationContext) SetKw

func (s *ModuleAnnotationContext) SetKw(v antlr.Token)

func (*ModuleAnnotationContext) Visit

func (s *ModuleAnnotationContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ModuleAnnotationContext) VisitFunc

func (s *ModuleAnnotationContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ModuleAnnotationContextVisitor

type ModuleAnnotationContextVisitor interface {
	VisitModuleAnnotation(ctx IModuleAnnotationContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ModuleAnnotationEntryListener

type ModuleAnnotationEntryListener interface {
	EnterModuleAnnotation(c *ModuleAnnotationContext)
}

From Rule 'top_level_statement'

type ModuleAnnotationExitListener

type ModuleAnnotationExitListener interface {
	ExitModuleAnnotation(c *ModuleAnnotationContext)
}

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) CopyFrom

func (s *ModuleContext) CopyFrom(ctx *ModuleContext)

provideCopyFrom

func (*ModuleContext) GetParser

func (s *ModuleContext) GetParser() antlr.Parser

func (*ModuleContext) GetRuleContext

func (s *ModuleContext) GetRuleContext() antlr.RuleContext

func (*ModuleContext) IsModuleContext

func (*ModuleContext) IsModuleContext()

func (*ModuleContext) ToStringTree

func (s *ModuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ModuleStatementContext

type ModuleStatementContext struct {
	*ModuleContext
	// contains filtered or unexported fields
}

func NewModuleStatementContext

func NewModuleStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ModuleStatementContext

func (*ModuleStatementContext) AllAnnon

func (s *ModuleStatementContext) AllAnnon() []IAnnonContext

func (*ModuleStatementContext) AllDOT

func (s *ModuleStatementContext) AllDOT() []antlr.TerminalNode

func (*ModuleStatementContext) AllID

func (s *ModuleStatementContext) AllID() []antlr.TerminalNode

func (*ModuleStatementContext) AllImports

func (s *ModuleStatementContext) AllImports() []IImportsContext

func (*ModuleStatementContext) AllTop_level_statement

func (s *ModuleStatementContext) AllTop_level_statement() []ITop_level_statementContext

func (*ModuleStatementContext) Annon

func (*ModuleStatementContext) DOT

func (s *ModuleStatementContext) DOT(i int) antlr.TerminalNode

func (*ModuleStatementContext) EnterRule

func (s *ModuleStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*ModuleStatementContext) ExitRule

func (s *ModuleStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*ModuleStatementContext) GetKw

func (s *ModuleStatementContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*ModuleStatementContext) GetName

func (s *ModuleStatementContext) GetName() []antlr.Token

AltLabelStructDecl tokenListDecls

func (*ModuleStatementContext) GetRuleContext

func (s *ModuleStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ModuleStatementContext) Get_ID

func (s *ModuleStatementContext) Get_ID() antlr.Token

func (*ModuleStatementContext) ID

func (s *ModuleStatementContext) ID(i int) antlr.TerminalNode

func (*ModuleStatementContext) Imports

func (*ModuleStatementContext) IsModuleStatementContext

func (*ModuleStatementContext) IsModuleStatementContext()

func (*ModuleStatementContext) LCUR

func (s *ModuleStatementContext) LCUR() antlr.TerminalNode

getters

func (*ModuleStatementContext) RCUR

func (s *ModuleStatementContext) RCUR() antlr.TerminalNode

func (*ModuleStatementContext) SEMI

func (s *ModuleStatementContext) SEMI() antlr.TerminalNode

func (*ModuleStatementContext) SetKw

func (s *ModuleStatementContext) SetKw(v antlr.Token)

func (*ModuleStatementContext) SetName

func (s *ModuleStatementContext) SetName(v []antlr.Token)

func (*ModuleStatementContext) Set_ID

func (s *ModuleStatementContext) Set_ID(v antlr.Token)

func (*ModuleStatementContext) Top_level_statement

func (s *ModuleStatementContext) Top_level_statement(i int) ITop_level_statementContext

func (*ModuleStatementContext) Visit

func (s *ModuleStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ModuleStatementContext) VisitFunc

func (s *ModuleStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ModuleStatementContextVisitor

type ModuleStatementContextVisitor interface {
	VisitModuleStatement(ctx IModuleStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ModuleStatementEntryListener

type ModuleStatementEntryListener interface {
	EnterModuleStatement(c *ModuleStatementContext)
}

Named alternatives

From Rule 'module'

type ModuleStatementExitListener

type ModuleStatementExitListener interface {
	ExitModuleStatement(c *ModuleStatementContext)
}

type NumberStatementContext

type NumberStatementContext struct {
	*JsonValueContext
	// contains filtered or unexported fields
}

func NewNumberStatementContext

func NewNumberStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberStatementContext

func (*NumberStatementContext) EnterRule

func (s *NumberStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*NumberStatementContext) ExitRule

func (s *NumberStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*NumberStatementContext) GetN

func (s *NumberStatementContext) GetN() antlr.Token

AltLabelStructDecl tokenDecls

func (*NumberStatementContext) GetRuleContext

func (s *NumberStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*NumberStatementContext) INT

func (s *NumberStatementContext) INT() antlr.TerminalNode

getters

func (*NumberStatementContext) IsNumberStatementContext

func (*NumberStatementContext) IsNumberStatementContext()

func (*NumberStatementContext) SetN

func (s *NumberStatementContext) SetN(v antlr.Token)

func (*NumberStatementContext) Visit

func (s *NumberStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*NumberStatementContext) VisitFunc

func (s *NumberStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type NumberStatementContextVisitor

type NumberStatementContextVisitor interface {
	VisitNumberStatement(ctx INumberStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type NumberStatementEntryListener

type NumberStatementEntryListener interface {
	EnterNumberStatement(c *NumberStatementContext)
}

From Rule 'jsonValue'

type NumberStatementExitListener

type NumberStatementExitListener interface {
	ExitNumberStatement(c *NumberStatementContext)
}

type ObjStatementContext

type ObjStatementContext struct {
	*JsonValueContext
}

func NewObjStatementContext

func NewObjStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ObjStatementContext

func (*ObjStatementContext) AllCOMMA

func (s *ObjStatementContext) AllCOMMA() []antlr.TerminalNode

func (*ObjStatementContext) AllJsonObj added in v1.0.9

func (s *ObjStatementContext) AllJsonObj() []IJsonObjContext

func (*ObjStatementContext) COMMA

func (s *ObjStatementContext) COMMA(i int) antlr.TerminalNode

func (*ObjStatementContext) EnterRule

func (s *ObjStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*ObjStatementContext) ExitRule

func (s *ObjStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*ObjStatementContext) GetRuleContext

func (s *ObjStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*ObjStatementContext) IsObjStatementContext

func (*ObjStatementContext) IsObjStatementContext()

func (*ObjStatementContext) JsonObj added in v1.0.9

func (s *ObjStatementContext) JsonObj(i int) IJsonObjContext

func (*ObjStatementContext) LCUR

func (s *ObjStatementContext) LCUR() antlr.TerminalNode

getters

func (*ObjStatementContext) RCUR

func (s *ObjStatementContext) RCUR() antlr.TerminalNode

func (*ObjStatementContext) Visit

func (s *ObjStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*ObjStatementContext) VisitFunc

func (s *ObjStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type ObjStatementContextVisitor

type ObjStatementContextVisitor interface {
	VisitObjStatement(ctx IObjStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type ObjStatementEntryListener

type ObjStatementEntryListener interface {
	EnterObjStatement(c *ObjStatementContext)
}

From Rule 'jsonValue'

type ObjStatementExitListener

type ObjStatementExitListener interface {
	ExitObjStatement(c *ObjStatementContext)
}

type SoruBodyContext

type SoruBodyContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySoruBodyContext

func NewEmptySoruBodyContext() *SoruBodyContext

func NewSoruBodyContext

func NewSoruBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SoruBodyContext

func (*SoruBodyContext) CopyFrom

func (s *SoruBodyContext) CopyFrom(ctx *SoruBodyContext)

provideCopyFrom

func (*SoruBodyContext) GetParser

func (s *SoruBodyContext) GetParser() antlr.Parser

func (*SoruBodyContext) GetRuleContext

func (s *SoruBodyContext) GetRuleContext() antlr.RuleContext

func (*SoruBodyContext) IsSoruBodyContext

func (*SoruBodyContext) IsSoruBodyContext()

func (*SoruBodyContext) ToStringTree

func (s *SoruBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StringStatementContext

type StringStatementContext struct {
	*JsonValueContext
	// contains filtered or unexported fields
}

func NewStringStatementContext

func NewStringStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringStatementContext

func (*StringStatementContext) EnterRule

func (s *StringStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*StringStatementContext) ExitRule

func (s *StringStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*StringStatementContext) GetRuleContext

func (s *StringStatementContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*StringStatementContext) GetS

func (s *StringStatementContext) GetS() antlr.Token

AltLabelStructDecl tokenDecls

func (*StringStatementContext) IsStringStatementContext

func (*StringStatementContext) IsStringStatementContext()

func (*StringStatementContext) STR

func (s *StringStatementContext) STR() antlr.TerminalNode

getters

func (*StringStatementContext) SetS

func (s *StringStatementContext) SetS(v antlr.Token)

func (*StringStatementContext) Visit

func (s *StringStatementContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*StringStatementContext) VisitFunc

func (s *StringStatementContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type StringStatementContextVisitor

type StringStatementContextVisitor interface {
	VisitStringStatement(ctx IStringStatementContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type StringStatementEntryListener

type StringStatementEntryListener interface {
	EnterStringStatement(c *StringStatementContext)
}

From Rule 'jsonValue'

type StringStatementExitListener

type StringStatementExitListener interface {
	ExitStringStatement(c *StringStatementContext)
}

type StructOrUnionContext

type StructOrUnionContext struct {
	*Top_level_statementContext
	// contains filtered or unexported fields
}

func NewStructOrUnionContext

func NewStructOrUnionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructOrUnionContext

func (*StructOrUnionContext) AllAnnon

func (s *StructOrUnionContext) AllAnnon() []IAnnonContext

func (*StructOrUnionContext) AllID

func (s *StructOrUnionContext) AllID() []antlr.TerminalNode

func (*StructOrUnionContext) AllSoruBody

func (s *StructOrUnionContext) AllSoruBody() []ISoruBodyContext

func (*StructOrUnionContext) Annon

func (*StructOrUnionContext) EnterRule

func (s *StructOrUnionContext) EnterRule(listener antlr.ParseTreeListener)

func (*StructOrUnionContext) ExitRule

func (s *StructOrUnionContext) ExitRule(listener antlr.ParseTreeListener)

func (*StructOrUnionContext) GetA

func (s *StructOrUnionContext) GetA() antlr.Token

func (*StructOrUnionContext) GetKw

func (s *StructOrUnionContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*StructOrUnionContext) GetRuleContext

func (s *StructOrUnionContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*StructOrUnionContext) ID

func (s *StructOrUnionContext) ID(i int) antlr.TerminalNode

func (*StructOrUnionContext) IsStructOrUnionContext

func (*StructOrUnionContext) IsStructOrUnionContext()

func (*StructOrUnionContext) LCUR

func (s *StructOrUnionContext) LCUR() antlr.TerminalNode

getters

func (*StructOrUnionContext) RCUR

func (s *StructOrUnionContext) RCUR() antlr.TerminalNode

func (*StructOrUnionContext) SEMI

func (s *StructOrUnionContext) SEMI() antlr.TerminalNode

func (*StructOrUnionContext) SetA

func (s *StructOrUnionContext) SetA(v antlr.Token)

func (*StructOrUnionContext) SetKw

func (s *StructOrUnionContext) SetKw(v antlr.Token)

func (*StructOrUnionContext) SoruBody

func (s *StructOrUnionContext) SoruBody(i int) ISoruBodyContext

func (*StructOrUnionContext) TypeParam

func (s *StructOrUnionContext) TypeParam() ITypeParamContext

func (*StructOrUnionContext) Visit

func (s *StructOrUnionContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*StructOrUnionContext) VisitFunc

func (s *StructOrUnionContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type StructOrUnionContextVisitor

type StructOrUnionContextVisitor interface {
	VisitStructOrUnion(ctx IStructOrUnionContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type StructOrUnionEntryListener

type StructOrUnionEntryListener interface {
	EnterStructOrUnion(c *StructOrUnionContext)
}

From Rule 'top_level_statement'

type StructOrUnionExitListener

type StructOrUnionExitListener interface {
	ExitStructOrUnion(c *StructOrUnionContext)
}

type Top_level_statementContext

type Top_level_statementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTop_level_statementContext

func NewEmptyTop_level_statementContext() *Top_level_statementContext

func NewTop_level_statementContext

func NewTop_level_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Top_level_statementContext

func (*Top_level_statementContext) CopyFrom

provideCopyFrom

func (*Top_level_statementContext) GetParser

func (s *Top_level_statementContext) GetParser() antlr.Parser

func (*Top_level_statementContext) GetRuleContext

func (s *Top_level_statementContext) GetRuleContext() antlr.RuleContext

func (*Top_level_statementContext) IsTop_level_statementContext

func (*Top_level_statementContext) IsTop_level_statementContext()

func (*Top_level_statementContext) ToStringTree

func (s *Top_level_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TrueFalseNullContext

type TrueFalseNullContext struct {
	*JsonValueContext
	// contains filtered or unexported fields
}

func NewTrueFalseNullContext

func NewTrueFalseNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TrueFalseNullContext

func (*TrueFalseNullContext) EnterRule

func (s *TrueFalseNullContext) EnterRule(listener antlr.ParseTreeListener)

func (*TrueFalseNullContext) ExitRule

func (s *TrueFalseNullContext) ExitRule(listener antlr.ParseTreeListener)

func (*TrueFalseNullContext) GetKw

func (s *TrueFalseNullContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*TrueFalseNullContext) GetRuleContext

func (s *TrueFalseNullContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*TrueFalseNullContext) ID

func (s *TrueFalseNullContext) ID() antlr.TerminalNode

getters

func (*TrueFalseNullContext) IsTrueFalseNullContext

func (*TrueFalseNullContext) IsTrueFalseNullContext()

func (*TrueFalseNullContext) SetKw

func (s *TrueFalseNullContext) SetKw(v antlr.Token)

func (*TrueFalseNullContext) Visit

func (s *TrueFalseNullContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*TrueFalseNullContext) VisitFunc

func (s *TrueFalseNullContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type TrueFalseNullContextVisitor

type TrueFalseNullContextVisitor interface {
	VisitTrueFalseNull(ctx ITrueFalseNullContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type TrueFalseNullEntryListener

type TrueFalseNullEntryListener interface {
	EnterTrueFalseNull(c *TrueFalseNullContext)
}

From Rule 'jsonValue'

type TrueFalseNullExitListener

type TrueFalseNullExitListener interface {
	ExitTrueFalseNull(c *TrueFalseNullContext)
}

type TypeExprContext

type TypeExprContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeExprContext

func NewEmptyTypeExprContext() *TypeExprContext

func NewTypeExprContext

func NewTypeExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeExprContext

func (*TypeExprContext) CopyFrom

func (s *TypeExprContext) CopyFrom(ctx *TypeExprContext)

provideCopyFrom

func (*TypeExprContext) GetParser

func (s *TypeExprContext) GetParser() antlr.Parser

func (*TypeExprContext) GetRuleContext

func (s *TypeExprContext) GetRuleContext() antlr.RuleContext

func (*TypeExprContext) IsTypeExprContext

func (*TypeExprContext) IsTypeExprContext()

func (*TypeExprContext) ToStringTree

func (s *TypeExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TypeExprGenericContext added in v1.0.8

type TypeExprGenericContext struct {
	*TypeExprContext
	// contains filtered or unexported fields
}

func NewTypeExprGenericContext added in v1.0.8

func NewTypeExprGenericContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeExprGenericContext

func (*TypeExprGenericContext) AllCOMMA added in v1.0.8

func (s *TypeExprGenericContext) AllCOMMA() []antlr.TerminalNode

func (*TypeExprGenericContext) AllTypeExpr added in v1.0.8

func (s *TypeExprGenericContext) AllTypeExpr() []ITypeExprContext

func (*TypeExprGenericContext) COMMA added in v1.0.8

func (s *TypeExprGenericContext) COMMA(i int) antlr.TerminalNode

func (*TypeExprGenericContext) EnterRule added in v1.0.8

func (s *TypeExprGenericContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeExprGenericContext) ExitRule added in v1.0.8

func (s *TypeExprGenericContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeExprGenericContext) GetB added in v1.0.8

func (s *TypeExprGenericContext) GetB() antlr.Token

AltLabelStructDecl tokenDecls

func (*TypeExprGenericContext) GetRuleContext added in v1.0.8

func (s *TypeExprGenericContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*TypeExprGenericContext) GetTypep added in v1.0.8

func (s *TypeExprGenericContext) GetTypep() []ITypeExprContext

AltLabelStructDecl ruleContextListDecls

func (*TypeExprGenericContext) Get_typeExpr added in v1.0.8

func (s *TypeExprGenericContext) Get_typeExpr() ITypeExprContext

AltLabelStructDecl ruleContextDecls

func (*TypeExprGenericContext) ID added in v1.0.8

func (s *TypeExprGenericContext) ID() antlr.TerminalNode

func (*TypeExprGenericContext) IsTypeExprGenericContext added in v1.0.8

func (*TypeExprGenericContext) IsTypeExprGenericContext()

func (*TypeExprGenericContext) LCHEVR added in v1.0.8

func (s *TypeExprGenericContext) LCHEVR() antlr.TerminalNode

getters

func (*TypeExprGenericContext) RCHEVR added in v1.0.8

func (s *TypeExprGenericContext) RCHEVR() antlr.TerminalNode

func (*TypeExprGenericContext) SetB added in v1.0.8

func (s *TypeExprGenericContext) SetB(v antlr.Token)

func (*TypeExprGenericContext) SetTypep added in v1.0.8

func (s *TypeExprGenericContext) SetTypep(v []ITypeExprContext)

func (*TypeExprGenericContext) Set_typeExpr added in v1.0.8

func (s *TypeExprGenericContext) Set_typeExpr(v ITypeExprContext)

func (*TypeExprGenericContext) TypeExpr added in v1.0.8

func (*TypeExprGenericContext) Visit added in v1.0.8

func (s *TypeExprGenericContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*TypeExprGenericContext) VisitFunc added in v1.0.8

func (s *TypeExprGenericContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type TypeExprGenericContextVisitor added in v1.0.8

type TypeExprGenericContextVisitor interface {
	VisitTypeExprGeneric(ctx ITypeExprGenericContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type TypeExprGenericEntryListener added in v1.0.8

type TypeExprGenericEntryListener interface {
	EnterTypeExprGeneric(c *TypeExprGenericContext)
}

From Rule 'typeExpr'

type TypeExprGenericExitListener added in v1.0.8

type TypeExprGenericExitListener interface {
	ExitTypeExprGeneric(c *TypeExprGenericContext)
}

type TypeExprSimpleContext added in v1.0.8

type TypeExprSimpleContext struct {
	*TypeExprContext
	// contains filtered or unexported fields
}

func NewTypeExprSimpleContext added in v1.0.8

func NewTypeExprSimpleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeExprSimpleContext

func (*TypeExprSimpleContext) EnterRule added in v1.0.8

func (s *TypeExprSimpleContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeExprSimpleContext) ExitRule added in v1.0.8

func (s *TypeExprSimpleContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeExprSimpleContext) GetB added in v1.0.8

func (s *TypeExprSimpleContext) GetB() antlr.Token

AltLabelStructDecl tokenDecls

func (*TypeExprSimpleContext) GetRuleContext added in v1.0.8

func (s *TypeExprSimpleContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*TypeExprSimpleContext) ID added in v1.0.8

func (s *TypeExprSimpleContext) ID() antlr.TerminalNode

getters

func (*TypeExprSimpleContext) IsTypeExprSimpleContext added in v1.0.8

func (*TypeExprSimpleContext) IsTypeExprSimpleContext()

func (*TypeExprSimpleContext) SetB added in v1.0.8

func (s *TypeExprSimpleContext) SetB(v antlr.Token)

func (*TypeExprSimpleContext) Visit added in v1.0.8

func (s *TypeExprSimpleContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*TypeExprSimpleContext) VisitFunc added in v1.0.8

func (s *TypeExprSimpleContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type TypeExprSimpleContextVisitor added in v1.0.8

type TypeExprSimpleContextVisitor interface {
	VisitTypeExprSimple(ctx ITypeExprSimpleContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type TypeExprSimpleEntryListener added in v1.0.8

type TypeExprSimpleEntryListener interface {
	EnterTypeExprSimple(c *TypeExprSimpleContext)
}

From Rule 'typeExpr'

type TypeExprSimpleExitListener added in v1.0.8

type TypeExprSimpleExitListener interface {
	ExitTypeExprSimple(c *TypeExprSimpleContext)
}

type TypeOrNewtypeContext

type TypeOrNewtypeContext struct {
	*Top_level_statementContext
	// contains filtered or unexported fields
}

func NewTypeOrNewtypeContext

func NewTypeOrNewtypeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeOrNewtypeContext

func (*TypeOrNewtypeContext) AllAnnon

func (s *TypeOrNewtypeContext) AllAnnon() []IAnnonContext

func (*TypeOrNewtypeContext) AllEQ

func (s *TypeOrNewtypeContext) AllEQ() []antlr.TerminalNode

getters

func (*TypeOrNewtypeContext) AllID

func (s *TypeOrNewtypeContext) AllID() []antlr.TerminalNode

func (*TypeOrNewtypeContext) Annon

func (*TypeOrNewtypeContext) EQ

func (s *TypeOrNewtypeContext) EQ(i int) antlr.TerminalNode

func (*TypeOrNewtypeContext) EnterRule

func (s *TypeOrNewtypeContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeOrNewtypeContext) ExitRule

func (s *TypeOrNewtypeContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeOrNewtypeContext) GetA

func (s *TypeOrNewtypeContext) GetA() antlr.Token

func (*TypeOrNewtypeContext) GetKw

func (s *TypeOrNewtypeContext) GetKw() antlr.Token

AltLabelStructDecl tokenDecls

func (*TypeOrNewtypeContext) GetRuleContext

func (s *TypeOrNewtypeContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*TypeOrNewtypeContext) ID

func (s *TypeOrNewtypeContext) ID(i int) antlr.TerminalNode

func (*TypeOrNewtypeContext) IsTypeOrNewtypeContext

func (*TypeOrNewtypeContext) IsTypeOrNewtypeContext()

func (*TypeOrNewtypeContext) JsonValue

func (s *TypeOrNewtypeContext) JsonValue() IJsonValueContext

func (*TypeOrNewtypeContext) SEMI

func (s *TypeOrNewtypeContext) SEMI() antlr.TerminalNode

func (*TypeOrNewtypeContext) SetA

func (s *TypeOrNewtypeContext) SetA(v antlr.Token)

func (*TypeOrNewtypeContext) SetKw

func (s *TypeOrNewtypeContext) SetKw(v antlr.Token)

func (*TypeOrNewtypeContext) TypeExpr

func (s *TypeOrNewtypeContext) TypeExpr() ITypeExprContext

func (*TypeOrNewtypeContext) TypeParam

func (s *TypeOrNewtypeContext) TypeParam() ITypeParamContext

func (*TypeOrNewtypeContext) Visit

func (s *TypeOrNewtypeContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*TypeOrNewtypeContext) VisitFunc

func (s *TypeOrNewtypeContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type TypeOrNewtypeContextVisitor

type TypeOrNewtypeContextVisitor interface {
	VisitTypeOrNewtype(ctx ITypeOrNewtypeContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type TypeOrNewtypeEntryListener

type TypeOrNewtypeEntryListener interface {
	EnterTypeOrNewtype(c *TypeOrNewtypeContext)
}

From Rule 'top_level_statement'

type TypeOrNewtypeExitListener

type TypeOrNewtypeExitListener interface {
	ExitTypeOrNewtype(c *TypeOrNewtypeContext)
}

type TypeParamContext

type TypeParamContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeParamContext

func NewEmptyTypeParamContext() *TypeParamContext

func NewTypeParamContext

func NewTypeParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeParamContext

func (*TypeParamContext) CopyFrom

func (s *TypeParamContext) CopyFrom(ctx *TypeParamContext)

provideCopyFrom

func (*TypeParamContext) GetParser

func (s *TypeParamContext) GetParser() antlr.Parser

func (*TypeParamContext) GetRuleContext

func (s *TypeParamContext) GetRuleContext() antlr.RuleContext

func (*TypeParamContext) IsTypeParamContext

func (*TypeParamContext) IsTypeParamContext()

func (*TypeParamContext) ToStringTree

func (s *TypeParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TypeParameterContext

type TypeParameterContext struct {
	*TypeParamContext
	// contains filtered or unexported fields
}

func NewTypeParameterContext

func NewTypeParameterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeParameterContext

func (*TypeParameterContext) AllCOMMA

func (s *TypeParameterContext) AllCOMMA() []antlr.TerminalNode

func (*TypeParameterContext) AllID

func (s *TypeParameterContext) AllID() []antlr.TerminalNode

func (*TypeParameterContext) COMMA

func (s *TypeParameterContext) COMMA(i int) antlr.TerminalNode

func (*TypeParameterContext) EnterRule

func (s *TypeParameterContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeParameterContext) ExitRule

func (s *TypeParameterContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeParameterContext) GetRuleContext

func (s *TypeParameterContext) GetRuleContext() antlr.RuleContext

getRuleContext

func (*TypeParameterContext) GetTypep

func (s *TypeParameterContext) GetTypep() []antlr.Token

AltLabelStructDecl tokenListDecls

func (*TypeParameterContext) Get_ID

func (s *TypeParameterContext) Get_ID() antlr.Token

AltLabelStructDecl tokenDecls

func (*TypeParameterContext) ID

func (s *TypeParameterContext) ID(i int) antlr.TerminalNode

func (*TypeParameterContext) IsTypeParameterContext

func (*TypeParameterContext) IsTypeParameterContext()

func (*TypeParameterContext) LCHEVR

func (s *TypeParameterContext) LCHEVR() antlr.TerminalNode

getters

func (*TypeParameterContext) RCHEVR

func (s *TypeParameterContext) RCHEVR() antlr.TerminalNode

func (*TypeParameterContext) SetTypep

func (s *TypeParameterContext) SetTypep(v []antlr.Token)

func (*TypeParameterContext) Set_ID

func (s *TypeParameterContext) Set_ID(v antlr.Token)

func (*TypeParameterContext) Visit

func (s *TypeParameterContext) Visit(delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})

func (*TypeParameterContext) VisitFunc

func (s *TypeParameterContext) VisitFunc(hdls antlr.ParserTreeVisitorHandlers, args ...interface{}) (result interface{})

type TypeParameterContextVisitor

type TypeParameterContextVisitor interface {
	VisitTypeParameter(ctx ITypeParameterContext, delegate antlr.ParseTreeVisitor, args ...interface{}) (result interface{})
}

type TypeParameterEntryListener

type TypeParameterEntryListener interface {
	EnterTypeParameter(c *TypeParameterContext)
}

From Rule 'typeParam'

type TypeParameterExitListener

type TypeParameterExitListener interface {
	ExitTypeParameter(c *TypeParameterContext)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL