parser

package
v0.0.0-...-db5562f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoLexerBREAK                  = 1
	GoLexerDEFAULT                = 2
	GoLexerFUNC                   = 3
	GoLexerINTERFACE              = 4
	GoLexerSELECT                 = 5
	GoLexerCASE                   = 6
	GoLexerDEFER                  = 7
	GoLexerGO                     = 8
	GoLexerMAP                    = 9
	GoLexerSTRUCT                 = 10
	GoLexerCHAN                   = 11
	GoLexerELSE                   = 12
	GoLexerGOTO                   = 13
	GoLexerPACKAGE                = 14
	GoLexerSWITCH                 = 15
	GoLexerCONST                  = 16
	GoLexerFALLTHROUGH            = 17
	GoLexerIF                     = 18
	GoLexerRANGE                  = 19
	GoLexerTYPE                   = 20
	GoLexerCONTINUE               = 21
	GoLexerFOR                    = 22
	GoLexerIMPORT                 = 23
	GoLexerRETURN                 = 24
	GoLexerVAR                    = 25
	GoLexerNIL_LIT                = 26
	GoLexerIDENTIFIER             = 27
	GoLexerL_PAREN                = 28
	GoLexerR_PAREN                = 29
	GoLexerL_CURLY                = 30
	GoLexerR_CURLY                = 31
	GoLexerL_BRACKET              = 32
	GoLexerR_BRACKET              = 33
	GoLexerASSIGN                 = 34
	GoLexerCOMMA                  = 35
	GoLexerSEMI                   = 36
	GoLexerCOLON                  = 37
	GoLexerDOT                    = 38
	GoLexerPLUS_PLUS              = 39
	GoLexerMINUS_MINUS            = 40
	GoLexerDECLARE_ASSIGN         = 41
	GoLexerELLIPSIS               = 42
	GoLexerLOGICAL_OR             = 43
	GoLexerLOGICAL_AND            = 44
	GoLexerEQUALS                 = 45
	GoLexerNOT_EQUALS             = 46
	GoLexerLESS                   = 47
	GoLexerLESS_OR_EQUALS         = 48
	GoLexerGREATER                = 49
	GoLexerGREATER_OR_EQUALS      = 50
	GoLexerOR                     = 51
	GoLexerDIV                    = 52
	GoLexerMOD                    = 53
	GoLexerLSHIFT                 = 54
	GoLexerRSHIFT                 = 55
	GoLexerBIT_CLEAR              = 56
	GoLexerEXCLAMATION            = 57
	GoLexerPLUS                   = 58
	GoLexerMINUS                  = 59
	GoLexerCARET                  = 60
	GoLexerSTAR                   = 61
	GoLexerAMPERSAND              = 62
	GoLexerRECEIVE                = 63
	GoLexerDECIMAL_LIT            = 64
	GoLexerBINARY_LIT             = 65
	GoLexerOCTAL_LIT              = 66
	GoLexerHEX_LIT                = 67
	GoLexerFLOAT_LIT              = 68
	GoLexerDECIMAL_FLOAT_LIT      = 69
	GoLexerHEX_FLOAT_LIT          = 70
	GoLexerIMAGINARY_LIT          = 71
	GoLexerRUNE_LIT               = 72
	GoLexerBYTE_VALUE             = 73
	GoLexerOCTAL_BYTE_VALUE       = 74
	GoLexerHEX_BYTE_VALUE         = 75
	GoLexerLITTLE_U_VALUE         = 76
	GoLexerBIG_U_VALUE            = 77
	GoLexerRAW_STRING_LIT         = 78
	GoLexerINTERPRETED_STRING_LIT = 79
	GoLexerWS                     = 80
	GoLexerCOMMENT                = 81
	GoLexerTERMINATOR             = 82
	GoLexerLINE_COMMENT           = 83
	GoLexerWS_NLSEMI              = 84
	GoLexerCOMMENT_NLSEMI         = 85
	GoLexerLINE_COMMENT_NLSEMI    = 86
	GoLexerEOS                    = 87
	GoLexerOTHER                  = 88
)

GoLexer tokens.

View Source
const (
	GoParserEOF                    = antlr.TokenEOF
	GoParserBREAK                  = 1
	GoParserDEFAULT                = 2
	GoParserFUNC                   = 3
	GoParserINTERFACE              = 4
	GoParserSELECT                 = 5
	GoParserCASE                   = 6
	GoParserDEFER                  = 7
	GoParserGO                     = 8
	GoParserMAP                    = 9
	GoParserSTRUCT                 = 10
	GoParserCHAN                   = 11
	GoParserELSE                   = 12
	GoParserGOTO                   = 13
	GoParserPACKAGE                = 14
	GoParserSWITCH                 = 15
	GoParserCONST                  = 16
	GoParserFALLTHROUGH            = 17
	GoParserIF                     = 18
	GoParserRANGE                  = 19
	GoParserTYPE                   = 20
	GoParserCONTINUE               = 21
	GoParserFOR                    = 22
	GoParserIMPORT                 = 23
	GoParserRETURN                 = 24
	GoParserVAR                    = 25
	GoParserNIL_LIT                = 26
	GoParserIDENTIFIER             = 27
	GoParserL_PAREN                = 28
	GoParserR_PAREN                = 29
	GoParserL_CURLY                = 30
	GoParserR_CURLY                = 31
	GoParserL_BRACKET              = 32
	GoParserR_BRACKET              = 33
	GoParserASSIGN                 = 34
	GoParserCOMMA                  = 35
	GoParserSEMI                   = 36
	GoParserCOLON                  = 37
	GoParserDOT                    = 38
	GoParserPLUS_PLUS              = 39
	GoParserMINUS_MINUS            = 40
	GoParserDECLARE_ASSIGN         = 41
	GoParserELLIPSIS               = 42
	GoParserLOGICAL_OR             = 43
	GoParserLOGICAL_AND            = 44
	GoParserEQUALS                 = 45
	GoParserNOT_EQUALS             = 46
	GoParserLESS                   = 47
	GoParserLESS_OR_EQUALS         = 48
	GoParserGREATER                = 49
	GoParserGREATER_OR_EQUALS      = 50
	GoParserOR                     = 51
	GoParserDIV                    = 52
	GoParserMOD                    = 53
	GoParserLSHIFT                 = 54
	GoParserRSHIFT                 = 55
	GoParserBIT_CLEAR              = 56
	GoParserEXCLAMATION            = 57
	GoParserPLUS                   = 58
	GoParserMINUS                  = 59
	GoParserCARET                  = 60
	GoParserSTAR                   = 61
	GoParserAMPERSAND              = 62
	GoParserRECEIVE                = 63
	GoParserDECIMAL_LIT            = 64
	GoParserBINARY_LIT             = 65
	GoParserOCTAL_LIT              = 66
	GoParserHEX_LIT                = 67
	GoParserFLOAT_LIT              = 68
	GoParserDECIMAL_FLOAT_LIT      = 69
	GoParserHEX_FLOAT_LIT          = 70
	GoParserIMAGINARY_LIT          = 71
	GoParserRUNE_LIT               = 72
	GoParserBYTE_VALUE             = 73
	GoParserOCTAL_BYTE_VALUE       = 74
	GoParserHEX_BYTE_VALUE         = 75
	GoParserLITTLE_U_VALUE         = 76
	GoParserBIG_U_VALUE            = 77
	GoParserRAW_STRING_LIT         = 78
	GoParserINTERPRETED_STRING_LIT = 79
	GoParserWS                     = 80
	GoParserCOMMENT                = 81
	GoParserTERMINATOR             = 82
	GoParserLINE_COMMENT           = 83
	GoParserWS_NLSEMI              = 84
	GoParserCOMMENT_NLSEMI         = 85
	GoParserLINE_COMMENT_NLSEMI    = 86
	GoParserEOS                    = 87
	GoParserOTHER                  = 88
)

GoParser tokens.

View Source
const (
	GoParserRULE_sourceFile      = 0
	GoParserRULE_packageClause   = 1
	GoParserRULE_importDecl      = 2
	GoParserRULE_importSpec      = 3
	GoParserRULE_importPath      = 4
	GoParserRULE_declaration     = 5
	GoParserRULE_constDecl       = 6
	GoParserRULE_constSpec       = 7
	GoParserRULE_identifierList  = 8
	GoParserRULE_expressionList  = 9
	GoParserRULE_typeDecl        = 10
	GoParserRULE_typeSpec        = 11
	GoParserRULE_functionDecl    = 12
	GoParserRULE_methodDecl      = 13
	GoParserRULE_receiver        = 14
	GoParserRULE_varDecl         = 15
	GoParserRULE_varSpec         = 16
	GoParserRULE_block           = 17
	GoParserRULE_statementList   = 18
	GoParserRULE_statement       = 19
	GoParserRULE_simpleStmt      = 20
	GoParserRULE_expressionStmt  = 21
	GoParserRULE_sendStmt        = 22
	GoParserRULE_incDecStmt      = 23
	GoParserRULE_assignment      = 24
	GoParserRULE_assign_op       = 25
	GoParserRULE_shortVarDecl    = 26
	GoParserRULE_emptyStmt       = 27
	GoParserRULE_labeledStmt     = 28
	GoParserRULE_returnStmt      = 29
	GoParserRULE_breakStmt       = 30
	GoParserRULE_continueStmt    = 31
	GoParserRULE_gotoStmt        = 32
	GoParserRULE_fallthroughStmt = 33
	GoParserRULE_deferStmt       = 34
	GoParserRULE_ifStmt          = 35
	GoParserRULE_switchStmt      = 36
	GoParserRULE_exprSwitchStmt  = 37
	GoParserRULE_exprCaseClause  = 38
	GoParserRULE_exprSwitchCase  = 39
	GoParserRULE_typeSwitchStmt  = 40
	GoParserRULE_typeSwitchGuard = 41
	GoParserRULE_typeCaseClause  = 42
	GoParserRULE_typeSwitchCase  = 43
	GoParserRULE_typeList        = 44
	GoParserRULE_selectStmt      = 45
	GoParserRULE_commClause      = 46
	GoParserRULE_commCase        = 47
	GoParserRULE_recvStmt        = 48
	GoParserRULE_forStmt         = 49
	GoParserRULE_forClause       = 50
	GoParserRULE_rangeClause     = 51
	GoParserRULE_goStmt          = 52
	GoParserRULE_type_           = 53
	GoParserRULE_typeName        = 54
	GoParserRULE_typeLit         = 55
	GoParserRULE_arrayType       = 56
	GoParserRULE_arrayLength     = 57
	GoParserRULE_elementType     = 58
	GoParserRULE_pointerType     = 59
	GoParserRULE_interfaceType   = 60
	GoParserRULE_sliceType       = 61
	GoParserRULE_mapType         = 62
	GoParserRULE_channelType     = 63
	GoParserRULE_methodSpec      = 64
	GoParserRULE_functionType    = 65
	GoParserRULE_signature       = 66
	GoParserRULE_result          = 67
	GoParserRULE_parameters      = 68
	GoParserRULE_parameterDecl   = 69
	GoParserRULE_expression      = 70
	GoParserRULE_primaryExpr     = 71
	GoParserRULE_conversion      = 72
	GoParserRULE_nonNamedType    = 73
	GoParserRULE_operand         = 74
	GoParserRULE_literal         = 75
	GoParserRULE_basicLit        = 76
	GoParserRULE_integer         = 77
	GoParserRULE_operandName     = 78
	GoParserRULE_qualifiedIdent  = 79
	GoParserRULE_compositeLit    = 80
	GoParserRULE_literalType     = 81
	GoParserRULE_literalValue    = 82
	GoParserRULE_elementList     = 83
	GoParserRULE_keyedElement    = 84
	GoParserRULE_key             = 85
	GoParserRULE_element         = 86
	GoParserRULE_structType      = 87
	GoParserRULE_fieldDecl       = 88
	GoParserRULE_string_         = 89
	GoParserRULE_embeddedField   = 90
	GoParserRULE_functionLit     = 91
	GoParserRULE_index           = 92
	GoParserRULE_slice_          = 93
	GoParserRULE_typeAssertion   = 94
	GoParserRULE_arguments       = 95
	GoParserRULE_methodExpr      = 96
	GoParserRULE_receiverType    = 97
	GoParserRULE_eos             = 98
)

GoParser rules.

View Source
const (
	COMMENT = "// Code generated from gointerface\n"
)
View Source
const GoLexerNLSEMI = 1

GoLexerNLSEMI is the GoLexer mode.

Variables

This section is empty.

Functions

func GoLexerInit

func GoLexerInit()

GoLexerInit initializes any static state used to implement GoLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewGoLexer(). You can call this function if you wish to initialize the static state ahead of time.

func GoParserInit

func GoParserInit()

GoParserInit initializes any static state used to implement GoParser. By default the static state used to implement the parser is lazily initialized during the first call to NewGoParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type ArgumentsContext

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

func NewArgumentsContext

func NewArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentsContext

func NewEmptyArgumentsContext

func NewEmptyArgumentsContext() *ArgumentsContext

func (*ArgumentsContext) AllCOMMA

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

func (*ArgumentsContext) COMMA

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

func (*ArgumentsContext) ELLIPSIS

func (s *ArgumentsContext) ELLIPSIS() antlr.TerminalNode

func (*ArgumentsContext) EnterRule

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

func (*ArgumentsContext) ExitRule

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

func (*ArgumentsContext) ExpressionList

func (s *ArgumentsContext) ExpressionList() IExpressionListContext

func (*ArgumentsContext) GetParser

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

func (*ArgumentsContext) GetRuleContext

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

func (*ArgumentsContext) IsArgumentsContext

func (*ArgumentsContext) IsArgumentsContext()

func (*ArgumentsContext) L_PAREN

func (s *ArgumentsContext) L_PAREN() antlr.TerminalNode

func (*ArgumentsContext) NonNamedType

func (s *ArgumentsContext) NonNamedType() INonNamedTypeContext

func (*ArgumentsContext) R_PAREN

func (s *ArgumentsContext) R_PAREN() antlr.TerminalNode

func (*ArgumentsContext) ToStringTree

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

type ArrayLengthContext

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

func NewArrayLengthContext

func NewArrayLengthContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLengthContext

func NewEmptyArrayLengthContext

func NewEmptyArrayLengthContext() *ArrayLengthContext

func (*ArrayLengthContext) EnterRule

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

func (*ArrayLengthContext) ExitRule

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

func (*ArrayLengthContext) Expression

func (s *ArrayLengthContext) Expression() IExpressionContext

func (*ArrayLengthContext) GetParser

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

func (*ArrayLengthContext) GetRuleContext

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

func (*ArrayLengthContext) IsArrayLengthContext

func (*ArrayLengthContext) IsArrayLengthContext()

func (*ArrayLengthContext) ToStringTree

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

type ArrayTypeContext

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

func NewArrayTypeContext

func NewArrayTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayTypeContext

func NewEmptyArrayTypeContext

func NewEmptyArrayTypeContext() *ArrayTypeContext

func (*ArrayTypeContext) ArrayLength

func (s *ArrayTypeContext) ArrayLength() IArrayLengthContext

func (*ArrayTypeContext) ElementType

func (s *ArrayTypeContext) ElementType() IElementTypeContext

func (*ArrayTypeContext) EnterRule

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

func (*ArrayTypeContext) ExitRule

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

func (*ArrayTypeContext) GetParser

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

func (*ArrayTypeContext) GetRuleContext

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

func (*ArrayTypeContext) IsArrayTypeContext

func (*ArrayTypeContext) IsArrayTypeContext()

func (*ArrayTypeContext) L_BRACKET

func (s *ArrayTypeContext) L_BRACKET() antlr.TerminalNode

func (*ArrayTypeContext) R_BRACKET

func (s *ArrayTypeContext) R_BRACKET() antlr.TerminalNode

func (*ArrayTypeContext) ToStringTree

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

type Assign_opContext

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

func NewAssign_opContext

func NewAssign_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assign_opContext

func NewEmptyAssign_opContext

func NewEmptyAssign_opContext() *Assign_opContext

func (*Assign_opContext) AMPERSAND

func (s *Assign_opContext) AMPERSAND() antlr.TerminalNode

func (*Assign_opContext) ASSIGN

func (s *Assign_opContext) ASSIGN() antlr.TerminalNode

func (*Assign_opContext) BIT_CLEAR

func (s *Assign_opContext) BIT_CLEAR() antlr.TerminalNode

func (*Assign_opContext) CARET

func (s *Assign_opContext) CARET() antlr.TerminalNode

func (*Assign_opContext) DIV

func (*Assign_opContext) EnterRule

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

func (*Assign_opContext) ExitRule

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

func (*Assign_opContext) GetParser

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

func (*Assign_opContext) GetRuleContext

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

func (*Assign_opContext) IsAssign_opContext

func (*Assign_opContext) IsAssign_opContext()

func (*Assign_opContext) LSHIFT

func (s *Assign_opContext) LSHIFT() antlr.TerminalNode

func (*Assign_opContext) MINUS

func (s *Assign_opContext) MINUS() antlr.TerminalNode

func (*Assign_opContext) MOD

func (*Assign_opContext) OR

func (*Assign_opContext) PLUS

func (*Assign_opContext) RSHIFT

func (s *Assign_opContext) RSHIFT() antlr.TerminalNode

func (*Assign_opContext) STAR

func (*Assign_opContext) ToStringTree

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

type AssignmentContext

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

func NewAssignmentContext

func NewAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentContext

func NewEmptyAssignmentContext

func NewEmptyAssignmentContext() *AssignmentContext

func (*AssignmentContext) AllExpressionList

func (s *AssignmentContext) AllExpressionList() []IExpressionListContext

func (*AssignmentContext) Assign_op

func (s *AssignmentContext) Assign_op() IAssign_opContext

func (*AssignmentContext) EnterRule

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

func (*AssignmentContext) ExitRule

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

func (*AssignmentContext) ExpressionList

func (s *AssignmentContext) ExpressionList(i int) IExpressionListContext

func (*AssignmentContext) GetParser

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

func (*AssignmentContext) GetRuleContext

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

func (*AssignmentContext) IsAssignmentContext

func (*AssignmentContext) IsAssignmentContext()

func (*AssignmentContext) ToStringTree

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

type BaseGoParserListener

type BaseGoParserListener struct{}

BaseGoParserListener is a complete listener for a parse tree produced by GoParser.

func (*BaseGoParserListener) EnterArguments

func (s *BaseGoParserListener) EnterArguments(ctx *ArgumentsContext)

EnterArguments is called when production arguments is entered.

func (*BaseGoParserListener) EnterArrayLength

func (s *BaseGoParserListener) EnterArrayLength(ctx *ArrayLengthContext)

EnterArrayLength is called when production arrayLength is entered.

func (*BaseGoParserListener) EnterArrayType

func (s *BaseGoParserListener) EnterArrayType(ctx *ArrayTypeContext)

EnterArrayType is called when production arrayType is entered.

func (*BaseGoParserListener) EnterAssign_op

func (s *BaseGoParserListener) EnterAssign_op(ctx *Assign_opContext)

EnterAssign_op is called when production assign_op is entered.

func (*BaseGoParserListener) EnterAssignment

func (s *BaseGoParserListener) EnterAssignment(ctx *AssignmentContext)

EnterAssignment is called when production assignment is entered.

func (*BaseGoParserListener) EnterBasicLit

func (s *BaseGoParserListener) EnterBasicLit(ctx *BasicLitContext)

EnterBasicLit is called when production basicLit is entered.

func (*BaseGoParserListener) EnterBlock

func (s *BaseGoParserListener) EnterBlock(ctx *BlockContext)

EnterBlock is called when production block is entered.

func (*BaseGoParserListener) EnterBreakStmt

func (s *BaseGoParserListener) EnterBreakStmt(ctx *BreakStmtContext)

EnterBreakStmt is called when production breakStmt is entered.

func (*BaseGoParserListener) EnterChannelType

func (s *BaseGoParserListener) EnterChannelType(ctx *ChannelTypeContext)

EnterChannelType is called when production channelType is entered.

func (*BaseGoParserListener) EnterCommCase

func (s *BaseGoParserListener) EnterCommCase(ctx *CommCaseContext)

EnterCommCase is called when production commCase is entered.

func (*BaseGoParserListener) EnterCommClause

func (s *BaseGoParserListener) EnterCommClause(ctx *CommClauseContext)

EnterCommClause is called when production commClause is entered.

func (*BaseGoParserListener) EnterCompositeLit

func (s *BaseGoParserListener) EnterCompositeLit(ctx *CompositeLitContext)

EnterCompositeLit is called when production compositeLit is entered.

func (*BaseGoParserListener) EnterConstDecl

func (s *BaseGoParserListener) EnterConstDecl(ctx *ConstDeclContext)

EnterConstDecl is called when production constDecl is entered.

func (*BaseGoParserListener) EnterConstSpec

func (s *BaseGoParserListener) EnterConstSpec(ctx *ConstSpecContext)

EnterConstSpec is called when production constSpec is entered.

func (*BaseGoParserListener) EnterContinueStmt

func (s *BaseGoParserListener) EnterContinueStmt(ctx *ContinueStmtContext)

EnterContinueStmt is called when production continueStmt is entered.

func (*BaseGoParserListener) EnterConversion

func (s *BaseGoParserListener) EnterConversion(ctx *ConversionContext)

EnterConversion is called when production conversion is entered.

func (*BaseGoParserListener) EnterDeclStruct

func (s *BaseGoParserListener) EnterDeclStruct(ctx *DeclStructContext)

EnterDeclStruct is called when production declStruct is entered.

func (*BaseGoParserListener) EnterDeclaration

func (s *BaseGoParserListener) EnterDeclaration(ctx *DeclarationContext)

EnterDeclaration is called when production declaration is entered.

func (*BaseGoParserListener) EnterDeferStmt

func (s *BaseGoParserListener) EnterDeferStmt(ctx *DeferStmtContext)

EnterDeferStmt is called when production deferStmt is entered.

func (*BaseGoParserListener) EnterElement

func (s *BaseGoParserListener) EnterElement(ctx *ElementContext)

EnterElement is called when production element is entered.

func (*BaseGoParserListener) EnterElementList

func (s *BaseGoParserListener) EnterElementList(ctx *ElementListContext)

EnterElementList is called when production elementList is entered.

func (*BaseGoParserListener) EnterElementType

func (s *BaseGoParserListener) EnterElementType(ctx *ElementTypeContext)

EnterElementType is called when production elementType is entered.

func (*BaseGoParserListener) EnterEmbeddedField

func (s *BaseGoParserListener) EnterEmbeddedField(ctx *EmbeddedFieldContext)

EnterEmbeddedField is called when production embeddedField is entered.

func (*BaseGoParserListener) EnterEmptyStmt

func (s *BaseGoParserListener) EnterEmptyStmt(ctx *EmptyStmtContext)

EnterEmptyStmt is called when production emptyStmt is entered.

func (*BaseGoParserListener) EnterEos

func (s *BaseGoParserListener) EnterEos(ctx *EosContext)

EnterEos is called when production eos is entered.

func (*BaseGoParserListener) EnterEveryRule

func (s *BaseGoParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseGoParserListener) EnterExprCaseClause

func (s *BaseGoParserListener) EnterExprCaseClause(ctx *ExprCaseClauseContext)

EnterExprCaseClause is called when production exprCaseClause is entered.

func (*BaseGoParserListener) EnterExprSwitchCase

func (s *BaseGoParserListener) EnterExprSwitchCase(ctx *ExprSwitchCaseContext)

EnterExprSwitchCase is called when production exprSwitchCase is entered.

func (*BaseGoParserListener) EnterExprSwitchStmt

func (s *BaseGoParserListener) EnterExprSwitchStmt(ctx *ExprSwitchStmtContext)

EnterExprSwitchStmt is called when production exprSwitchStmt is entered.

func (*BaseGoParserListener) EnterExpression

func (s *BaseGoParserListener) EnterExpression(ctx *ExpressionContext)

EnterExpression is called when production expression is entered.

func (*BaseGoParserListener) EnterExpressionList

func (s *BaseGoParserListener) EnterExpressionList(ctx *ExpressionListContext)

EnterExpressionList is called when production expressionList is entered.

func (*BaseGoParserListener) EnterExpressionStmt

func (s *BaseGoParserListener) EnterExpressionStmt(ctx *ExpressionStmtContext)

EnterExpressionStmt is called when production expressionStmt is entered.

func (*BaseGoParserListener) EnterFallthroughStmt

func (s *BaseGoParserListener) EnterFallthroughStmt(ctx *FallthroughStmtContext)

EnterFallthroughStmt is called when production fallthroughStmt is entered.

func (*BaseGoParserListener) EnterFieldDecl

func (s *BaseGoParserListener) EnterFieldDecl(ctx *FieldDeclContext)

EnterFieldDecl is called when production fieldDecl is entered.

func (*BaseGoParserListener) EnterForClause

func (s *BaseGoParserListener) EnterForClause(ctx *ForClauseContext)

EnterForClause is called when production forClause is entered.

func (*BaseGoParserListener) EnterForStmt

func (s *BaseGoParserListener) EnterForStmt(ctx *ForStmtContext)

EnterForStmt is called when production forStmt is entered.

func (*BaseGoParserListener) EnterFunctionDecl

func (s *BaseGoParserListener) EnterFunctionDecl(ctx *FunctionDeclContext)

EnterFunctionDecl is called when production functionDecl is entered.

func (*BaseGoParserListener) EnterFunctionLit

func (s *BaseGoParserListener) EnterFunctionLit(ctx *FunctionLitContext)

EnterFunctionLit is called when production functionLit is entered.

func (*BaseGoParserListener) EnterFunctionType

func (s *BaseGoParserListener) EnterFunctionType(ctx *FunctionTypeContext)

EnterFunctionType is called when production functionType is entered.

func (*BaseGoParserListener) EnterGoStmt

func (s *BaseGoParserListener) EnterGoStmt(ctx *GoStmtContext)

EnterGoStmt is called when production goStmt is entered.

func (*BaseGoParserListener) EnterGotoStmt

func (s *BaseGoParserListener) EnterGotoStmt(ctx *GotoStmtContext)

EnterGotoStmt is called when production gotoStmt is entered.

func (*BaseGoParserListener) EnterIdentifierList

func (s *BaseGoParserListener) EnterIdentifierList(ctx *IdentifierListContext)

EnterIdentifierList is called when production identifierList is entered.

func (*BaseGoParserListener) EnterIfStmt

func (s *BaseGoParserListener) EnterIfStmt(ctx *IfStmtContext)

EnterIfStmt is called when production ifStmt is entered.

func (*BaseGoParserListener) EnterIgn

func (s *BaseGoParserListener) EnterIgn(ctx *IgnContext)

EnterIgn is called when production ign is entered.

func (*BaseGoParserListener) EnterImportDecl

func (s *BaseGoParserListener) EnterImportDecl(ctx *ImportDeclContext)

EnterImportDecl is called when production importDecl is entered.

func (*BaseGoParserListener) EnterImportPath

func (s *BaseGoParserListener) EnterImportPath(ctx *ImportPathContext)

EnterImportPath is called when production importPath is entered.

func (*BaseGoParserListener) EnterImportSpec

func (s *BaseGoParserListener) EnterImportSpec(ctx *ImportSpecContext)

EnterImportSpec is called when production importSpec is entered.

func (*BaseGoParserListener) EnterIncDecStmt

func (s *BaseGoParserListener) EnterIncDecStmt(ctx *IncDecStmtContext)

EnterIncDecStmt is called when production incDecStmt is entered.

func (*BaseGoParserListener) EnterIndex

func (s *BaseGoParserListener) EnterIndex(ctx *IndexContext)

EnterIndex is called when production index is entered.

func (*BaseGoParserListener) EnterInteger

func (s *BaseGoParserListener) EnterInteger(ctx *IntegerContext)

EnterInteger is called when production integer is entered.

func (*BaseGoParserListener) EnterInterfaceType

func (s *BaseGoParserListener) EnterInterfaceType(ctx *InterfaceTypeContext)

EnterInterfaceType is called when production interfaceType is entered.

func (*BaseGoParserListener) EnterKey

func (s *BaseGoParserListener) EnterKey(ctx *KeyContext)

EnterKey is called when production key is entered.

func (*BaseGoParserListener) EnterKeyedElement

func (s *BaseGoParserListener) EnterKeyedElement(ctx *KeyedElementContext)

EnterKeyedElement is called when production keyedElement is entered.

func (*BaseGoParserListener) EnterLabeledStmt

func (s *BaseGoParserListener) EnterLabeledStmt(ctx *LabeledStmtContext)

EnterLabeledStmt is called when production labeledStmt is entered.

func (*BaseGoParserListener) EnterLiteral

func (s *BaseGoParserListener) EnterLiteral(ctx *LiteralContext)

EnterLiteral is called when production literal is entered.

func (*BaseGoParserListener) EnterLiteralType

func (s *BaseGoParserListener) EnterLiteralType(ctx *LiteralTypeContext)

EnterLiteralType is called when production literalType is entered.

func (*BaseGoParserListener) EnterLiteralValue

func (s *BaseGoParserListener) EnterLiteralValue(ctx *LiteralValueContext)

EnterLiteralValue is called when production literalValue is entered.

func (*BaseGoParserListener) EnterMapType

func (s *BaseGoParserListener) EnterMapType(ctx *MapTypeContext)

EnterMapType is called when production mapType is entered.

func (*BaseGoParserListener) EnterMethodDecl

func (s *BaseGoParserListener) EnterMethodDecl(ctx *MethodDeclContext)

EnterMethodDecl is called when production methodDecl is entered.

func (*BaseGoParserListener) EnterMethodExpr

func (s *BaseGoParserListener) EnterMethodExpr(ctx *MethodExprContext)

EnterMethodExpr is called when production methodExpr is entered.

func (*BaseGoParserListener) EnterMethodSpec

func (s *BaseGoParserListener) EnterMethodSpec(ctx *MethodSpecContext)

EnterMethodSpec is called when production methodSpec is entered.

func (*BaseGoParserListener) EnterNonNamedType

func (s *BaseGoParserListener) EnterNonNamedType(ctx *NonNamedTypeContext)

EnterNonNamedType is called when production nonNamedType is entered.

func (*BaseGoParserListener) EnterOperand

func (s *BaseGoParserListener) EnterOperand(ctx *OperandContext)

EnterOperand is called when production operand is entered.

func (*BaseGoParserListener) EnterOperandName

func (s *BaseGoParserListener) EnterOperandName(ctx *OperandNameContext)

EnterOperandName is called when production operandName is entered.

func (*BaseGoParserListener) EnterPackageClause

func (s *BaseGoParserListener) EnterPackageClause(ctx *PackageClauseContext)

EnterPackageClause is called when production packageClause is entered.

func (*BaseGoParserListener) EnterParamResult

func (s *BaseGoParserListener) EnterParamResult(ctx *ParamResultContext)

EnterParamResult is called when production paramResult is entered.

func (*BaseGoParserListener) EnterParamSimple

func (s *BaseGoParserListener) EnterParamSimple(ctx *ParamSimpleContext)

EnterParamSimple is called when production paramSimple is entered.

func (*BaseGoParserListener) EnterParameterDecl

func (s *BaseGoParserListener) EnterParameterDecl(ctx *ParameterDeclContext)

EnterParameterDecl is called when production parameterDecl is entered.

func (*BaseGoParserListener) EnterParameters

func (s *BaseGoParserListener) EnterParameters(ctx *ParametersContext)

EnterParameters is called when production parameters is entered.

func (*BaseGoParserListener) EnterPointerType

func (s *BaseGoParserListener) EnterPointerType(ctx *PointerTypeContext)

EnterPointerType is called when production pointerType is entered.

func (*BaseGoParserListener) EnterPrimaryExpr

func (s *BaseGoParserListener) EnterPrimaryExpr(ctx *PrimaryExprContext)

EnterPrimaryExpr is called when production primaryExpr is entered.

func (*BaseGoParserListener) EnterQualifiedIdent

func (s *BaseGoParserListener) EnterQualifiedIdent(ctx *QualifiedIdentContext)

EnterQualifiedIdent is called when production qualifiedIdent is entered.

func (*BaseGoParserListener) EnterRangeClause

func (s *BaseGoParserListener) EnterRangeClause(ctx *RangeClauseContext)

EnterRangeClause is called when production rangeClause is entered.

func (*BaseGoParserListener) EnterReceiver

func (s *BaseGoParserListener) EnterReceiver(ctx *ReceiverContext)

EnterReceiver is called when production receiver is entered.

func (*BaseGoParserListener) EnterReceiverType

func (s *BaseGoParserListener) EnterReceiverType(ctx *ReceiverTypeContext)

EnterReceiverType is called when production receiverType is entered.

func (*BaseGoParserListener) EnterRecvStmt

func (s *BaseGoParserListener) EnterRecvStmt(ctx *RecvStmtContext)

EnterRecvStmt is called when production recvStmt is entered.

func (*BaseGoParserListener) EnterResult

func (s *BaseGoParserListener) EnterResult(ctx *ResultContext)

EnterResult is called when production result is entered.

func (*BaseGoParserListener) EnterReturnStmt

func (s *BaseGoParserListener) EnterReturnStmt(ctx *ReturnStmtContext)

EnterReturnStmt is called when production returnStmt is entered.

func (*BaseGoParserListener) EnterSelectStmt

func (s *BaseGoParserListener) EnterSelectStmt(ctx *SelectStmtContext)

EnterSelectStmt is called when production selectStmt is entered.

func (*BaseGoParserListener) EnterSendStmt

func (s *BaseGoParserListener) EnterSendStmt(ctx *SendStmtContext)

EnterSendStmt is called when production sendStmt is entered.

func (*BaseGoParserListener) EnterShortVarDecl

func (s *BaseGoParserListener) EnterShortVarDecl(ctx *ShortVarDeclContext)

EnterShortVarDecl is called when production shortVarDecl is entered.

func (*BaseGoParserListener) EnterSimpleStmt

func (s *BaseGoParserListener) EnterSimpleStmt(ctx *SimpleStmtContext)

EnterSimpleStmt is called when production simpleStmt is entered.

func (*BaseGoParserListener) EnterSliceType

func (s *BaseGoParserListener) EnterSliceType(ctx *SliceTypeContext)

EnterSliceType is called when production sliceType is entered.

func (*BaseGoParserListener) EnterSlice_

func (s *BaseGoParserListener) EnterSlice_(ctx *Slice_Context)

EnterSlice_ is called when production slice_ is entered.

func (*BaseGoParserListener) EnterSourceFile

func (s *BaseGoParserListener) EnterSourceFile(ctx *SourceFileContext)

EnterSourceFile is called when production sourceFile is entered.

func (*BaseGoParserListener) EnterStatement

func (s *BaseGoParserListener) EnterStatement(ctx *StatementContext)

EnterStatement is called when production statement is entered.

func (*BaseGoParserListener) EnterStatementList

func (s *BaseGoParserListener) EnterStatementList(ctx *StatementListContext)

EnterStatementList is called when production statementList is entered.

func (*BaseGoParserListener) EnterString_

func (s *BaseGoParserListener) EnterString_(ctx *String_Context)

EnterString_ is called when production string_ is entered.

func (*BaseGoParserListener) EnterStructType

func (s *BaseGoParserListener) EnterStructType(ctx *StructTypeContext)

EnterStructType is called when production structType is entered.

func (*BaseGoParserListener) EnterSwitchStmt

func (s *BaseGoParserListener) EnterSwitchStmt(ctx *SwitchStmtContext)

EnterSwitchStmt is called when production switchStmt is entered.

func (*BaseGoParserListener) EnterTypeAssertion

func (s *BaseGoParserListener) EnterTypeAssertion(ctx *TypeAssertionContext)

EnterTypeAssertion is called when production typeAssertion is entered.

func (*BaseGoParserListener) EnterTypeCaseClause

func (s *BaseGoParserListener) EnterTypeCaseClause(ctx *TypeCaseClauseContext)

EnterTypeCaseClause is called when production typeCaseClause is entered.

func (*BaseGoParserListener) EnterTypeDecl

func (s *BaseGoParserListener) EnterTypeDecl(ctx *TypeDeclContext)

EnterTypeDecl is called when production typeDecl is entered.

func (*BaseGoParserListener) EnterTypeList

func (s *BaseGoParserListener) EnterTypeList(ctx *TypeListContext)

EnterTypeList is called when production typeList is entered.

func (*BaseGoParserListener) EnterTypeName

func (s *BaseGoParserListener) EnterTypeName(ctx *TypeNameContext)

EnterTypeName is called when production typeName is entered.

func (*BaseGoParserListener) EnterTypeSpec

func (s *BaseGoParserListener) EnterTypeSpec(ctx *TypeSpecContext)

EnterTypeSpec is called when production typeSpec is entered.

func (*BaseGoParserListener) EnterTypeSwitchCase

func (s *BaseGoParserListener) EnterTypeSwitchCase(ctx *TypeSwitchCaseContext)

EnterTypeSwitchCase is called when production typeSwitchCase is entered.

func (*BaseGoParserListener) EnterTypeSwitchGuard

func (s *BaseGoParserListener) EnterTypeSwitchGuard(ctx *TypeSwitchGuardContext)

EnterTypeSwitchGuard is called when production typeSwitchGuard is entered.

func (*BaseGoParserListener) EnterTypeSwitchStmt

func (s *BaseGoParserListener) EnterTypeSwitchStmt(ctx *TypeSwitchStmtContext)

EnterTypeSwitchStmt is called when production typeSwitchStmt is entered.

func (*BaseGoParserListener) EnterType_

func (s *BaseGoParserListener) EnterType_(ctx *Type_Context)

EnterType_ is called when production type_ is entered.

func (*BaseGoParserListener) EnterVarDecl

func (s *BaseGoParserListener) EnterVarDecl(ctx *VarDeclContext)

EnterVarDecl is called when production varDecl is entered.

func (*BaseGoParserListener) EnterVarSpec

func (s *BaseGoParserListener) EnterVarSpec(ctx *VarSpecContext)

EnterVarSpec is called when production varSpec is entered.

func (*BaseGoParserListener) ExitArguments

func (s *BaseGoParserListener) ExitArguments(ctx *ArgumentsContext)

ExitArguments is called when production arguments is exited.

func (*BaseGoParserListener) ExitArrayLength

func (s *BaseGoParserListener) ExitArrayLength(ctx *ArrayLengthContext)

ExitArrayLength is called when production arrayLength is exited.

func (*BaseGoParserListener) ExitArrayType

func (s *BaseGoParserListener) ExitArrayType(ctx *ArrayTypeContext)

ExitArrayType is called when production arrayType is exited.

func (*BaseGoParserListener) ExitAssign_op

func (s *BaseGoParserListener) ExitAssign_op(ctx *Assign_opContext)

ExitAssign_op is called when production assign_op is exited.

func (*BaseGoParserListener) ExitAssignment

func (s *BaseGoParserListener) ExitAssignment(ctx *AssignmentContext)

ExitAssignment is called when production assignment is exited.

func (*BaseGoParserListener) ExitBasicLit

func (s *BaseGoParserListener) ExitBasicLit(ctx *BasicLitContext)

ExitBasicLit is called when production basicLit is exited.

func (*BaseGoParserListener) ExitBlock

func (s *BaseGoParserListener) ExitBlock(ctx *BlockContext)

ExitBlock is called when production block is exited.

func (*BaseGoParserListener) ExitBreakStmt

func (s *BaseGoParserListener) ExitBreakStmt(ctx *BreakStmtContext)

ExitBreakStmt is called when production breakStmt is exited.

func (*BaseGoParserListener) ExitChannelType

func (s *BaseGoParserListener) ExitChannelType(ctx *ChannelTypeContext)

ExitChannelType is called when production channelType is exited.

func (*BaseGoParserListener) ExitCommCase

func (s *BaseGoParserListener) ExitCommCase(ctx *CommCaseContext)

ExitCommCase is called when production commCase is exited.

func (*BaseGoParserListener) ExitCommClause

func (s *BaseGoParserListener) ExitCommClause(ctx *CommClauseContext)

ExitCommClause is called when production commClause is exited.

func (*BaseGoParserListener) ExitCompositeLit

func (s *BaseGoParserListener) ExitCompositeLit(ctx *CompositeLitContext)

ExitCompositeLit is called when production compositeLit is exited.

func (*BaseGoParserListener) ExitConstDecl

func (s *BaseGoParserListener) ExitConstDecl(ctx *ConstDeclContext)

ExitConstDecl is called when production constDecl is exited.

func (*BaseGoParserListener) ExitConstSpec

func (s *BaseGoParserListener) ExitConstSpec(ctx *ConstSpecContext)

ExitConstSpec is called when production constSpec is exited.

func (*BaseGoParserListener) ExitContinueStmt

func (s *BaseGoParserListener) ExitContinueStmt(ctx *ContinueStmtContext)

ExitContinueStmt is called when production continueStmt is exited.

func (*BaseGoParserListener) ExitConversion

func (s *BaseGoParserListener) ExitConversion(ctx *ConversionContext)

ExitConversion is called when production conversion is exited.

func (*BaseGoParserListener) ExitDeclStruct

func (s *BaseGoParserListener) ExitDeclStruct(ctx *DeclStructContext)

ExitDeclStruct is called when production declStruct is exited.

func (*BaseGoParserListener) ExitDeclaration

func (s *BaseGoParserListener) ExitDeclaration(ctx *DeclarationContext)

ExitDeclaration is called when production declaration is exited.

func (*BaseGoParserListener) ExitDeferStmt

func (s *BaseGoParserListener) ExitDeferStmt(ctx *DeferStmtContext)

ExitDeferStmt is called when production deferStmt is exited.

func (*BaseGoParserListener) ExitElement

func (s *BaseGoParserListener) ExitElement(ctx *ElementContext)

ExitElement is called when production element is exited.

func (*BaseGoParserListener) ExitElementList

func (s *BaseGoParserListener) ExitElementList(ctx *ElementListContext)

ExitElementList is called when production elementList is exited.

func (*BaseGoParserListener) ExitElementType

func (s *BaseGoParserListener) ExitElementType(ctx *ElementTypeContext)

ExitElementType is called when production elementType is exited.

func (*BaseGoParserListener) ExitEmbeddedField

func (s *BaseGoParserListener) ExitEmbeddedField(ctx *EmbeddedFieldContext)

ExitEmbeddedField is called when production embeddedField is exited.

func (*BaseGoParserListener) ExitEmptyStmt

func (s *BaseGoParserListener) ExitEmptyStmt(ctx *EmptyStmtContext)

ExitEmptyStmt is called when production emptyStmt is exited.

func (*BaseGoParserListener) ExitEos

func (s *BaseGoParserListener) ExitEos(ctx *EosContext)

ExitEos is called when production eos is exited.

func (*BaseGoParserListener) ExitEveryRule

func (s *BaseGoParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseGoParserListener) ExitExprCaseClause

func (s *BaseGoParserListener) ExitExprCaseClause(ctx *ExprCaseClauseContext)

ExitExprCaseClause is called when production exprCaseClause is exited.

func (*BaseGoParserListener) ExitExprSwitchCase

func (s *BaseGoParserListener) ExitExprSwitchCase(ctx *ExprSwitchCaseContext)

ExitExprSwitchCase is called when production exprSwitchCase is exited.

func (*BaseGoParserListener) ExitExprSwitchStmt

func (s *BaseGoParserListener) ExitExprSwitchStmt(ctx *ExprSwitchStmtContext)

ExitExprSwitchStmt is called when production exprSwitchStmt is exited.

func (*BaseGoParserListener) ExitExpression

func (s *BaseGoParserListener) ExitExpression(ctx *ExpressionContext)

ExitExpression is called when production expression is exited.

func (*BaseGoParserListener) ExitExpressionList

func (s *BaseGoParserListener) ExitExpressionList(ctx *ExpressionListContext)

ExitExpressionList is called when production expressionList is exited.

func (*BaseGoParserListener) ExitExpressionStmt

func (s *BaseGoParserListener) ExitExpressionStmt(ctx *ExpressionStmtContext)

ExitExpressionStmt is called when production expressionStmt is exited.

func (*BaseGoParserListener) ExitFallthroughStmt

func (s *BaseGoParserListener) ExitFallthroughStmt(ctx *FallthroughStmtContext)

ExitFallthroughStmt is called when production fallthroughStmt is exited.

func (*BaseGoParserListener) ExitFieldDecl

func (s *BaseGoParserListener) ExitFieldDecl(ctx *FieldDeclContext)

ExitFieldDecl is called when production fieldDecl is exited.

func (*BaseGoParserListener) ExitForClause

func (s *BaseGoParserListener) ExitForClause(ctx *ForClauseContext)

ExitForClause is called when production forClause is exited.

func (*BaseGoParserListener) ExitForStmt

func (s *BaseGoParserListener) ExitForStmt(ctx *ForStmtContext)

ExitForStmt is called when production forStmt is exited.

func (*BaseGoParserListener) ExitFunctionDecl

func (s *BaseGoParserListener) ExitFunctionDecl(ctx *FunctionDeclContext)

ExitFunctionDecl is called when production functionDecl is exited.

func (*BaseGoParserListener) ExitFunctionLit

func (s *BaseGoParserListener) ExitFunctionLit(ctx *FunctionLitContext)

ExitFunctionLit is called when production functionLit is exited.

func (*BaseGoParserListener) ExitFunctionType

func (s *BaseGoParserListener) ExitFunctionType(ctx *FunctionTypeContext)

ExitFunctionType is called when production functionType is exited.

func (*BaseGoParserListener) ExitGoStmt

func (s *BaseGoParserListener) ExitGoStmt(ctx *GoStmtContext)

ExitGoStmt is called when production goStmt is exited.

func (*BaseGoParserListener) ExitGotoStmt

func (s *BaseGoParserListener) ExitGotoStmt(ctx *GotoStmtContext)

ExitGotoStmt is called when production gotoStmt is exited.

func (*BaseGoParserListener) ExitIdentifierList

func (s *BaseGoParserListener) ExitIdentifierList(ctx *IdentifierListContext)

ExitIdentifierList is called when production identifierList is exited.

func (*BaseGoParserListener) ExitIfStmt

func (s *BaseGoParserListener) ExitIfStmt(ctx *IfStmtContext)

ExitIfStmt is called when production ifStmt is exited.

func (*BaseGoParserListener) ExitIgn

func (s *BaseGoParserListener) ExitIgn(ctx *IgnContext)

ExitIgn is called when production ign is exited.

func (*BaseGoParserListener) ExitImportDecl

func (s *BaseGoParserListener) ExitImportDecl(ctx *ImportDeclContext)

ExitImportDecl is called when production importDecl is exited.

func (*BaseGoParserListener) ExitImportPath

func (s *BaseGoParserListener) ExitImportPath(ctx *ImportPathContext)

ExitImportPath is called when production importPath is exited.

func (*BaseGoParserListener) ExitImportSpec

func (s *BaseGoParserListener) ExitImportSpec(ctx *ImportSpecContext)

ExitImportSpec is called when production importSpec is exited.

func (*BaseGoParserListener) ExitIncDecStmt

func (s *BaseGoParserListener) ExitIncDecStmt(ctx *IncDecStmtContext)

ExitIncDecStmt is called when production incDecStmt is exited.

func (*BaseGoParserListener) ExitIndex

func (s *BaseGoParserListener) ExitIndex(ctx *IndexContext)

ExitIndex is called when production index is exited.

func (*BaseGoParserListener) ExitInteger

func (s *BaseGoParserListener) ExitInteger(ctx *IntegerContext)

ExitInteger is called when production integer is exited.

func (*BaseGoParserListener) ExitInterfaceType

func (s *BaseGoParserListener) ExitInterfaceType(ctx *InterfaceTypeContext)

ExitInterfaceType is called when production interfaceType is exited.

func (*BaseGoParserListener) ExitKey

func (s *BaseGoParserListener) ExitKey(ctx *KeyContext)

ExitKey is called when production key is exited.

func (*BaseGoParserListener) ExitKeyedElement

func (s *BaseGoParserListener) ExitKeyedElement(ctx *KeyedElementContext)

ExitKeyedElement is called when production keyedElement is exited.

func (*BaseGoParserListener) ExitLabeledStmt

func (s *BaseGoParserListener) ExitLabeledStmt(ctx *LabeledStmtContext)

ExitLabeledStmt is called when production labeledStmt is exited.

func (*BaseGoParserListener) ExitLiteral

func (s *BaseGoParserListener) ExitLiteral(ctx *LiteralContext)

ExitLiteral is called when production literal is exited.

func (*BaseGoParserListener) ExitLiteralType

func (s *BaseGoParserListener) ExitLiteralType(ctx *LiteralTypeContext)

ExitLiteralType is called when production literalType is exited.

func (*BaseGoParserListener) ExitLiteralValue

func (s *BaseGoParserListener) ExitLiteralValue(ctx *LiteralValueContext)

ExitLiteralValue is called when production literalValue is exited.

func (*BaseGoParserListener) ExitMapType

func (s *BaseGoParserListener) ExitMapType(ctx *MapTypeContext)

ExitMapType is called when production mapType is exited.

func (*BaseGoParserListener) ExitMethodDecl

func (s *BaseGoParserListener) ExitMethodDecl(ctx *MethodDeclContext)

ExitMethodDecl is called when production methodDecl is exited.

func (*BaseGoParserListener) ExitMethodExpr

func (s *BaseGoParserListener) ExitMethodExpr(ctx *MethodExprContext)

ExitMethodExpr is called when production methodExpr is exited.

func (*BaseGoParserListener) ExitMethodSpec

func (s *BaseGoParserListener) ExitMethodSpec(ctx *MethodSpecContext)

ExitMethodSpec is called when production methodSpec is exited.

func (*BaseGoParserListener) ExitNonNamedType

func (s *BaseGoParserListener) ExitNonNamedType(ctx *NonNamedTypeContext)

ExitNonNamedType is called when production nonNamedType is exited.

func (*BaseGoParserListener) ExitOperand

func (s *BaseGoParserListener) ExitOperand(ctx *OperandContext)

ExitOperand is called when production operand is exited.

func (*BaseGoParserListener) ExitOperandName

func (s *BaseGoParserListener) ExitOperandName(ctx *OperandNameContext)

ExitOperandName is called when production operandName is exited.

func (*BaseGoParserListener) ExitPackageClause

func (s *BaseGoParserListener) ExitPackageClause(ctx *PackageClauseContext)

ExitPackageClause is called when production packageClause is exited.

func (*BaseGoParserListener) ExitParamResult

func (s *BaseGoParserListener) ExitParamResult(ctx *ParamResultContext)

ExitParamResult is called when production paramResult is exited.

func (*BaseGoParserListener) ExitParamSimple

func (s *BaseGoParserListener) ExitParamSimple(ctx *ParamSimpleContext)

ExitParamSimple is called when production paramSimple is exited.

func (*BaseGoParserListener) ExitParameterDecl

func (s *BaseGoParserListener) ExitParameterDecl(ctx *ParameterDeclContext)

ExitParameterDecl is called when production parameterDecl is exited.

func (*BaseGoParserListener) ExitParameters

func (s *BaseGoParserListener) ExitParameters(ctx *ParametersContext)

ExitParameters is called when production parameters is exited.

func (*BaseGoParserListener) ExitPointerType

func (s *BaseGoParserListener) ExitPointerType(ctx *PointerTypeContext)

ExitPointerType is called when production pointerType is exited.

func (*BaseGoParserListener) ExitPrimaryExpr

func (s *BaseGoParserListener) ExitPrimaryExpr(ctx *PrimaryExprContext)

ExitPrimaryExpr is called when production primaryExpr is exited.

func (*BaseGoParserListener) ExitQualifiedIdent

func (s *BaseGoParserListener) ExitQualifiedIdent(ctx *QualifiedIdentContext)

ExitQualifiedIdent is called when production qualifiedIdent is exited.

func (*BaseGoParserListener) ExitRangeClause

func (s *BaseGoParserListener) ExitRangeClause(ctx *RangeClauseContext)

ExitRangeClause is called when production rangeClause is exited.

func (*BaseGoParserListener) ExitReceiver

func (s *BaseGoParserListener) ExitReceiver(ctx *ReceiverContext)

ExitReceiver is called when production receiver is exited.

func (*BaseGoParserListener) ExitReceiverType

func (s *BaseGoParserListener) ExitReceiverType(ctx *ReceiverTypeContext)

ExitReceiverType is called when production receiverType is exited.

func (*BaseGoParserListener) ExitRecvStmt

func (s *BaseGoParserListener) ExitRecvStmt(ctx *RecvStmtContext)

ExitRecvStmt is called when production recvStmt is exited.

func (*BaseGoParserListener) ExitResult

func (s *BaseGoParserListener) ExitResult(ctx *ResultContext)

ExitResult is called when production result is exited.

func (*BaseGoParserListener) ExitReturnStmt

func (s *BaseGoParserListener) ExitReturnStmt(ctx *ReturnStmtContext)

ExitReturnStmt is called when production returnStmt is exited.

func (*BaseGoParserListener) ExitSelectStmt

func (s *BaseGoParserListener) ExitSelectStmt(ctx *SelectStmtContext)

ExitSelectStmt is called when production selectStmt is exited.

func (*BaseGoParserListener) ExitSendStmt

func (s *BaseGoParserListener) ExitSendStmt(ctx *SendStmtContext)

ExitSendStmt is called when production sendStmt is exited.

func (*BaseGoParserListener) ExitShortVarDecl

func (s *BaseGoParserListener) ExitShortVarDecl(ctx *ShortVarDeclContext)

ExitShortVarDecl is called when production shortVarDecl is exited.

func (*BaseGoParserListener) ExitSimpleStmt

func (s *BaseGoParserListener) ExitSimpleStmt(ctx *SimpleStmtContext)

ExitSimpleStmt is called when production simpleStmt is exited.

func (*BaseGoParserListener) ExitSliceType

func (s *BaseGoParserListener) ExitSliceType(ctx *SliceTypeContext)

ExitSliceType is called when production sliceType is exited.

func (*BaseGoParserListener) ExitSlice_

func (s *BaseGoParserListener) ExitSlice_(ctx *Slice_Context)

ExitSlice_ is called when production slice_ is exited.

func (*BaseGoParserListener) ExitSourceFile

func (s *BaseGoParserListener) ExitSourceFile(ctx *SourceFileContext)

ExitSourceFile is called when production sourceFile is exited.

func (*BaseGoParserListener) ExitStatement

func (s *BaseGoParserListener) ExitStatement(ctx *StatementContext)

ExitStatement is called when production statement is exited.

func (*BaseGoParserListener) ExitStatementList

func (s *BaseGoParserListener) ExitStatementList(ctx *StatementListContext)

ExitStatementList is called when production statementList is exited.

func (*BaseGoParserListener) ExitString_

func (s *BaseGoParserListener) ExitString_(ctx *String_Context)

ExitString_ is called when production string_ is exited.

func (*BaseGoParserListener) ExitStructType

func (s *BaseGoParserListener) ExitStructType(ctx *StructTypeContext)

ExitStructType is called when production structType is exited.

func (*BaseGoParserListener) ExitSwitchStmt

func (s *BaseGoParserListener) ExitSwitchStmt(ctx *SwitchStmtContext)

ExitSwitchStmt is called when production switchStmt is exited.

func (*BaseGoParserListener) ExitTypeAssertion

func (s *BaseGoParserListener) ExitTypeAssertion(ctx *TypeAssertionContext)

ExitTypeAssertion is called when production typeAssertion is exited.

func (*BaseGoParserListener) ExitTypeCaseClause

func (s *BaseGoParserListener) ExitTypeCaseClause(ctx *TypeCaseClauseContext)

ExitTypeCaseClause is called when production typeCaseClause is exited.

func (*BaseGoParserListener) ExitTypeDecl

func (s *BaseGoParserListener) ExitTypeDecl(ctx *TypeDeclContext)

ExitTypeDecl is called when production typeDecl is exited.

func (*BaseGoParserListener) ExitTypeList

func (s *BaseGoParserListener) ExitTypeList(ctx *TypeListContext)

ExitTypeList is called when production typeList is exited.

func (*BaseGoParserListener) ExitTypeName

func (s *BaseGoParserListener) ExitTypeName(ctx *TypeNameContext)

ExitTypeName is called when production typeName is exited.

func (*BaseGoParserListener) ExitTypeSpec

func (s *BaseGoParserListener) ExitTypeSpec(ctx *TypeSpecContext)

ExitTypeSpec is called when production typeSpec is exited.

func (*BaseGoParserListener) ExitTypeSwitchCase

func (s *BaseGoParserListener) ExitTypeSwitchCase(ctx *TypeSwitchCaseContext)

ExitTypeSwitchCase is called when production typeSwitchCase is exited.

func (*BaseGoParserListener) ExitTypeSwitchGuard

func (s *BaseGoParserListener) ExitTypeSwitchGuard(ctx *TypeSwitchGuardContext)

ExitTypeSwitchGuard is called when production typeSwitchGuard is exited.

func (*BaseGoParserListener) ExitTypeSwitchStmt

func (s *BaseGoParserListener) ExitTypeSwitchStmt(ctx *TypeSwitchStmtContext)

ExitTypeSwitchStmt is called when production typeSwitchStmt is exited.

func (*BaseGoParserListener) ExitType_

func (s *BaseGoParserListener) ExitType_(ctx *Type_Context)

ExitType_ is called when production type_ is exited.

func (*BaseGoParserListener) ExitVarDecl

func (s *BaseGoParserListener) ExitVarDecl(ctx *VarDeclContext)

ExitVarDecl is called when production varDecl is exited.

func (*BaseGoParserListener) ExitVarSpec

func (s *BaseGoParserListener) ExitVarSpec(ctx *VarSpecContext)

ExitVarSpec is called when production varSpec is exited.

func (*BaseGoParserListener) VisitErrorNode

func (s *BaseGoParserListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseGoParserListener) VisitTerminal

func (s *BaseGoParserListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BasicLitContext

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

func NewBasicLitContext

func NewBasicLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BasicLitContext

func NewEmptyBasicLitContext

func NewEmptyBasicLitContext() *BasicLitContext

func (*BasicLitContext) EnterRule

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

func (*BasicLitContext) ExitRule

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

func (*BasicLitContext) FLOAT_LIT

func (s *BasicLitContext) FLOAT_LIT() antlr.TerminalNode

func (*BasicLitContext) GetParser

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

func (*BasicLitContext) GetRuleContext

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

func (*BasicLitContext) Integer

func (s *BasicLitContext) Integer() IIntegerContext

func (*BasicLitContext) IsBasicLitContext

func (*BasicLitContext) IsBasicLitContext()

func (*BasicLitContext) NIL_LIT

func (s *BasicLitContext) NIL_LIT() antlr.TerminalNode

func (*BasicLitContext) String_

func (s *BasicLitContext) String_() IString_Context

func (*BasicLitContext) ToStringTree

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

type BlockContext

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

func NewBlockContext

func NewBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockContext

func NewEmptyBlockContext

func NewEmptyBlockContext() *BlockContext

func (*BlockContext) EnterRule

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

func (*BlockContext) ExitRule

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

func (*BlockContext) GetParser

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

func (*BlockContext) GetRuleContext

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

func (*BlockContext) IsBlockContext

func (*BlockContext) IsBlockContext()

func (*BlockContext) L_CURLY

func (s *BlockContext) L_CURLY() antlr.TerminalNode

func (*BlockContext) R_CURLY

func (s *BlockContext) R_CURLY() antlr.TerminalNode

func (*BlockContext) StatementList

func (s *BlockContext) StatementList() IStatementListContext

func (*BlockContext) ToStringTree

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

type BreakStmtContext

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

func NewBreakStmtContext

func NewBreakStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BreakStmtContext

func NewEmptyBreakStmtContext

func NewEmptyBreakStmtContext() *BreakStmtContext

func (*BreakStmtContext) BREAK

func (s *BreakStmtContext) BREAK() antlr.TerminalNode

func (*BreakStmtContext) EnterRule

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

func (*BreakStmtContext) ExitRule

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

func (*BreakStmtContext) GetParser

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

func (*BreakStmtContext) GetRuleContext

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

func (*BreakStmtContext) IDENTIFIER

func (s *BreakStmtContext) IDENTIFIER() antlr.TerminalNode

func (*BreakStmtContext) IsBreakStmtContext

func (*BreakStmtContext) IsBreakStmtContext()

func (*BreakStmtContext) ToStringTree

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

type ChannelTypeContext

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

func NewChannelTypeContext

func NewChannelTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChannelTypeContext

func NewEmptyChannelTypeContext

func NewEmptyChannelTypeContext() *ChannelTypeContext

func (*ChannelTypeContext) CHAN

func (*ChannelTypeContext) ElementType

func (s *ChannelTypeContext) ElementType() IElementTypeContext

func (*ChannelTypeContext) EnterRule

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

func (*ChannelTypeContext) ExitRule

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

func (*ChannelTypeContext) GetParser

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

func (*ChannelTypeContext) GetRuleContext

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

func (*ChannelTypeContext) IsChannelTypeContext

func (*ChannelTypeContext) IsChannelTypeContext()

func (*ChannelTypeContext) RECEIVE

func (s *ChannelTypeContext) RECEIVE() antlr.TerminalNode

func (*ChannelTypeContext) ToStringTree

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

type CommCaseContext

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

func NewCommCaseContext

func NewCommCaseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommCaseContext

func NewEmptyCommCaseContext

func NewEmptyCommCaseContext() *CommCaseContext

func (*CommCaseContext) CASE

func (*CommCaseContext) DEFAULT

func (s *CommCaseContext) DEFAULT() antlr.TerminalNode

func (*CommCaseContext) EnterRule

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

func (*CommCaseContext) ExitRule

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

func (*CommCaseContext) GetParser

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

func (*CommCaseContext) GetRuleContext

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

func (*CommCaseContext) IsCommCaseContext

func (*CommCaseContext) IsCommCaseContext()

func (*CommCaseContext) RecvStmt

func (s *CommCaseContext) RecvStmt() IRecvStmtContext

func (*CommCaseContext) SendStmt

func (s *CommCaseContext) SendStmt() ISendStmtContext

func (*CommCaseContext) ToStringTree

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

type CommClauseContext

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

func NewCommClauseContext

func NewCommClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommClauseContext

func NewEmptyCommClauseContext

func NewEmptyCommClauseContext() *CommClauseContext

func (*CommClauseContext) COLON

func (*CommClauseContext) CommCase

func (s *CommClauseContext) CommCase() ICommCaseContext

func (*CommClauseContext) EnterRule

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

func (*CommClauseContext) ExitRule

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

func (*CommClauseContext) GetParser

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

func (*CommClauseContext) GetRuleContext

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

func (*CommClauseContext) IsCommClauseContext

func (*CommClauseContext) IsCommClauseContext()

func (*CommClauseContext) StatementList

func (s *CommClauseContext) StatementList() IStatementListContext

func (*CommClauseContext) ToStringTree

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

type CompositeLitContext

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

func NewCompositeLitContext

func NewCompositeLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompositeLitContext

func NewEmptyCompositeLitContext

func NewEmptyCompositeLitContext() *CompositeLitContext

func (*CompositeLitContext) EnterRule

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

func (*CompositeLitContext) ExitRule

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

func (*CompositeLitContext) GetParser

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

func (*CompositeLitContext) GetRuleContext

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

func (*CompositeLitContext) IsCompositeLitContext

func (*CompositeLitContext) IsCompositeLitContext()

func (*CompositeLitContext) LiteralType

func (s *CompositeLitContext) LiteralType() ILiteralTypeContext

func (*CompositeLitContext) LiteralValue

func (s *CompositeLitContext) LiteralValue() ILiteralValueContext

func (*CompositeLitContext) ToStringTree

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

type ConstDeclContext

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

func NewConstDeclContext

func NewConstDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstDeclContext

func NewEmptyConstDeclContext

func NewEmptyConstDeclContext() *ConstDeclContext

func (*ConstDeclContext) AllConstSpec

func (s *ConstDeclContext) AllConstSpec() []IConstSpecContext

func (*ConstDeclContext) AllEos

func (s *ConstDeclContext) AllEos() []IEosContext

func (*ConstDeclContext) CONST

func (s *ConstDeclContext) CONST() antlr.TerminalNode

func (*ConstDeclContext) ConstSpec

func (s *ConstDeclContext) ConstSpec(i int) IConstSpecContext

func (*ConstDeclContext) EnterRule

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

func (*ConstDeclContext) Eos

func (s *ConstDeclContext) Eos(i int) IEosContext

func (*ConstDeclContext) ExitRule

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

func (*ConstDeclContext) GetParser

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

func (*ConstDeclContext) GetRuleContext

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

func (*ConstDeclContext) IsConstDeclContext

func (*ConstDeclContext) IsConstDeclContext()

func (*ConstDeclContext) L_PAREN

func (s *ConstDeclContext) L_PAREN() antlr.TerminalNode

func (*ConstDeclContext) R_PAREN

func (s *ConstDeclContext) R_PAREN() antlr.TerminalNode

func (*ConstDeclContext) ToStringTree

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

type ConstSpecContext

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

func NewConstSpecContext

func NewConstSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstSpecContext

func NewEmptyConstSpecContext

func NewEmptyConstSpecContext() *ConstSpecContext

func (*ConstSpecContext) ASSIGN

func (s *ConstSpecContext) ASSIGN() antlr.TerminalNode

func (*ConstSpecContext) EnterRule

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

func (*ConstSpecContext) ExitRule

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

func (*ConstSpecContext) ExpressionList

func (s *ConstSpecContext) ExpressionList() IExpressionListContext

func (*ConstSpecContext) GetParser

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

func (*ConstSpecContext) GetRuleContext

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

func (*ConstSpecContext) IdentifierList

func (s *ConstSpecContext) IdentifierList() IIdentifierListContext

func (*ConstSpecContext) IsConstSpecContext

func (*ConstSpecContext) IsConstSpecContext()

func (*ConstSpecContext) ToStringTree

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

func (*ConstSpecContext) Type_

func (s *ConstSpecContext) Type_() IType_Context

type ContinueStmtContext

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

func NewContinueStmtContext

func NewContinueStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContinueStmtContext

func NewEmptyContinueStmtContext

func NewEmptyContinueStmtContext() *ContinueStmtContext

func (*ContinueStmtContext) CONTINUE

func (s *ContinueStmtContext) CONTINUE() antlr.TerminalNode

func (*ContinueStmtContext) EnterRule

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

func (*ContinueStmtContext) ExitRule

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

func (*ContinueStmtContext) GetParser

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

func (*ContinueStmtContext) GetRuleContext

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

func (*ContinueStmtContext) IDENTIFIER

func (s *ContinueStmtContext) IDENTIFIER() antlr.TerminalNode

func (*ContinueStmtContext) IsContinueStmtContext

func (*ContinueStmtContext) IsContinueStmtContext()

func (*ContinueStmtContext) ToStringTree

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

type ConversionContext

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

func NewConversionContext

func NewConversionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConversionContext

func NewEmptyConversionContext

func NewEmptyConversionContext() *ConversionContext

func (*ConversionContext) COMMA

func (*ConversionContext) EnterRule

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

func (*ConversionContext) ExitRule

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

func (*ConversionContext) Expression

func (s *ConversionContext) Expression() IExpressionContext

func (*ConversionContext) GetParser

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

func (*ConversionContext) GetRuleContext

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

func (*ConversionContext) IsConversionContext

func (*ConversionContext) IsConversionContext()

func (*ConversionContext) L_PAREN

func (s *ConversionContext) L_PAREN() antlr.TerminalNode

func (*ConversionContext) NonNamedType

func (s *ConversionContext) NonNamedType() INonNamedTypeContext

func (*ConversionContext) R_PAREN

func (s *ConversionContext) R_PAREN() antlr.TerminalNode

func (*ConversionContext) ToStringTree

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

type DeclStructContext

type DeclStructContext struct {
	*TypeLitContext
}

func NewDeclStructContext

func NewDeclStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DeclStructContext

func (*DeclStructContext) EnterRule

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

func (*DeclStructContext) ExitRule

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

func (*DeclStructContext) GetRuleContext

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

func (*DeclStructContext) StructType

func (s *DeclStructContext) StructType() IStructTypeContext

type DeclarationContext

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

func NewDeclarationContext

func NewDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationContext

func NewEmptyDeclarationContext

func NewEmptyDeclarationContext() *DeclarationContext

func (*DeclarationContext) ConstDecl

func (s *DeclarationContext) ConstDecl() IConstDeclContext

func (*DeclarationContext) EnterRule

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

func (*DeclarationContext) ExitRule

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

func (*DeclarationContext) GetParser

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

func (*DeclarationContext) GetRuleContext

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

func (*DeclarationContext) IsDeclarationContext

func (*DeclarationContext) IsDeclarationContext()

func (*DeclarationContext) ToStringTree

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

func (*DeclarationContext) TypeDecl

func (s *DeclarationContext) TypeDecl() ITypeDeclContext

func (*DeclarationContext) VarDecl

func (s *DeclarationContext) VarDecl() IVarDeclContext

type DeferStmtContext

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

func NewDeferStmtContext

func NewDeferStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeferStmtContext

func NewEmptyDeferStmtContext

func NewEmptyDeferStmtContext() *DeferStmtContext

func (*DeferStmtContext) DEFER

func (s *DeferStmtContext) DEFER() antlr.TerminalNode

func (*DeferStmtContext) EnterRule

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

func (*DeferStmtContext) ExitRule

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

func (*DeferStmtContext) Expression

func (s *DeferStmtContext) Expression() IExpressionContext

func (*DeferStmtContext) GetParser

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

func (*DeferStmtContext) GetRuleContext

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

func (*DeferStmtContext) IsDeferStmtContext

func (*DeferStmtContext) IsDeferStmtContext()

func (*DeferStmtContext) ToStringTree

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

type ElementContext

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

func NewElementContext

func NewElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementContext

func NewEmptyElementContext

func NewEmptyElementContext() *ElementContext

func (*ElementContext) EnterRule

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

func (*ElementContext) ExitRule

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

func (*ElementContext) Expression

func (s *ElementContext) Expression() IExpressionContext

func (*ElementContext) GetParser

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

func (*ElementContext) GetRuleContext

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

func (*ElementContext) IsElementContext

func (*ElementContext) IsElementContext()

func (*ElementContext) LiteralValue

func (s *ElementContext) LiteralValue() ILiteralValueContext

func (*ElementContext) ToStringTree

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

type ElementListContext

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

func NewElementListContext

func NewElementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementListContext

func NewEmptyElementListContext

func NewEmptyElementListContext() *ElementListContext

func (*ElementListContext) AllCOMMA

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

func (*ElementListContext) AllKeyedElement

func (s *ElementListContext) AllKeyedElement() []IKeyedElementContext

func (*ElementListContext) COMMA

func (*ElementListContext) EnterRule

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

func (*ElementListContext) ExitRule

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

func (*ElementListContext) GetParser

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

func (*ElementListContext) GetRuleContext

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

func (*ElementListContext) IsElementListContext

func (*ElementListContext) IsElementListContext()

func (*ElementListContext) KeyedElement

func (s *ElementListContext) KeyedElement(i int) IKeyedElementContext

func (*ElementListContext) ToStringTree

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

type ElementTypeContext

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

func NewElementTypeContext

func NewElementTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementTypeContext

func NewEmptyElementTypeContext

func NewEmptyElementTypeContext() *ElementTypeContext

func (*ElementTypeContext) EnterRule

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

func (*ElementTypeContext) ExitRule

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

func (*ElementTypeContext) GetParser

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

func (*ElementTypeContext) GetRuleContext

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

func (*ElementTypeContext) IsElementTypeContext

func (*ElementTypeContext) IsElementTypeContext()

func (*ElementTypeContext) ToStringTree

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

func (*ElementTypeContext) Type_

func (s *ElementTypeContext) Type_() IType_Context

type EmbeddedFieldContext

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

func NewEmbeddedFieldContext

func NewEmbeddedFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmbeddedFieldContext

func NewEmptyEmbeddedFieldContext

func NewEmptyEmbeddedFieldContext() *EmbeddedFieldContext

func (*EmbeddedFieldContext) EnterRule

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

func (*EmbeddedFieldContext) ExitRule

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

func (*EmbeddedFieldContext) GetParser

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

func (*EmbeddedFieldContext) GetRuleContext

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

func (*EmbeddedFieldContext) IsEmbeddedFieldContext

func (*EmbeddedFieldContext) IsEmbeddedFieldContext()

func (*EmbeddedFieldContext) STAR

func (*EmbeddedFieldContext) ToStringTree

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

func (*EmbeddedFieldContext) TypeName

func (s *EmbeddedFieldContext) TypeName() ITypeNameContext

type EmptyStmtContext

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

func NewEmptyEmptyStmtContext

func NewEmptyEmptyStmtContext() *EmptyStmtContext

func NewEmptyStmtContext

func NewEmptyStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmptyStmtContext

func (*EmptyStmtContext) EOS

func (*EmptyStmtContext) EnterRule

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

func (*EmptyStmtContext) ExitRule

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

func (*EmptyStmtContext) GetParser

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

func (*EmptyStmtContext) GetRuleContext

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

func (*EmptyStmtContext) IsEmptyStmtContext

func (*EmptyStmtContext) IsEmptyStmtContext()

func (*EmptyStmtContext) SEMI

func (*EmptyStmtContext) ToStringTree

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

type EosContext

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

func NewEmptyEosContext

func NewEmptyEosContext() *EosContext

func NewEosContext

func NewEosContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EosContext

func (*EosContext) EOF

func (s *EosContext) EOF() antlr.TerminalNode

func (*EosContext) EOS

func (s *EosContext) EOS() antlr.TerminalNode

func (*EosContext) EnterRule

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

func (*EosContext) ExitRule

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

func (*EosContext) GetParser

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

func (*EosContext) GetRuleContext

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

func (*EosContext) IsEosContext

func (*EosContext) IsEosContext()

func (*EosContext) SEMI

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

func (*EosContext) ToStringTree

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

type ErrorListener

type ErrorListener struct {
}

func NewErrorListener

func NewErrorListener() *ErrorListener

func (*ErrorListener) ReportAmbiguity

func (l *ErrorListener) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ambigAlts *antlr.BitSet, configs antlr.ATNConfigSet)

func (*ErrorListener) ReportAttemptingFullContext

func (l *ErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, conflictingAlts *antlr.BitSet, configs antlr.ATNConfigSet)

func (*ErrorListener) ReportContextSensitivity

func (l *ErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, configs antlr.ATNConfigSet)

func (*ErrorListener) SyntaxError

func (l *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)

type ExprCaseClauseContext

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

func NewEmptyExprCaseClauseContext

func NewEmptyExprCaseClauseContext() *ExprCaseClauseContext

func NewExprCaseClauseContext

func NewExprCaseClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprCaseClauseContext

func (*ExprCaseClauseContext) COLON

func (*ExprCaseClauseContext) EnterRule

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

func (*ExprCaseClauseContext) ExitRule

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

func (*ExprCaseClauseContext) ExprSwitchCase

func (s *ExprCaseClauseContext) ExprSwitchCase() IExprSwitchCaseContext

func (*ExprCaseClauseContext) GetParser

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

func (*ExprCaseClauseContext) GetRuleContext

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

func (*ExprCaseClauseContext) IsExprCaseClauseContext

func (*ExprCaseClauseContext) IsExprCaseClauseContext()

func (*ExprCaseClauseContext) StatementList

func (s *ExprCaseClauseContext) StatementList() IStatementListContext

func (*ExprCaseClauseContext) ToStringTree

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

type ExprSwitchCaseContext

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

func NewEmptyExprSwitchCaseContext

func NewEmptyExprSwitchCaseContext() *ExprSwitchCaseContext

func NewExprSwitchCaseContext

func NewExprSwitchCaseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprSwitchCaseContext

func (*ExprSwitchCaseContext) CASE

func (*ExprSwitchCaseContext) DEFAULT

func (*ExprSwitchCaseContext) EnterRule

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

func (*ExprSwitchCaseContext) ExitRule

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

func (*ExprSwitchCaseContext) ExpressionList

func (s *ExprSwitchCaseContext) ExpressionList() IExpressionListContext

func (*ExprSwitchCaseContext) GetParser

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

func (*ExprSwitchCaseContext) GetRuleContext

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

func (*ExprSwitchCaseContext) IsExprSwitchCaseContext

func (*ExprSwitchCaseContext) IsExprSwitchCaseContext()

func (*ExprSwitchCaseContext) ToStringTree

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

type ExprSwitchStmtContext

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

func NewEmptyExprSwitchStmtContext

func NewEmptyExprSwitchStmtContext() *ExprSwitchStmtContext

func NewExprSwitchStmtContext

func NewExprSwitchStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprSwitchStmtContext

func (*ExprSwitchStmtContext) AllExprCaseClause

func (s *ExprSwitchStmtContext) AllExprCaseClause() []IExprCaseClauseContext

func (*ExprSwitchStmtContext) EnterRule

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

func (*ExprSwitchStmtContext) Eos

func (*ExprSwitchStmtContext) ExitRule

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

func (*ExprSwitchStmtContext) ExprCaseClause

func (s *ExprSwitchStmtContext) ExprCaseClause(i int) IExprCaseClauseContext

func (*ExprSwitchStmtContext) Expression

func (s *ExprSwitchStmtContext) Expression() IExpressionContext

func (*ExprSwitchStmtContext) GetParser

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

func (*ExprSwitchStmtContext) GetRuleContext

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

func (*ExprSwitchStmtContext) IsExprSwitchStmtContext

func (*ExprSwitchStmtContext) IsExprSwitchStmtContext()

func (*ExprSwitchStmtContext) L_CURLY

func (*ExprSwitchStmtContext) R_CURLY

func (*ExprSwitchStmtContext) SWITCH

func (*ExprSwitchStmtContext) SimpleStmt

func (s *ExprSwitchStmtContext) SimpleStmt() ISimpleStmtContext

func (*ExprSwitchStmtContext) ToStringTree

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

type ExpressionContext

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

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) AMPERSAND

func (s *ExpressionContext) AMPERSAND() antlr.TerminalNode

func (*ExpressionContext) AllExpression

func (s *ExpressionContext) AllExpression() []IExpressionContext

func (*ExpressionContext) BIT_CLEAR

func (s *ExpressionContext) BIT_CLEAR() antlr.TerminalNode

func (*ExpressionContext) CARET

func (*ExpressionContext) DIV

func (*ExpressionContext) EQUALS

func (s *ExpressionContext) EQUALS() antlr.TerminalNode

func (*ExpressionContext) EXCLAMATION

func (s *ExpressionContext) EXCLAMATION() antlr.TerminalNode

func (*ExpressionContext) EnterRule

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

func (*ExpressionContext) ExitRule

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

func (*ExpressionContext) Expression

func (s *ExpressionContext) Expression(i int) IExpressionContext

func (*ExpressionContext) GREATER

func (s *ExpressionContext) GREATER() antlr.TerminalNode

func (*ExpressionContext) GREATER_OR_EQUALS

func (s *ExpressionContext) GREATER_OR_EQUALS() antlr.TerminalNode

func (*ExpressionContext) GetAdd_op

func (s *ExpressionContext) GetAdd_op() antlr.Token

func (*ExpressionContext) GetMul_op

func (s *ExpressionContext) GetMul_op() antlr.Token

func (*ExpressionContext) GetParser

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

func (*ExpressionContext) GetRel_op

func (s *ExpressionContext) GetRel_op() antlr.Token

func (*ExpressionContext) GetRuleContext

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

func (*ExpressionContext) GetUnary_op

func (s *ExpressionContext) GetUnary_op() antlr.Token

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) LESS

func (*ExpressionContext) LESS_OR_EQUALS

func (s *ExpressionContext) LESS_OR_EQUALS() antlr.TerminalNode

func (*ExpressionContext) LOGICAL_AND

func (s *ExpressionContext) LOGICAL_AND() antlr.TerminalNode

func (*ExpressionContext) LOGICAL_OR

func (s *ExpressionContext) LOGICAL_OR() antlr.TerminalNode

func (*ExpressionContext) LSHIFT

func (s *ExpressionContext) LSHIFT() antlr.TerminalNode

func (*ExpressionContext) MINUS

func (*ExpressionContext) MOD

func (*ExpressionContext) NOT_EQUALS

func (s *ExpressionContext) NOT_EQUALS() antlr.TerminalNode

func (*ExpressionContext) OR

func (*ExpressionContext) PLUS

func (*ExpressionContext) PrimaryExpr

func (s *ExpressionContext) PrimaryExpr() IPrimaryExprContext

func (*ExpressionContext) RECEIVE

func (s *ExpressionContext) RECEIVE() antlr.TerminalNode

func (*ExpressionContext) RSHIFT

func (s *ExpressionContext) RSHIFT() antlr.TerminalNode

func (*ExpressionContext) STAR

func (*ExpressionContext) SetAdd_op

func (s *ExpressionContext) SetAdd_op(v antlr.Token)

func (*ExpressionContext) SetMul_op

func (s *ExpressionContext) SetMul_op(v antlr.Token)

func (*ExpressionContext) SetRel_op

func (s *ExpressionContext) SetRel_op(v antlr.Token)

func (*ExpressionContext) SetUnary_op

func (s *ExpressionContext) SetUnary_op(v antlr.Token)

func (*ExpressionContext) ToStringTree

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

type ExpressionListContext

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

func NewEmptyExpressionListContext

func NewEmptyExpressionListContext() *ExpressionListContext

func NewExpressionListContext

func NewExpressionListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionListContext

func (*ExpressionListContext) AllCOMMA

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

func (*ExpressionListContext) AllExpression

func (s *ExpressionListContext) AllExpression() []IExpressionContext

func (*ExpressionListContext) COMMA

func (*ExpressionListContext) EnterRule

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

func (*ExpressionListContext) ExitRule

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

func (*ExpressionListContext) Expression

func (s *ExpressionListContext) Expression(i int) IExpressionContext

func (*ExpressionListContext) GetParser

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

func (*ExpressionListContext) GetRuleContext

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

func (*ExpressionListContext) IsExpressionListContext

func (*ExpressionListContext) IsExpressionListContext()

func (*ExpressionListContext) ToStringTree

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

type ExpressionStmtContext

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

func NewEmptyExpressionStmtContext

func NewEmptyExpressionStmtContext() *ExpressionStmtContext

func NewExpressionStmtContext

func NewExpressionStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionStmtContext

func (*ExpressionStmtContext) EnterRule

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

func (*ExpressionStmtContext) ExitRule

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

func (*ExpressionStmtContext) Expression

func (s *ExpressionStmtContext) Expression() IExpressionContext

func (*ExpressionStmtContext) GetParser

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

func (*ExpressionStmtContext) GetRuleContext

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

func (*ExpressionStmtContext) IsExpressionStmtContext

func (*ExpressionStmtContext) IsExpressionStmtContext()

func (*ExpressionStmtContext) ToStringTree

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

type FallthroughStmtContext

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

func NewEmptyFallthroughStmtContext

func NewEmptyFallthroughStmtContext() *FallthroughStmtContext

func NewFallthroughStmtContext

func NewFallthroughStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FallthroughStmtContext

func (*FallthroughStmtContext) EnterRule

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

func (*FallthroughStmtContext) ExitRule

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

func (*FallthroughStmtContext) FALLTHROUGH

func (s *FallthroughStmtContext) FALLTHROUGH() antlr.TerminalNode

func (*FallthroughStmtContext) GetParser

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

func (*FallthroughStmtContext) GetRuleContext

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

func (*FallthroughStmtContext) IsFallthroughStmtContext

func (*FallthroughStmtContext) IsFallthroughStmtContext()

func (*FallthroughStmtContext) ToStringTree

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

type FieldDeclContext

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

func NewEmptyFieldDeclContext

func NewEmptyFieldDeclContext() *FieldDeclContext

func NewFieldDeclContext

func NewFieldDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclContext

func (*FieldDeclContext) EmbeddedField

func (s *FieldDeclContext) EmbeddedField() IEmbeddedFieldContext

func (*FieldDeclContext) EnterRule

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

func (*FieldDeclContext) ExitRule

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

func (*FieldDeclContext) GetParser

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

func (*FieldDeclContext) GetRuleContext

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

func (*FieldDeclContext) GetTag

func (s *FieldDeclContext) GetTag() IString_Context

func (*FieldDeclContext) IdentifierList

func (s *FieldDeclContext) IdentifierList() IIdentifierListContext

func (*FieldDeclContext) IsFieldDeclContext

func (*FieldDeclContext) IsFieldDeclContext()

func (*FieldDeclContext) SetTag

func (s *FieldDeclContext) SetTag(v IString_Context)

func (*FieldDeclContext) String_

func (s *FieldDeclContext) String_() IString_Context

func (*FieldDeclContext) ToStringTree

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

func (*FieldDeclContext) Type_

func (s *FieldDeclContext) Type_() IType_Context

type ForClauseContext

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

func NewEmptyForClauseContext

func NewEmptyForClauseContext() *ForClauseContext

func NewForClauseContext

func NewForClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForClauseContext

func (*ForClauseContext) AllEos

func (s *ForClauseContext) AllEos() []IEosContext

func (*ForClauseContext) AllSimpleStmt

func (s *ForClauseContext) AllSimpleStmt() []ISimpleStmtContext

func (*ForClauseContext) EnterRule

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

func (*ForClauseContext) Eos

func (s *ForClauseContext) Eos(i int) IEosContext

func (*ForClauseContext) ExitRule

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

func (*ForClauseContext) Expression

func (s *ForClauseContext) Expression() IExpressionContext

func (*ForClauseContext) GetInitStmt

func (s *ForClauseContext) GetInitStmt() ISimpleStmtContext

func (*ForClauseContext) GetParser

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

func (*ForClauseContext) GetPostStmt

func (s *ForClauseContext) GetPostStmt() ISimpleStmtContext

func (*ForClauseContext) GetRuleContext

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

func (*ForClauseContext) IsForClauseContext

func (*ForClauseContext) IsForClauseContext()

func (*ForClauseContext) SetInitStmt

func (s *ForClauseContext) SetInitStmt(v ISimpleStmtContext)

func (*ForClauseContext) SetPostStmt

func (s *ForClauseContext) SetPostStmt(v ISimpleStmtContext)

func (*ForClauseContext) SimpleStmt

func (s *ForClauseContext) SimpleStmt(i int) ISimpleStmtContext

func (*ForClauseContext) ToStringTree

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

type ForStmtContext

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

func NewEmptyForStmtContext

func NewEmptyForStmtContext() *ForStmtContext

func NewForStmtContext

func NewForStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForStmtContext

func (*ForStmtContext) Block

func (s *ForStmtContext) Block() IBlockContext

func (*ForStmtContext) EnterRule

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

func (*ForStmtContext) ExitRule

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

func (*ForStmtContext) Expression

func (s *ForStmtContext) Expression() IExpressionContext

func (*ForStmtContext) FOR

func (*ForStmtContext) ForClause

func (s *ForStmtContext) ForClause() IForClauseContext

func (*ForStmtContext) GetParser

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

func (*ForStmtContext) GetRuleContext

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

func (*ForStmtContext) IsForStmtContext

func (*ForStmtContext) IsForStmtContext()

func (*ForStmtContext) RangeClause

func (s *ForStmtContext) RangeClause() IRangeClauseContext

func (*ForStmtContext) ToStringTree

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

type FunctionDeclContext

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

func NewEmptyFunctionDeclContext

func NewEmptyFunctionDeclContext() *FunctionDeclContext

func NewFunctionDeclContext

func NewFunctionDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionDeclContext

func (*FunctionDeclContext) Block

func (*FunctionDeclContext) EnterRule

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

func (*FunctionDeclContext) ExitRule

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

func (*FunctionDeclContext) FUNC

func (*FunctionDeclContext) GetParser

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

func (*FunctionDeclContext) GetRuleContext

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

func (*FunctionDeclContext) IDENTIFIER

func (s *FunctionDeclContext) IDENTIFIER() antlr.TerminalNode

func (*FunctionDeclContext) IsFunctionDeclContext

func (*FunctionDeclContext) IsFunctionDeclContext()

func (*FunctionDeclContext) Signature

func (s *FunctionDeclContext) Signature() ISignatureContext

func (*FunctionDeclContext) ToStringTree

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

type FunctionLitContext

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

func NewEmptyFunctionLitContext

func NewEmptyFunctionLitContext() *FunctionLitContext

func NewFunctionLitContext

func NewFunctionLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionLitContext

func (*FunctionLitContext) Block

func (s *FunctionLitContext) Block() IBlockContext

func (*FunctionLitContext) EnterRule

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

func (*FunctionLitContext) ExitRule

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

func (*FunctionLitContext) FUNC

func (*FunctionLitContext) GetParser

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

func (*FunctionLitContext) GetRuleContext

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

func (*FunctionLitContext) IsFunctionLitContext

func (*FunctionLitContext) IsFunctionLitContext()

func (*FunctionLitContext) Signature

func (s *FunctionLitContext) Signature() ISignatureContext

func (*FunctionLitContext) ToStringTree

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

type FunctionTypeContext

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

func NewEmptyFunctionTypeContext

func NewEmptyFunctionTypeContext() *FunctionTypeContext

func NewFunctionTypeContext

func NewFunctionTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionTypeContext

func (*FunctionTypeContext) EnterRule

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

func (*FunctionTypeContext) ExitRule

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

func (*FunctionTypeContext) FUNC

func (*FunctionTypeContext) GetParser

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

func (*FunctionTypeContext) GetRuleContext

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

func (*FunctionTypeContext) IsFunctionTypeContext

func (*FunctionTypeContext) IsFunctionTypeContext()

func (*FunctionTypeContext) Signature

func (s *FunctionTypeContext) Signature() ISignatureContext

func (*FunctionTypeContext) ToStringTree

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

type GoLexer

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

func NewGoLexer

func NewGoLexer(input antlr.CharStream) *GoLexer

NewGoLexer produces a new lexer instance for the optional input antlr.CharStream.

type GoParser

type GoParser struct {
	GoParserBase
}

func NewGoParser

func NewGoParser(input antlr.TokenStream) *GoParser

NewGoParser produces a new parser instance for the optional input antlr.TokenStream.

func (*GoParser) Arguments

func (p *GoParser) Arguments() (localctx IArgumentsContext)

func (*GoParser) ArrayLength

func (p *GoParser) ArrayLength() (localctx IArrayLengthContext)

func (*GoParser) ArrayType

func (p *GoParser) ArrayType() (localctx IArrayTypeContext)

func (*GoParser) Assign_op

func (p *GoParser) Assign_op() (localctx IAssign_opContext)

func (*GoParser) Assignment

func (p *GoParser) Assignment() (localctx IAssignmentContext)

func (*GoParser) BasicLit

func (p *GoParser) BasicLit() (localctx IBasicLitContext)

func (*GoParser) Block

func (p *GoParser) Block() (localctx IBlockContext)

func (*GoParser) BreakStmt

func (p *GoParser) BreakStmt() (localctx IBreakStmtContext)

func (*GoParser) ChannelType

func (p *GoParser) ChannelType() (localctx IChannelTypeContext)

func (*GoParser) CommCase

func (p *GoParser) CommCase() (localctx ICommCaseContext)

func (*GoParser) CommClause

func (p *GoParser) CommClause() (localctx ICommClauseContext)

func (*GoParser) CompositeLit

func (p *GoParser) CompositeLit() (localctx ICompositeLitContext)

func (*GoParser) ConstDecl

func (p *GoParser) ConstDecl() (localctx IConstDeclContext)

func (*GoParser) ConstSpec

func (p *GoParser) ConstSpec() (localctx IConstSpecContext)

func (*GoParser) ContinueStmt

func (p *GoParser) ContinueStmt() (localctx IContinueStmtContext)

func (*GoParser) Conversion

func (p *GoParser) Conversion() (localctx IConversionContext)

func (*GoParser) Declaration

func (p *GoParser) Declaration() (localctx IDeclarationContext)

func (*GoParser) DeferStmt

func (p *GoParser) DeferStmt() (localctx IDeferStmtContext)

func (*GoParser) Element

func (p *GoParser) Element() (localctx IElementContext)

func (*GoParser) ElementList

func (p *GoParser) ElementList() (localctx IElementListContext)

func (*GoParser) ElementType

func (p *GoParser) ElementType() (localctx IElementTypeContext)

func (*GoParser) EmbeddedField

func (p *GoParser) EmbeddedField() (localctx IEmbeddedFieldContext)

func (*GoParser) EmptyStmt

func (p *GoParser) EmptyStmt() (localctx IEmptyStmtContext)

func (*GoParser) Eos

func (p *GoParser) Eos() (localctx IEosContext)

func (*GoParser) Eos_Sempred

func (p *GoParser) Eos_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*GoParser) ExprCaseClause

func (p *GoParser) ExprCaseClause() (localctx IExprCaseClauseContext)

func (*GoParser) ExprSwitchCase

func (p *GoParser) ExprSwitchCase() (localctx IExprSwitchCaseContext)

func (*GoParser) ExprSwitchStmt

func (p *GoParser) ExprSwitchStmt() (localctx IExprSwitchStmtContext)

func (*GoParser) Expression

func (p *GoParser) Expression() (localctx IExpressionContext)

func (*GoParser) ExpressionList

func (p *GoParser) ExpressionList() (localctx IExpressionListContext)

func (*GoParser) ExpressionStmt

func (p *GoParser) ExpressionStmt() (localctx IExpressionStmtContext)

func (*GoParser) Expression_Sempred

func (p *GoParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*GoParser) FallthroughStmt

func (p *GoParser) FallthroughStmt() (localctx IFallthroughStmtContext)

func (*GoParser) FieldDecl

func (p *GoParser) FieldDecl() (localctx IFieldDeclContext)

func (*GoParser) ForClause

func (p *GoParser) ForClause() (localctx IForClauseContext)

func (*GoParser) ForStmt

func (p *GoParser) ForStmt() (localctx IForStmtContext)

func (*GoParser) FunctionDecl

func (p *GoParser) FunctionDecl() (localctx IFunctionDeclContext)

func (*GoParser) FunctionLit

func (p *GoParser) FunctionLit() (localctx IFunctionLitContext)

func (*GoParser) FunctionType

func (p *GoParser) FunctionType() (localctx IFunctionTypeContext)

func (*GoParser) GoStmt

func (p *GoParser) GoStmt() (localctx IGoStmtContext)

func (*GoParser) GotoStmt

func (p *GoParser) GotoStmt() (localctx IGotoStmtContext)

func (*GoParser) IdentifierList

func (p *GoParser) IdentifierList() (localctx IIdentifierListContext)

func (*GoParser) IfStmt

func (p *GoParser) IfStmt() (localctx IIfStmtContext)

func (*GoParser) ImportDecl

func (p *GoParser) ImportDecl() (localctx IImportDeclContext)

func (*GoParser) ImportPath

func (p *GoParser) ImportPath() (localctx IImportPathContext)

func (*GoParser) ImportSpec

func (p *GoParser) ImportSpec() (localctx IImportSpecContext)

func (*GoParser) IncDecStmt

func (p *GoParser) IncDecStmt() (localctx IIncDecStmtContext)

func (*GoParser) Index

func (p *GoParser) Index() (localctx IIndexContext)

func (*GoParser) Integer

func (p *GoParser) Integer() (localctx IIntegerContext)

func (*GoParser) InterfaceType

func (p *GoParser) InterfaceType() (localctx IInterfaceTypeContext)

func (*GoParser) Key

func (p *GoParser) Key() (localctx IKeyContext)

func (*GoParser) KeyedElement

func (p *GoParser) KeyedElement() (localctx IKeyedElementContext)

func (*GoParser) LabeledStmt

func (p *GoParser) LabeledStmt() (localctx ILabeledStmtContext)

func (*GoParser) Literal

func (p *GoParser) Literal() (localctx ILiteralContext)

func (*GoParser) LiteralType

func (p *GoParser) LiteralType() (localctx ILiteralTypeContext)

func (*GoParser) LiteralValue

func (p *GoParser) LiteralValue() (localctx ILiteralValueContext)

func (*GoParser) MapType

func (p *GoParser) MapType() (localctx IMapTypeContext)

func (*GoParser) MethodDecl

func (p *GoParser) MethodDecl() (localctx IMethodDeclContext)

func (*GoParser) MethodExpr

func (p *GoParser) MethodExpr() (localctx IMethodExprContext)

func (*GoParser) MethodSpec

func (p *GoParser) MethodSpec() (localctx IMethodSpecContext)

func (*GoParser) NonNamedType

func (p *GoParser) NonNamedType() (localctx INonNamedTypeContext)

func (*GoParser) Operand

func (p *GoParser) Operand() (localctx IOperandContext)

func (*GoParser) OperandName

func (p *GoParser) OperandName() (localctx IOperandNameContext)

func (*GoParser) PackageClause

func (p *GoParser) PackageClause() (localctx IPackageClauseContext)

func (*GoParser) ParameterDecl

func (p *GoParser) ParameterDecl() (localctx IParameterDeclContext)

func (*GoParser) Parameters

func (p *GoParser) Parameters() (localctx IParametersContext)

func (*GoParser) PointerType

func (p *GoParser) PointerType() (localctx IPointerTypeContext)

func (*GoParser) PrimaryExpr

func (p *GoParser) PrimaryExpr() (localctx IPrimaryExprContext)

func (*GoParser) PrimaryExpr_Sempred

func (p *GoParser) PrimaryExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*GoParser) QualifiedIdent

func (p *GoParser) QualifiedIdent() (localctx IQualifiedIdentContext)

func (*GoParser) RangeClause

func (p *GoParser) RangeClause() (localctx IRangeClauseContext)

func (*GoParser) Receiver

func (p *GoParser) Receiver() (localctx IReceiverContext)

func (*GoParser) ReceiverType

func (p *GoParser) ReceiverType() (localctx IReceiverTypeContext)

func (*GoParser) RecvStmt

func (p *GoParser) RecvStmt() (localctx IRecvStmtContext)

func (*GoParser) Result

func (p *GoParser) Result() (localctx IResultContext)

func (*GoParser) ReturnStmt

func (p *GoParser) ReturnStmt() (localctx IReturnStmtContext)

func (*GoParser) SelectStmt

func (p *GoParser) SelectStmt() (localctx ISelectStmtContext)

func (*GoParser) Sempred

func (p *GoParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*GoParser) SendStmt

func (p *GoParser) SendStmt() (localctx ISendStmtContext)

func (*GoParser) ShortVarDecl

func (p *GoParser) ShortVarDecl() (localctx IShortVarDeclContext)

func (*GoParser) Signature

func (p *GoParser) Signature() (localctx ISignatureContext)

func (*GoParser) SimpleStmt

func (p *GoParser) SimpleStmt() (localctx ISimpleStmtContext)

func (*GoParser) SliceType

func (p *GoParser) SliceType() (localctx ISliceTypeContext)

func (*GoParser) Slice_

func (p *GoParser) Slice_() (localctx ISlice_Context)

func (*GoParser) SourceFile

func (p *GoParser) SourceFile() (localctx ISourceFileContext)

func (*GoParser) Statement

func (p *GoParser) Statement() (localctx IStatementContext)

func (*GoParser) StatementList

func (p *GoParser) StatementList() (localctx IStatementListContext)

func (*GoParser) StatementList_Sempred

func (p *GoParser) StatementList_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*GoParser) String_

func (p *GoParser) String_() (localctx IString_Context)

func (*GoParser) StructType

func (p *GoParser) StructType() (localctx IStructTypeContext)

func (*GoParser) SwitchStmt

func (p *GoParser) SwitchStmt() (localctx ISwitchStmtContext)

func (*GoParser) TypeAssertion

func (p *GoParser) TypeAssertion() (localctx ITypeAssertionContext)

func (*GoParser) TypeCaseClause

func (p *GoParser) TypeCaseClause() (localctx ITypeCaseClauseContext)

func (*GoParser) TypeDecl

func (p *GoParser) TypeDecl() (localctx ITypeDeclContext)

func (*GoParser) TypeList

func (p *GoParser) TypeList() (localctx ITypeListContext)

func (*GoParser) TypeLit

func (p *GoParser) TypeLit() (localctx ITypeLitContext)

func (*GoParser) TypeName

func (p *GoParser) TypeName() (localctx ITypeNameContext)

func (*GoParser) TypeSpec

func (p *GoParser) TypeSpec() (localctx ITypeSpecContext)

func (*GoParser) TypeSwitchCase

func (p *GoParser) TypeSwitchCase() (localctx ITypeSwitchCaseContext)

func (*GoParser) TypeSwitchGuard

func (p *GoParser) TypeSwitchGuard() (localctx ITypeSwitchGuardContext)

func (*GoParser) TypeSwitchStmt

func (p *GoParser) TypeSwitchStmt() (localctx ITypeSwitchStmtContext)

func (*GoParser) Type_

func (p *GoParser) Type_() (localctx IType_Context)

func (*GoParser) VarDecl

func (p *GoParser) VarDecl() (localctx IVarDeclContext)

func (*GoParser) VarSpec

func (p *GoParser) VarSpec() (localctx IVarSpecContext)

type GoParserBase

type GoParserBase struct {
	*antlr.BaseParser
}

GoParserBase implementation.

type GoParserListener

type GoParserListener interface {
	antlr.ParseTreeListener

	// EnterSourceFile is called when entering the sourceFile production.
	EnterSourceFile(c *SourceFileContext)

	// EnterPackageClause is called when entering the packageClause production.
	EnterPackageClause(c *PackageClauseContext)

	// EnterImportDecl is called when entering the importDecl production.
	EnterImportDecl(c *ImportDeclContext)

	// EnterImportSpec is called when entering the importSpec production.
	EnterImportSpec(c *ImportSpecContext)

	// EnterImportPath is called when entering the importPath production.
	EnterImportPath(c *ImportPathContext)

	// EnterDeclaration is called when entering the declaration production.
	EnterDeclaration(c *DeclarationContext)

	// EnterConstDecl is called when entering the constDecl production.
	EnterConstDecl(c *ConstDeclContext)

	// EnterConstSpec is called when entering the constSpec production.
	EnterConstSpec(c *ConstSpecContext)

	// EnterIdentifierList is called when entering the identifierList production.
	EnterIdentifierList(c *IdentifierListContext)

	// EnterExpressionList is called when entering the expressionList production.
	EnterExpressionList(c *ExpressionListContext)

	// EnterTypeDecl is called when entering the typeDecl production.
	EnterTypeDecl(c *TypeDeclContext)

	// EnterTypeSpec is called when entering the typeSpec production.
	EnterTypeSpec(c *TypeSpecContext)

	// EnterFunctionDecl is called when entering the functionDecl production.
	EnterFunctionDecl(c *FunctionDeclContext)

	// EnterMethodDecl is called when entering the methodDecl production.
	EnterMethodDecl(c *MethodDeclContext)

	// EnterReceiver is called when entering the receiver production.
	EnterReceiver(c *ReceiverContext)

	// EnterVarDecl is called when entering the varDecl production.
	EnterVarDecl(c *VarDeclContext)

	// EnterVarSpec is called when entering the varSpec production.
	EnterVarSpec(c *VarSpecContext)

	// EnterBlock is called when entering the block production.
	EnterBlock(c *BlockContext)

	// EnterStatementList is called when entering the statementList production.
	EnterStatementList(c *StatementListContext)

	// EnterStatement is called when entering the statement production.
	EnterStatement(c *StatementContext)

	// EnterSimpleStmt is called when entering the simpleStmt production.
	EnterSimpleStmt(c *SimpleStmtContext)

	// EnterExpressionStmt is called when entering the expressionStmt production.
	EnterExpressionStmt(c *ExpressionStmtContext)

	// EnterSendStmt is called when entering the sendStmt production.
	EnterSendStmt(c *SendStmtContext)

	// EnterIncDecStmt is called when entering the incDecStmt production.
	EnterIncDecStmt(c *IncDecStmtContext)

	// EnterAssignment is called when entering the assignment production.
	EnterAssignment(c *AssignmentContext)

	// EnterAssign_op is called when entering the assign_op production.
	EnterAssign_op(c *Assign_opContext)

	// EnterShortVarDecl is called when entering the shortVarDecl production.
	EnterShortVarDecl(c *ShortVarDeclContext)

	// EnterEmptyStmt is called when entering the emptyStmt production.
	EnterEmptyStmt(c *EmptyStmtContext)

	// EnterLabeledStmt is called when entering the labeledStmt production.
	EnterLabeledStmt(c *LabeledStmtContext)

	// EnterReturnStmt is called when entering the returnStmt production.
	EnterReturnStmt(c *ReturnStmtContext)

	// EnterBreakStmt is called when entering the breakStmt production.
	EnterBreakStmt(c *BreakStmtContext)

	// EnterContinueStmt is called when entering the continueStmt production.
	EnterContinueStmt(c *ContinueStmtContext)

	// EnterGotoStmt is called when entering the gotoStmt production.
	EnterGotoStmt(c *GotoStmtContext)

	// EnterFallthroughStmt is called when entering the fallthroughStmt production.
	EnterFallthroughStmt(c *FallthroughStmtContext)

	// EnterDeferStmt is called when entering the deferStmt production.
	EnterDeferStmt(c *DeferStmtContext)

	// EnterIfStmt is called when entering the ifStmt production.
	EnterIfStmt(c *IfStmtContext)

	// EnterSwitchStmt is called when entering the switchStmt production.
	EnterSwitchStmt(c *SwitchStmtContext)

	// EnterExprSwitchStmt is called when entering the exprSwitchStmt production.
	EnterExprSwitchStmt(c *ExprSwitchStmtContext)

	// EnterExprCaseClause is called when entering the exprCaseClause production.
	EnterExprCaseClause(c *ExprCaseClauseContext)

	// EnterExprSwitchCase is called when entering the exprSwitchCase production.
	EnterExprSwitchCase(c *ExprSwitchCaseContext)

	// EnterTypeSwitchStmt is called when entering the typeSwitchStmt production.
	EnterTypeSwitchStmt(c *TypeSwitchStmtContext)

	// EnterTypeSwitchGuard is called when entering the typeSwitchGuard production.
	EnterTypeSwitchGuard(c *TypeSwitchGuardContext)

	// EnterTypeCaseClause is called when entering the typeCaseClause production.
	EnterTypeCaseClause(c *TypeCaseClauseContext)

	// EnterTypeSwitchCase is called when entering the typeSwitchCase production.
	EnterTypeSwitchCase(c *TypeSwitchCaseContext)

	// EnterTypeList is called when entering the typeList production.
	EnterTypeList(c *TypeListContext)

	// EnterSelectStmt is called when entering the selectStmt production.
	EnterSelectStmt(c *SelectStmtContext)

	// EnterCommClause is called when entering the commClause production.
	EnterCommClause(c *CommClauseContext)

	// EnterCommCase is called when entering the commCase production.
	EnterCommCase(c *CommCaseContext)

	// EnterRecvStmt is called when entering the recvStmt production.
	EnterRecvStmt(c *RecvStmtContext)

	// EnterForStmt is called when entering the forStmt production.
	EnterForStmt(c *ForStmtContext)

	// EnterForClause is called when entering the forClause production.
	EnterForClause(c *ForClauseContext)

	// EnterRangeClause is called when entering the rangeClause production.
	EnterRangeClause(c *RangeClauseContext)

	// EnterGoStmt is called when entering the goStmt production.
	EnterGoStmt(c *GoStmtContext)

	// EnterType_ is called when entering the type_ production.
	EnterType_(c *Type_Context)

	// EnterTypeName is called when entering the typeName production.
	EnterTypeName(c *TypeNameContext)

	// EnterIgn is called when entering the ign production.
	EnterIgn(c *IgnContext)

	// EnterDeclStruct is called when entering the declStruct production.
	EnterDeclStruct(c *DeclStructContext)

	// EnterArrayType is called when entering the arrayType production.
	EnterArrayType(c *ArrayTypeContext)

	// EnterArrayLength is called when entering the arrayLength production.
	EnterArrayLength(c *ArrayLengthContext)

	// EnterElementType is called when entering the elementType production.
	EnterElementType(c *ElementTypeContext)

	// EnterPointerType is called when entering the pointerType production.
	EnterPointerType(c *PointerTypeContext)

	// EnterInterfaceType is called when entering the interfaceType production.
	EnterInterfaceType(c *InterfaceTypeContext)

	// EnterSliceType is called when entering the sliceType production.
	EnterSliceType(c *SliceTypeContext)

	// EnterMapType is called when entering the mapType production.
	EnterMapType(c *MapTypeContext)

	// EnterChannelType is called when entering the channelType production.
	EnterChannelType(c *ChannelTypeContext)

	// EnterMethodSpec is called when entering the methodSpec production.
	EnterMethodSpec(c *MethodSpecContext)

	// EnterFunctionType is called when entering the functionType production.
	EnterFunctionType(c *FunctionTypeContext)

	// EnterParamResult is called when entering the paramResult production.
	EnterParamResult(c *ParamResultContext)

	// EnterParamSimple is called when entering the paramSimple production.
	EnterParamSimple(c *ParamSimpleContext)

	// EnterResult is called when entering the result production.
	EnterResult(c *ResultContext)

	// EnterParameters is called when entering the parameters production.
	EnterParameters(c *ParametersContext)

	// EnterParameterDecl is called when entering the parameterDecl production.
	EnterParameterDecl(c *ParameterDeclContext)

	// EnterExpression is called when entering the expression production.
	EnterExpression(c *ExpressionContext)

	// EnterPrimaryExpr is called when entering the primaryExpr production.
	EnterPrimaryExpr(c *PrimaryExprContext)

	// EnterConversion is called when entering the conversion production.
	EnterConversion(c *ConversionContext)

	// EnterNonNamedType is called when entering the nonNamedType production.
	EnterNonNamedType(c *NonNamedTypeContext)

	// EnterOperand is called when entering the operand production.
	EnterOperand(c *OperandContext)

	// EnterLiteral is called when entering the literal production.
	EnterLiteral(c *LiteralContext)

	// EnterBasicLit is called when entering the basicLit production.
	EnterBasicLit(c *BasicLitContext)

	// EnterInteger is called when entering the integer production.
	EnterInteger(c *IntegerContext)

	// EnterOperandName is called when entering the operandName production.
	EnterOperandName(c *OperandNameContext)

	// EnterQualifiedIdent is called when entering the qualifiedIdent production.
	EnterQualifiedIdent(c *QualifiedIdentContext)

	// EnterCompositeLit is called when entering the compositeLit production.
	EnterCompositeLit(c *CompositeLitContext)

	// EnterLiteralType is called when entering the literalType production.
	EnterLiteralType(c *LiteralTypeContext)

	// EnterLiteralValue is called when entering the literalValue production.
	EnterLiteralValue(c *LiteralValueContext)

	// EnterElementList is called when entering the elementList production.
	EnterElementList(c *ElementListContext)

	// EnterKeyedElement is called when entering the keyedElement production.
	EnterKeyedElement(c *KeyedElementContext)

	// EnterKey is called when entering the key production.
	EnterKey(c *KeyContext)

	// EnterElement is called when entering the element production.
	EnterElement(c *ElementContext)

	// EnterStructType is called when entering the structType production.
	EnterStructType(c *StructTypeContext)

	// EnterFieldDecl is called when entering the fieldDecl production.
	EnterFieldDecl(c *FieldDeclContext)

	// EnterString_ is called when entering the string_ production.
	EnterString_(c *String_Context)

	// EnterEmbeddedField is called when entering the embeddedField production.
	EnterEmbeddedField(c *EmbeddedFieldContext)

	// EnterFunctionLit is called when entering the functionLit production.
	EnterFunctionLit(c *FunctionLitContext)

	// EnterIndex is called when entering the index production.
	EnterIndex(c *IndexContext)

	// EnterSlice_ is called when entering the slice_ production.
	EnterSlice_(c *Slice_Context)

	// EnterTypeAssertion is called when entering the typeAssertion production.
	EnterTypeAssertion(c *TypeAssertionContext)

	// EnterArguments is called when entering the arguments production.
	EnterArguments(c *ArgumentsContext)

	// EnterMethodExpr is called when entering the methodExpr production.
	EnterMethodExpr(c *MethodExprContext)

	// EnterReceiverType is called when entering the receiverType production.
	EnterReceiverType(c *ReceiverTypeContext)

	// EnterEos is called when entering the eos production.
	EnterEos(c *EosContext)

	// ExitSourceFile is called when exiting the sourceFile production.
	ExitSourceFile(c *SourceFileContext)

	// ExitPackageClause is called when exiting the packageClause production.
	ExitPackageClause(c *PackageClauseContext)

	// ExitImportDecl is called when exiting the importDecl production.
	ExitImportDecl(c *ImportDeclContext)

	// ExitImportSpec is called when exiting the importSpec production.
	ExitImportSpec(c *ImportSpecContext)

	// ExitImportPath is called when exiting the importPath production.
	ExitImportPath(c *ImportPathContext)

	// ExitDeclaration is called when exiting the declaration production.
	ExitDeclaration(c *DeclarationContext)

	// ExitConstDecl is called when exiting the constDecl production.
	ExitConstDecl(c *ConstDeclContext)

	// ExitConstSpec is called when exiting the constSpec production.
	ExitConstSpec(c *ConstSpecContext)

	// ExitIdentifierList is called when exiting the identifierList production.
	ExitIdentifierList(c *IdentifierListContext)

	// ExitExpressionList is called when exiting the expressionList production.
	ExitExpressionList(c *ExpressionListContext)

	// ExitTypeDecl is called when exiting the typeDecl production.
	ExitTypeDecl(c *TypeDeclContext)

	// ExitTypeSpec is called when exiting the typeSpec production.
	ExitTypeSpec(c *TypeSpecContext)

	// ExitFunctionDecl is called when exiting the functionDecl production.
	ExitFunctionDecl(c *FunctionDeclContext)

	// ExitMethodDecl is called when exiting the methodDecl production.
	ExitMethodDecl(c *MethodDeclContext)

	// ExitReceiver is called when exiting the receiver production.
	ExitReceiver(c *ReceiverContext)

	// ExitVarDecl is called when exiting the varDecl production.
	ExitVarDecl(c *VarDeclContext)

	// ExitVarSpec is called when exiting the varSpec production.
	ExitVarSpec(c *VarSpecContext)

	// ExitBlock is called when exiting the block production.
	ExitBlock(c *BlockContext)

	// ExitStatementList is called when exiting the statementList production.
	ExitStatementList(c *StatementListContext)

	// ExitStatement is called when exiting the statement production.
	ExitStatement(c *StatementContext)

	// ExitSimpleStmt is called when exiting the simpleStmt production.
	ExitSimpleStmt(c *SimpleStmtContext)

	// ExitExpressionStmt is called when exiting the expressionStmt production.
	ExitExpressionStmt(c *ExpressionStmtContext)

	// ExitSendStmt is called when exiting the sendStmt production.
	ExitSendStmt(c *SendStmtContext)

	// ExitIncDecStmt is called when exiting the incDecStmt production.
	ExitIncDecStmt(c *IncDecStmtContext)

	// ExitAssignment is called when exiting the assignment production.
	ExitAssignment(c *AssignmentContext)

	// ExitAssign_op is called when exiting the assign_op production.
	ExitAssign_op(c *Assign_opContext)

	// ExitShortVarDecl is called when exiting the shortVarDecl production.
	ExitShortVarDecl(c *ShortVarDeclContext)

	// ExitEmptyStmt is called when exiting the emptyStmt production.
	ExitEmptyStmt(c *EmptyStmtContext)

	// ExitLabeledStmt is called when exiting the labeledStmt production.
	ExitLabeledStmt(c *LabeledStmtContext)

	// ExitReturnStmt is called when exiting the returnStmt production.
	ExitReturnStmt(c *ReturnStmtContext)

	// ExitBreakStmt is called when exiting the breakStmt production.
	ExitBreakStmt(c *BreakStmtContext)

	// ExitContinueStmt is called when exiting the continueStmt production.
	ExitContinueStmt(c *ContinueStmtContext)

	// ExitGotoStmt is called when exiting the gotoStmt production.
	ExitGotoStmt(c *GotoStmtContext)

	// ExitFallthroughStmt is called when exiting the fallthroughStmt production.
	ExitFallthroughStmt(c *FallthroughStmtContext)

	// ExitDeferStmt is called when exiting the deferStmt production.
	ExitDeferStmt(c *DeferStmtContext)

	// ExitIfStmt is called when exiting the ifStmt production.
	ExitIfStmt(c *IfStmtContext)

	// ExitSwitchStmt is called when exiting the switchStmt production.
	ExitSwitchStmt(c *SwitchStmtContext)

	// ExitExprSwitchStmt is called when exiting the exprSwitchStmt production.
	ExitExprSwitchStmt(c *ExprSwitchStmtContext)

	// ExitExprCaseClause is called when exiting the exprCaseClause production.
	ExitExprCaseClause(c *ExprCaseClauseContext)

	// ExitExprSwitchCase is called when exiting the exprSwitchCase production.
	ExitExprSwitchCase(c *ExprSwitchCaseContext)

	// ExitTypeSwitchStmt is called when exiting the typeSwitchStmt production.
	ExitTypeSwitchStmt(c *TypeSwitchStmtContext)

	// ExitTypeSwitchGuard is called when exiting the typeSwitchGuard production.
	ExitTypeSwitchGuard(c *TypeSwitchGuardContext)

	// ExitTypeCaseClause is called when exiting the typeCaseClause production.
	ExitTypeCaseClause(c *TypeCaseClauseContext)

	// ExitTypeSwitchCase is called when exiting the typeSwitchCase production.
	ExitTypeSwitchCase(c *TypeSwitchCaseContext)

	// ExitTypeList is called when exiting the typeList production.
	ExitTypeList(c *TypeListContext)

	// ExitSelectStmt is called when exiting the selectStmt production.
	ExitSelectStmt(c *SelectStmtContext)

	// ExitCommClause is called when exiting the commClause production.
	ExitCommClause(c *CommClauseContext)

	// ExitCommCase is called when exiting the commCase production.
	ExitCommCase(c *CommCaseContext)

	// ExitRecvStmt is called when exiting the recvStmt production.
	ExitRecvStmt(c *RecvStmtContext)

	// ExitForStmt is called when exiting the forStmt production.
	ExitForStmt(c *ForStmtContext)

	// ExitForClause is called when exiting the forClause production.
	ExitForClause(c *ForClauseContext)

	// ExitRangeClause is called when exiting the rangeClause production.
	ExitRangeClause(c *RangeClauseContext)

	// ExitGoStmt is called when exiting the goStmt production.
	ExitGoStmt(c *GoStmtContext)

	// ExitType_ is called when exiting the type_ production.
	ExitType_(c *Type_Context)

	// ExitTypeName is called when exiting the typeName production.
	ExitTypeName(c *TypeNameContext)

	// ExitIgn is called when exiting the ign production.
	ExitIgn(c *IgnContext)

	// ExitDeclStruct is called when exiting the declStruct production.
	ExitDeclStruct(c *DeclStructContext)

	// ExitArrayType is called when exiting the arrayType production.
	ExitArrayType(c *ArrayTypeContext)

	// ExitArrayLength is called when exiting the arrayLength production.
	ExitArrayLength(c *ArrayLengthContext)

	// ExitElementType is called when exiting the elementType production.
	ExitElementType(c *ElementTypeContext)

	// ExitPointerType is called when exiting the pointerType production.
	ExitPointerType(c *PointerTypeContext)

	// ExitInterfaceType is called when exiting the interfaceType production.
	ExitInterfaceType(c *InterfaceTypeContext)

	// ExitSliceType is called when exiting the sliceType production.
	ExitSliceType(c *SliceTypeContext)

	// ExitMapType is called when exiting the mapType production.
	ExitMapType(c *MapTypeContext)

	// ExitChannelType is called when exiting the channelType production.
	ExitChannelType(c *ChannelTypeContext)

	// ExitMethodSpec is called when exiting the methodSpec production.
	ExitMethodSpec(c *MethodSpecContext)

	// ExitFunctionType is called when exiting the functionType production.
	ExitFunctionType(c *FunctionTypeContext)

	// ExitParamResult is called when exiting the paramResult production.
	ExitParamResult(c *ParamResultContext)

	// ExitParamSimple is called when exiting the paramSimple production.
	ExitParamSimple(c *ParamSimpleContext)

	// ExitResult is called when exiting the result production.
	ExitResult(c *ResultContext)

	// ExitParameters is called when exiting the parameters production.
	ExitParameters(c *ParametersContext)

	// ExitParameterDecl is called when exiting the parameterDecl production.
	ExitParameterDecl(c *ParameterDeclContext)

	// ExitExpression is called when exiting the expression production.
	ExitExpression(c *ExpressionContext)

	// ExitPrimaryExpr is called when exiting the primaryExpr production.
	ExitPrimaryExpr(c *PrimaryExprContext)

	// ExitConversion is called when exiting the conversion production.
	ExitConversion(c *ConversionContext)

	// ExitNonNamedType is called when exiting the nonNamedType production.
	ExitNonNamedType(c *NonNamedTypeContext)

	// ExitOperand is called when exiting the operand production.
	ExitOperand(c *OperandContext)

	// ExitLiteral is called when exiting the literal production.
	ExitLiteral(c *LiteralContext)

	// ExitBasicLit is called when exiting the basicLit production.
	ExitBasicLit(c *BasicLitContext)

	// ExitInteger is called when exiting the integer production.
	ExitInteger(c *IntegerContext)

	// ExitOperandName is called when exiting the operandName production.
	ExitOperandName(c *OperandNameContext)

	// ExitQualifiedIdent is called when exiting the qualifiedIdent production.
	ExitQualifiedIdent(c *QualifiedIdentContext)

	// ExitCompositeLit is called when exiting the compositeLit production.
	ExitCompositeLit(c *CompositeLitContext)

	// ExitLiteralType is called when exiting the literalType production.
	ExitLiteralType(c *LiteralTypeContext)

	// ExitLiteralValue is called when exiting the literalValue production.
	ExitLiteralValue(c *LiteralValueContext)

	// ExitElementList is called when exiting the elementList production.
	ExitElementList(c *ElementListContext)

	// ExitKeyedElement is called when exiting the keyedElement production.
	ExitKeyedElement(c *KeyedElementContext)

	// ExitKey is called when exiting the key production.
	ExitKey(c *KeyContext)

	// ExitElement is called when exiting the element production.
	ExitElement(c *ElementContext)

	// ExitStructType is called when exiting the structType production.
	ExitStructType(c *StructTypeContext)

	// ExitFieldDecl is called when exiting the fieldDecl production.
	ExitFieldDecl(c *FieldDeclContext)

	// ExitString_ is called when exiting the string_ production.
	ExitString_(c *String_Context)

	// ExitEmbeddedField is called when exiting the embeddedField production.
	ExitEmbeddedField(c *EmbeddedFieldContext)

	// ExitFunctionLit is called when exiting the functionLit production.
	ExitFunctionLit(c *FunctionLitContext)

	// ExitIndex is called when exiting the index production.
	ExitIndex(c *IndexContext)

	// ExitSlice_ is called when exiting the slice_ production.
	ExitSlice_(c *Slice_Context)

	// ExitTypeAssertion is called when exiting the typeAssertion production.
	ExitTypeAssertion(c *TypeAssertionContext)

	// ExitArguments is called when exiting the arguments production.
	ExitArguments(c *ArgumentsContext)

	// ExitMethodExpr is called when exiting the methodExpr production.
	ExitMethodExpr(c *MethodExprContext)

	// ExitReceiverType is called when exiting the receiverType production.
	ExitReceiverType(c *ReceiverTypeContext)

	// ExitEos is called when exiting the eos production.
	ExitEos(c *EosContext)
}

GoParserListener is a complete listener for a parse tree produced by GoParser.

type GoStmtContext

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

func NewEmptyGoStmtContext

func NewEmptyGoStmtContext() *GoStmtContext

func NewGoStmtContext

func NewGoStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GoStmtContext

func (*GoStmtContext) EnterRule

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

func (*GoStmtContext) ExitRule

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

func (*GoStmtContext) Expression

func (s *GoStmtContext) Expression() IExpressionContext

func (*GoStmtContext) GO

func (*GoStmtContext) GetParser

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

func (*GoStmtContext) GetRuleContext

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

func (*GoStmtContext) IsGoStmtContext

func (*GoStmtContext) IsGoStmtContext()

func (*GoStmtContext) ToStringTree

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

type GotoStmtContext

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

func NewEmptyGotoStmtContext

func NewEmptyGotoStmtContext() *GotoStmtContext

func NewGotoStmtContext

func NewGotoStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GotoStmtContext

func (*GotoStmtContext) EnterRule

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

func (*GotoStmtContext) ExitRule

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

func (*GotoStmtContext) GOTO

func (*GotoStmtContext) GetParser

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

func (*GotoStmtContext) GetRuleContext

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

func (*GotoStmtContext) IDENTIFIER

func (s *GotoStmtContext) IDENTIFIER() antlr.TerminalNode

func (*GotoStmtContext) IsGotoStmtContext

func (*GotoStmtContext) IsGotoStmtContext()

func (*GotoStmtContext) ToStringTree

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

type IArgumentsContext

type IArgumentsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsArgumentsContext differentiates from other interfaces.
	IsArgumentsContext()
}

IArgumentsContext is an interface to support dynamic dispatch.

type IArrayLengthContext

type IArrayLengthContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsArrayLengthContext differentiates from other interfaces.
	IsArrayLengthContext()
}

IArrayLengthContext is an interface to support dynamic dispatch.

type IArrayTypeContext

type IArrayTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsArrayTypeContext differentiates from other interfaces.
	IsArrayTypeContext()
}

IArrayTypeContext is an interface to support dynamic dispatch.

type IAssign_opContext

type IAssign_opContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAssign_opContext differentiates from other interfaces.
	IsAssign_opContext()
}

IAssign_opContext is an interface to support dynamic dispatch.

type IAssignmentContext

type IAssignmentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAssignmentContext differentiates from other interfaces.
	IsAssignmentContext()
}

IAssignmentContext is an interface to support dynamic dispatch.

type IBasicLitContext

type IBasicLitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBasicLitContext differentiates from other interfaces.
	IsBasicLitContext()
}

IBasicLitContext is an interface to support dynamic dispatch.

type IBlockContext

type IBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockContext differentiates from other interfaces.
	IsBlockContext()
}

IBlockContext is an interface to support dynamic dispatch.

type IBreakStmtContext

type IBreakStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBreakStmtContext differentiates from other interfaces.
	IsBreakStmtContext()
}

IBreakStmtContext is an interface to support dynamic dispatch.

type IChannelTypeContext

type IChannelTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsChannelTypeContext differentiates from other interfaces.
	IsChannelTypeContext()
}

IChannelTypeContext is an interface to support dynamic dispatch.

type ICommCaseContext

type ICommCaseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommCaseContext differentiates from other interfaces.
	IsCommCaseContext()
}

ICommCaseContext is an interface to support dynamic dispatch.

type ICommClauseContext

type ICommClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommClauseContext differentiates from other interfaces.
	IsCommClauseContext()
}

ICommClauseContext is an interface to support dynamic dispatch.

type ICompositeLitContext

type ICompositeLitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCompositeLitContext differentiates from other interfaces.
	IsCompositeLitContext()
}

ICompositeLitContext is an interface to support dynamic dispatch.

type IConstDeclContext

type IConstDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConstDeclContext differentiates from other interfaces.
	IsConstDeclContext()
}

IConstDeclContext is an interface to support dynamic dispatch.

type IConstSpecContext

type IConstSpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConstSpecContext differentiates from other interfaces.
	IsConstSpecContext()
}

IConstSpecContext is an interface to support dynamic dispatch.

type IContinueStmtContext

type IContinueStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsContinueStmtContext differentiates from other interfaces.
	IsContinueStmtContext()
}

IContinueStmtContext is an interface to support dynamic dispatch.

type IConversionContext

type IConversionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConversionContext differentiates from other interfaces.
	IsConversionContext()
}

IConversionContext is an interface to support dynamic dispatch.

type IDeclarationContext

type IDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDeclarationContext differentiates from other interfaces.
	IsDeclarationContext()
}

IDeclarationContext is an interface to support dynamic dispatch.

type IDeferStmtContext

type IDeferStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDeferStmtContext differentiates from other interfaces.
	IsDeferStmtContext()
}

IDeferStmtContext is an interface to support dynamic dispatch.

type IElementContext

type IElementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElementContext differentiates from other interfaces.
	IsElementContext()
}

IElementContext is an interface to support dynamic dispatch.

type IElementListContext

type IElementListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElementListContext differentiates from other interfaces.
	IsElementListContext()
}

IElementListContext is an interface to support dynamic dispatch.

type IElementTypeContext

type IElementTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElementTypeContext differentiates from other interfaces.
	IsElementTypeContext()
}

IElementTypeContext is an interface to support dynamic dispatch.

type IEmbeddedFieldContext

type IEmbeddedFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEmbeddedFieldContext differentiates from other interfaces.
	IsEmbeddedFieldContext()
}

IEmbeddedFieldContext is an interface to support dynamic dispatch.

type IEmptyStmtContext

type IEmptyStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEmptyStmtContext differentiates from other interfaces.
	IsEmptyStmtContext()
}

IEmptyStmtContext is an interface to support dynamic dispatch.

type IEosContext

type IEosContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEosContext differentiates from other interfaces.
	IsEosContext()
}

IEosContext is an interface to support dynamic dispatch.

type IExprCaseClauseContext

type IExprCaseClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprCaseClauseContext differentiates from other interfaces.
	IsExprCaseClauseContext()
}

IExprCaseClauseContext is an interface to support dynamic dispatch.

type IExprSwitchCaseContext

type IExprSwitchCaseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprSwitchCaseContext differentiates from other interfaces.
	IsExprSwitchCaseContext()
}

IExprSwitchCaseContext is an interface to support dynamic dispatch.

type IExprSwitchStmtContext

type IExprSwitchStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprSwitchStmtContext differentiates from other interfaces.
	IsExprSwitchStmtContext()
}

IExprSwitchStmtContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetUnary_op returns the unary_op token.
	GetUnary_op() antlr.Token

	// GetMul_op returns the mul_op token.
	GetMul_op() antlr.Token

	// GetAdd_op returns the add_op token.
	GetAdd_op() antlr.Token

	// GetRel_op returns the rel_op token.
	GetRel_op() antlr.Token

	// SetUnary_op sets the unary_op token.
	SetUnary_op(antlr.Token)

	// SetMul_op sets the mul_op token.
	SetMul_op(antlr.Token)

	// SetAdd_op sets the add_op token.
	SetAdd_op(antlr.Token)

	// SetRel_op sets the rel_op token.
	SetRel_op(antlr.Token)

	// IsExpressionContext differentiates from other interfaces.
	IsExpressionContext()
}

IExpressionContext is an interface to support dynamic dispatch.

type IExpressionListContext

type IExpressionListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExpressionListContext differentiates from other interfaces.
	IsExpressionListContext()
}

IExpressionListContext is an interface to support dynamic dispatch.

type IExpressionStmtContext

type IExpressionStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExpressionStmtContext differentiates from other interfaces.
	IsExpressionStmtContext()
}

IExpressionStmtContext is an interface to support dynamic dispatch.

type IFallthroughStmtContext

type IFallthroughStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFallthroughStmtContext differentiates from other interfaces.
	IsFallthroughStmtContext()
}

IFallthroughStmtContext is an interface to support dynamic dispatch.

type IFieldDeclContext

type IFieldDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetTag returns the tag rule contexts.
	GetTag() IString_Context

	// SetTag sets the tag rule contexts.
	SetTag(IString_Context)

	// IsFieldDeclContext differentiates from other interfaces.
	IsFieldDeclContext()
}

IFieldDeclContext is an interface to support dynamic dispatch.

type IForClauseContext

type IForClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetInitStmt returns the initStmt rule contexts.
	GetInitStmt() ISimpleStmtContext

	// GetPostStmt returns the postStmt rule contexts.
	GetPostStmt() ISimpleStmtContext

	// SetInitStmt sets the initStmt rule contexts.
	SetInitStmt(ISimpleStmtContext)

	// SetPostStmt sets the postStmt rule contexts.
	SetPostStmt(ISimpleStmtContext)

	// IsForClauseContext differentiates from other interfaces.
	IsForClauseContext()
}

IForClauseContext is an interface to support dynamic dispatch.

type IForStmtContext

type IForStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsForStmtContext differentiates from other interfaces.
	IsForStmtContext()
}

IForStmtContext is an interface to support dynamic dispatch.

type IFunctionDeclContext

type IFunctionDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionDeclContext differentiates from other interfaces.
	IsFunctionDeclContext()
}

IFunctionDeclContext is an interface to support dynamic dispatch.

type IFunctionLitContext

type IFunctionLitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionLitContext differentiates from other interfaces.
	IsFunctionLitContext()
}

IFunctionLitContext is an interface to support dynamic dispatch.

type IFunctionTypeContext

type IFunctionTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionTypeContext differentiates from other interfaces.
	IsFunctionTypeContext()
}

IFunctionTypeContext is an interface to support dynamic dispatch.

type IGoStmtContext

type IGoStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsGoStmtContext differentiates from other interfaces.
	IsGoStmtContext()
}

IGoStmtContext is an interface to support dynamic dispatch.

type IGotoStmtContext

type IGotoStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsGotoStmtContext differentiates from other interfaces.
	IsGotoStmtContext()
}

IGotoStmtContext is an interface to support dynamic dispatch.

type IIdentifierListContext

type IIdentifierListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIdentifierListContext differentiates from other interfaces.
	IsIdentifierListContext()
}

IIdentifierListContext is an interface to support dynamic dispatch.

type IIfStmtContext

type IIfStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIfStmtContext differentiates from other interfaces.
	IsIfStmtContext()
}

IIfStmtContext is an interface to support dynamic dispatch.

type IImportDeclContext

type IImportDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImportDeclContext differentiates from other interfaces.
	IsImportDeclContext()
}

IImportDeclContext is an interface to support dynamic dispatch.

type IImportPathContext

type IImportPathContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImportPathContext differentiates from other interfaces.
	IsImportPathContext()
}

IImportPathContext is an interface to support dynamic dispatch.

type IImportSpecContext

type IImportSpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetAlias returns the alias token.
	GetAlias() antlr.Token

	// SetAlias sets the alias token.
	SetAlias(antlr.Token)

	// IsImportSpecContext differentiates from other interfaces.
	IsImportSpecContext()
}

IImportSpecContext is an interface to support dynamic dispatch.

type IIncDecStmtContext

type IIncDecStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIncDecStmtContext differentiates from other interfaces.
	IsIncDecStmtContext()
}

IIncDecStmtContext is an interface to support dynamic dispatch.

type IIndexContext

type IIndexContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIndexContext differentiates from other interfaces.
	IsIndexContext()
}

IIndexContext is an interface to support dynamic dispatch.

type IIntegerContext

type IIntegerContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIntegerContext differentiates from other interfaces.
	IsIntegerContext()
}

IIntegerContext is an interface to support dynamic dispatch.

type IInterfaceTypeContext

type IInterfaceTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsInterfaceTypeContext differentiates from other interfaces.
	IsInterfaceTypeContext()
}

IInterfaceTypeContext is an interface to support dynamic dispatch.

type IKeyContext

type IKeyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsKeyContext differentiates from other interfaces.
	IsKeyContext()
}

IKeyContext is an interface to support dynamic dispatch.

type IKeyedElementContext

type IKeyedElementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsKeyedElementContext differentiates from other interfaces.
	IsKeyedElementContext()
}

IKeyedElementContext is an interface to support dynamic dispatch.

type ILabeledStmtContext

type ILabeledStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLabeledStmtContext differentiates from other interfaces.
	IsLabeledStmtContext()
}

ILabeledStmtContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLiteralContext differentiates from other interfaces.
	IsLiteralContext()
}

ILiteralContext is an interface to support dynamic dispatch.

type ILiteralTypeContext

type ILiteralTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLiteralTypeContext differentiates from other interfaces.
	IsLiteralTypeContext()
}

ILiteralTypeContext is an interface to support dynamic dispatch.

type ILiteralValueContext

type ILiteralValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLiteralValueContext differentiates from other interfaces.
	IsLiteralValueContext()
}

ILiteralValueContext is an interface to support dynamic dispatch.

type IMapTypeContext

type IMapTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMapTypeContext differentiates from other interfaces.
	IsMapTypeContext()
}

IMapTypeContext is an interface to support dynamic dispatch.

type IMethodDeclContext

type IMethodDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMethodDeclContext differentiates from other interfaces.
	IsMethodDeclContext()
}

IMethodDeclContext is an interface to support dynamic dispatch.

type IMethodExprContext

type IMethodExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMethodExprContext differentiates from other interfaces.
	IsMethodExprContext()
}

IMethodExprContext is an interface to support dynamic dispatch.

type IMethodSpecContext

type IMethodSpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMethodSpecContext differentiates from other interfaces.
	IsMethodSpecContext()
}

IMethodSpecContext is an interface to support dynamic dispatch.

type INonNamedTypeContext

type INonNamedTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNonNamedTypeContext differentiates from other interfaces.
	IsNonNamedTypeContext()
}

INonNamedTypeContext is an interface to support dynamic dispatch.

type IOperandContext

type IOperandContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperandContext differentiates from other interfaces.
	IsOperandContext()
}

IOperandContext is an interface to support dynamic dispatch.

type IOperandNameContext

type IOperandNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperandNameContext differentiates from other interfaces.
	IsOperandNameContext()
}

IOperandNameContext is an interface to support dynamic dispatch.

type IPackageClauseContext

type IPackageClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetPackageName returns the packageName token.
	GetPackageName() antlr.Token

	// SetPackageName sets the packageName token.
	SetPackageName(antlr.Token)

	// IsPackageClauseContext differentiates from other interfaces.
	IsPackageClauseContext()
}

IPackageClauseContext is an interface to support dynamic dispatch.

type IParameterDeclContext

type IParameterDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParameterDeclContext differentiates from other interfaces.
	IsParameterDeclContext()
}

IParameterDeclContext is an interface to support dynamic dispatch.

type IParametersContext

type IParametersContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParametersContext differentiates from other interfaces.
	IsParametersContext()
}

IParametersContext is an interface to support dynamic dispatch.

type IPointerTypeContext

type IPointerTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPointerTypeContext differentiates from other interfaces.
	IsPointerTypeContext()
}

IPointerTypeContext is an interface to support dynamic dispatch.

type IPrimaryExprContext

type IPrimaryExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPrimaryExprContext differentiates from other interfaces.
	IsPrimaryExprContext()
}

IPrimaryExprContext is an interface to support dynamic dispatch.

type IQualifiedIdentContext

type IQualifiedIdentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsQualifiedIdentContext differentiates from other interfaces.
	IsQualifiedIdentContext()
}

IQualifiedIdentContext is an interface to support dynamic dispatch.

type IRangeClauseContext

type IRangeClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRangeClauseContext differentiates from other interfaces.
	IsRangeClauseContext()
}

IRangeClauseContext is an interface to support dynamic dispatch.

type IReceiverContext

type IReceiverContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsReceiverContext differentiates from other interfaces.
	IsReceiverContext()
}

IReceiverContext is an interface to support dynamic dispatch.

type IReceiverTypeContext

type IReceiverTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsReceiverTypeContext differentiates from other interfaces.
	IsReceiverTypeContext()
}

IReceiverTypeContext is an interface to support dynamic dispatch.

type IRecvStmtContext

type IRecvStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetRecvExpr returns the recvExpr rule contexts.
	GetRecvExpr() IExpressionContext

	// SetRecvExpr sets the recvExpr rule contexts.
	SetRecvExpr(IExpressionContext)

	// IsRecvStmtContext differentiates from other interfaces.
	IsRecvStmtContext()
}

IRecvStmtContext is an interface to support dynamic dispatch.

type IResultContext

type IResultContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsResultContext differentiates from other interfaces.
	IsResultContext()
}

IResultContext is an interface to support dynamic dispatch.

type IReturnStmtContext

type IReturnStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsReturnStmtContext differentiates from other interfaces.
	IsReturnStmtContext()
}

IReturnStmtContext is an interface to support dynamic dispatch.

type ISelectStmtContext

type ISelectStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSelectStmtContext differentiates from other interfaces.
	IsSelectStmtContext()
}

ISelectStmtContext is an interface to support dynamic dispatch.

type ISendStmtContext

type ISendStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetChannel returns the channel rule contexts.
	GetChannel() IExpressionContext

	// SetChannel sets the channel rule contexts.
	SetChannel(IExpressionContext)

	// IsSendStmtContext differentiates from other interfaces.
	IsSendStmtContext()
}

ISendStmtContext is an interface to support dynamic dispatch.

type IShortVarDeclContext

type IShortVarDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsShortVarDeclContext differentiates from other interfaces.
	IsShortVarDeclContext()
}

IShortVarDeclContext is an interface to support dynamic dispatch.

type ISignatureContext

type ISignatureContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSignatureContext differentiates from other interfaces.
	IsSignatureContext()
}

ISignatureContext is an interface to support dynamic dispatch.

type ISimpleStmtContext

type ISimpleStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSimpleStmtContext differentiates from other interfaces.
	IsSimpleStmtContext()
}

ISimpleStmtContext is an interface to support dynamic dispatch.

type ISliceTypeContext

type ISliceTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSliceTypeContext differentiates from other interfaces.
	IsSliceTypeContext()
}

ISliceTypeContext is an interface to support dynamic dispatch.

type ISlice_Context

type ISlice_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSlice_Context differentiates from other interfaces.
	IsSlice_Context()
}

ISlice_Context is an interface to support dynamic dispatch.

type ISourceFileContext

type ISourceFileContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSourceFileContext differentiates from other interfaces.
	IsSourceFileContext()
}

ISourceFileContext is an interface to support dynamic dispatch.

type IStatementContext

type IStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStatementContext differentiates from other interfaces.
	IsStatementContext()
}

IStatementContext is an interface to support dynamic dispatch.

type IStatementListContext

type IStatementListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStatementListContext differentiates from other interfaces.
	IsStatementListContext()
}

IStatementListContext is an interface to support dynamic dispatch.

type IString_Context

type IString_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsString_Context differentiates from other interfaces.
	IsString_Context()
}

IString_Context is an interface to support dynamic dispatch.

type IStructTypeContext

type IStructTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStructTypeContext differentiates from other interfaces.
	IsStructTypeContext()
}

IStructTypeContext is an interface to support dynamic dispatch.

type ISwitchStmtContext

type ISwitchStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSwitchStmtContext differentiates from other interfaces.
	IsSwitchStmtContext()
}

ISwitchStmtContext is an interface to support dynamic dispatch.

type ITypeAssertionContext

type ITypeAssertionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeAssertionContext differentiates from other interfaces.
	IsTypeAssertionContext()
}

ITypeAssertionContext is an interface to support dynamic dispatch.

type ITypeCaseClauseContext

type ITypeCaseClauseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeCaseClauseContext differentiates from other interfaces.
	IsTypeCaseClauseContext()
}

ITypeCaseClauseContext is an interface to support dynamic dispatch.

type ITypeDeclContext

type ITypeDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeDeclContext differentiates from other interfaces.
	IsTypeDeclContext()
}

ITypeDeclContext is an interface to support dynamic dispatch.

type ITypeListContext

type ITypeListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeListContext differentiates from other interfaces.
	IsTypeListContext()
}

ITypeListContext is an interface to support dynamic dispatch.

type ITypeLitContext

type ITypeLitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeLitContext differentiates from other interfaces.
	IsTypeLitContext()
}

ITypeLitContext is an interface to support dynamic dispatch.

type ITypeNameContext

type ITypeNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeNameContext differentiates from other interfaces.
	IsTypeNameContext()
}

ITypeNameContext is an interface to support dynamic dispatch.

type ITypeSpecContext

type ITypeSpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeSpecContext differentiates from other interfaces.
	IsTypeSpecContext()
}

ITypeSpecContext is an interface to support dynamic dispatch.

type ITypeSwitchCaseContext

type ITypeSwitchCaseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeSwitchCaseContext differentiates from other interfaces.
	IsTypeSwitchCaseContext()
}

ITypeSwitchCaseContext is an interface to support dynamic dispatch.

type ITypeSwitchGuardContext

type ITypeSwitchGuardContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeSwitchGuardContext differentiates from other interfaces.
	IsTypeSwitchGuardContext()
}

ITypeSwitchGuardContext is an interface to support dynamic dispatch.

type ITypeSwitchStmtContext

type ITypeSwitchStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeSwitchStmtContext differentiates from other interfaces.
	IsTypeSwitchStmtContext()
}

ITypeSwitchStmtContext is an interface to support dynamic dispatch.

type IType_Context

type IType_Context interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsType_Context differentiates from other interfaces.
	IsType_Context()
}

IType_Context is an interface to support dynamic dispatch.

type IVarDeclContext

type IVarDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarDeclContext differentiates from other interfaces.
	IsVarDeclContext()
}

IVarDeclContext is an interface to support dynamic dispatch.

type IVarSpecContext

type IVarSpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVarSpecContext differentiates from other interfaces.
	IsVarSpecContext()
}

IVarSpecContext is an interface to support dynamic dispatch.

type IdentifierListContext

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

func NewEmptyIdentifierListContext

func NewEmptyIdentifierListContext() *IdentifierListContext

func NewIdentifierListContext

func NewIdentifierListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierListContext

func (*IdentifierListContext) AllCOMMA

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

func (*IdentifierListContext) AllIDENTIFIER

func (s *IdentifierListContext) AllIDENTIFIER() []antlr.TerminalNode

func (*IdentifierListContext) COMMA

func (*IdentifierListContext) EnterRule

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

func (*IdentifierListContext) ExitRule

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

func (*IdentifierListContext) GetParser

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

func (*IdentifierListContext) GetRuleContext

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

func (*IdentifierListContext) IDENTIFIER

func (s *IdentifierListContext) IDENTIFIER(i int) antlr.TerminalNode

func (*IdentifierListContext) IsIdentifierListContext

func (*IdentifierListContext) IsIdentifierListContext()

func (*IdentifierListContext) ToStringTree

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

type IfStmtContext

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

func NewEmptyIfStmtContext

func NewEmptyIfStmtContext() *IfStmtContext

func NewIfStmtContext

func NewIfStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfStmtContext

func (*IfStmtContext) AllBlock

func (s *IfStmtContext) AllBlock() []IBlockContext

func (*IfStmtContext) Block

func (s *IfStmtContext) Block(i int) IBlockContext

func (*IfStmtContext) ELSE

func (s *IfStmtContext) ELSE() antlr.TerminalNode

func (*IfStmtContext) EnterRule

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

func (*IfStmtContext) Eos

func (s *IfStmtContext) Eos() IEosContext

func (*IfStmtContext) ExitRule

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

func (*IfStmtContext) Expression

func (s *IfStmtContext) Expression() IExpressionContext

func (*IfStmtContext) GetParser

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

func (*IfStmtContext) GetRuleContext

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

func (*IfStmtContext) IF

func (*IfStmtContext) IfStmt

func (s *IfStmtContext) IfStmt() IIfStmtContext

func (*IfStmtContext) IsIfStmtContext

func (*IfStmtContext) IsIfStmtContext()

func (*IfStmtContext) SimpleStmt

func (s *IfStmtContext) SimpleStmt() ISimpleStmtContext

func (*IfStmtContext) ToStringTree

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

type IgnContext

type IgnContext struct {
	*TypeLitContext
}

func NewIgnContext

func NewIgnContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IgnContext

func (*IgnContext) ArrayType

func (s *IgnContext) ArrayType() IArrayTypeContext

func (*IgnContext) ChannelType

func (s *IgnContext) ChannelType() IChannelTypeContext

func (*IgnContext) EnterRule

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

func (*IgnContext) ExitRule

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

func (*IgnContext) FunctionType

func (s *IgnContext) FunctionType() IFunctionTypeContext

func (*IgnContext) GetRuleContext

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

func (*IgnContext) InterfaceType

func (s *IgnContext) InterfaceType() IInterfaceTypeContext

func (*IgnContext) MapType

func (s *IgnContext) MapType() IMapTypeContext

func (*IgnContext) PointerType

func (s *IgnContext) PointerType() IPointerTypeContext

func (*IgnContext) SliceType

func (s *IgnContext) SliceType() ISliceTypeContext

type ImportDeclContext

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

func NewEmptyImportDeclContext

func NewEmptyImportDeclContext() *ImportDeclContext

func NewImportDeclContext

func NewImportDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportDeclContext

func (*ImportDeclContext) AllEos

func (s *ImportDeclContext) AllEos() []IEosContext

func (*ImportDeclContext) AllImportSpec

func (s *ImportDeclContext) AllImportSpec() []IImportSpecContext

func (*ImportDeclContext) EnterRule

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

func (*ImportDeclContext) Eos

func (s *ImportDeclContext) Eos(i int) IEosContext

func (*ImportDeclContext) ExitRule

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

func (*ImportDeclContext) GetParser

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

func (*ImportDeclContext) GetRuleContext

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

func (*ImportDeclContext) IMPORT

func (s *ImportDeclContext) IMPORT() antlr.TerminalNode

func (*ImportDeclContext) ImportSpec

func (s *ImportDeclContext) ImportSpec(i int) IImportSpecContext

func (*ImportDeclContext) IsImportDeclContext

func (*ImportDeclContext) IsImportDeclContext()

func (*ImportDeclContext) L_PAREN

func (s *ImportDeclContext) L_PAREN() antlr.TerminalNode

func (*ImportDeclContext) R_PAREN

func (s *ImportDeclContext) R_PAREN() antlr.TerminalNode

func (*ImportDeclContext) ToStringTree

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

type ImportPathContext

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

func NewEmptyImportPathContext

func NewEmptyImportPathContext() *ImportPathContext

func NewImportPathContext

func NewImportPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportPathContext

func (*ImportPathContext) EnterRule

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

func (*ImportPathContext) ExitRule

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

func (*ImportPathContext) GetParser

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

func (*ImportPathContext) GetRuleContext

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

func (*ImportPathContext) IsImportPathContext

func (*ImportPathContext) IsImportPathContext()

func (*ImportPathContext) String_

func (s *ImportPathContext) String_() IString_Context

func (*ImportPathContext) ToStringTree

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

type ImportSpecContext

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

func NewEmptyImportSpecContext

func NewEmptyImportSpecContext() *ImportSpecContext

func NewImportSpecContext

func NewImportSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportSpecContext

func (*ImportSpecContext) DOT

func (*ImportSpecContext) EnterRule

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

func (*ImportSpecContext) ExitRule

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

func (*ImportSpecContext) GetAlias

func (s *ImportSpecContext) GetAlias() antlr.Token

func (*ImportSpecContext) GetParser

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

func (*ImportSpecContext) GetRuleContext

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

func (*ImportSpecContext) IDENTIFIER

func (s *ImportSpecContext) IDENTIFIER() antlr.TerminalNode

func (*ImportSpecContext) ImportPath

func (s *ImportSpecContext) ImportPath() IImportPathContext

func (*ImportSpecContext) IsImportSpecContext

func (*ImportSpecContext) IsImportSpecContext()

func (*ImportSpecContext) SetAlias

func (s *ImportSpecContext) SetAlias(v antlr.Token)

func (*ImportSpecContext) ToStringTree

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

type ImportStmt

type ImportStmt struct {
	Alias string
	Path  string
}

type IncDecStmtContext

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

func NewEmptyIncDecStmtContext

func NewEmptyIncDecStmtContext() *IncDecStmtContext

func NewIncDecStmtContext

func NewIncDecStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncDecStmtContext

func (*IncDecStmtContext) EnterRule

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

func (*IncDecStmtContext) ExitRule

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

func (*IncDecStmtContext) Expression

func (s *IncDecStmtContext) Expression() IExpressionContext

func (*IncDecStmtContext) GetParser

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

func (*IncDecStmtContext) GetRuleContext

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

func (*IncDecStmtContext) IsIncDecStmtContext

func (*IncDecStmtContext) IsIncDecStmtContext()

func (*IncDecStmtContext) MINUS_MINUS

func (s *IncDecStmtContext) MINUS_MINUS() antlr.TerminalNode

func (*IncDecStmtContext) PLUS_PLUS

func (s *IncDecStmtContext) PLUS_PLUS() antlr.TerminalNode

func (*IncDecStmtContext) ToStringTree

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

type IndexContext

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

func NewEmptyIndexContext

func NewEmptyIndexContext() *IndexContext

func NewIndexContext

func NewIndexContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexContext

func (*IndexContext) EnterRule

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

func (*IndexContext) ExitRule

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

func (*IndexContext) Expression

func (s *IndexContext) Expression() IExpressionContext

func (*IndexContext) GetParser

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

func (*IndexContext) GetRuleContext

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

func (*IndexContext) IsIndexContext

func (*IndexContext) IsIndexContext()

func (*IndexContext) L_BRACKET

func (s *IndexContext) L_BRACKET() antlr.TerminalNode

func (*IndexContext) R_BRACKET

func (s *IndexContext) R_BRACKET() antlr.TerminalNode

func (*IndexContext) ToStringTree

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

type IntegerContext

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

func NewEmptyIntegerContext

func NewEmptyIntegerContext() *IntegerContext

func NewIntegerContext

func NewIntegerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerContext

func (*IntegerContext) BINARY_LIT

func (s *IntegerContext) BINARY_LIT() antlr.TerminalNode

func (*IntegerContext) DECIMAL_LIT

func (s *IntegerContext) DECIMAL_LIT() antlr.TerminalNode

func (*IntegerContext) EnterRule

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

func (*IntegerContext) ExitRule

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

func (*IntegerContext) GetParser

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

func (*IntegerContext) GetRuleContext

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

func (*IntegerContext) HEX_LIT

func (s *IntegerContext) HEX_LIT() antlr.TerminalNode

func (*IntegerContext) IMAGINARY_LIT

func (s *IntegerContext) IMAGINARY_LIT() antlr.TerminalNode

func (*IntegerContext) IsIntegerContext

func (*IntegerContext) IsIntegerContext()

func (*IntegerContext) OCTAL_LIT

func (s *IntegerContext) OCTAL_LIT() antlr.TerminalNode

func (*IntegerContext) RUNE_LIT

func (s *IntegerContext) RUNE_LIT() antlr.TerminalNode

func (*IntegerContext) ToStringTree

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

type InterfaceGenerator

type InterfaceGenerator struct {
	Files   []*SourceFileInfo
	Types   map[string]struct{}
	PkgName string
}

func (*InterfaceGenerator) GenerateCode

func (gen *InterfaceGenerator) GenerateCode() (string, error)

type InterfaceTypeContext

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

func NewEmptyInterfaceTypeContext

func NewEmptyInterfaceTypeContext() *InterfaceTypeContext

func NewInterfaceTypeContext

func NewInterfaceTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InterfaceTypeContext

func (*InterfaceTypeContext) AllEos

func (s *InterfaceTypeContext) AllEos() []IEosContext

func (*InterfaceTypeContext) AllMethodSpec

func (s *InterfaceTypeContext) AllMethodSpec() []IMethodSpecContext

func (*InterfaceTypeContext) AllTypeName

func (s *InterfaceTypeContext) AllTypeName() []ITypeNameContext

func (*InterfaceTypeContext) EnterRule

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

func (*InterfaceTypeContext) Eos

func (*InterfaceTypeContext) ExitRule

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

func (*InterfaceTypeContext) GetParser

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

func (*InterfaceTypeContext) GetRuleContext

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

func (*InterfaceTypeContext) INTERFACE

func (s *InterfaceTypeContext) INTERFACE() antlr.TerminalNode

func (*InterfaceTypeContext) IsInterfaceTypeContext

func (*InterfaceTypeContext) IsInterfaceTypeContext()

func (*InterfaceTypeContext) L_CURLY

func (*InterfaceTypeContext) MethodSpec

func (s *InterfaceTypeContext) MethodSpec(i int) IMethodSpecContext

func (*InterfaceTypeContext) R_CURLY

func (*InterfaceTypeContext) ToStringTree

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

func (*InterfaceTypeContext) TypeName

func (s *InterfaceTypeContext) TypeName(i int) ITypeNameContext

type KeyContext

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

func NewEmptyKeyContext

func NewEmptyKeyContext() *KeyContext

func NewKeyContext

func NewKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyContext

func (*KeyContext) EnterRule

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

func (*KeyContext) ExitRule

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

func (*KeyContext) Expression

func (s *KeyContext) Expression() IExpressionContext

func (*KeyContext) GetParser

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

func (*KeyContext) GetRuleContext

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

func (*KeyContext) IsKeyContext

func (*KeyContext) IsKeyContext()

func (*KeyContext) LiteralValue

func (s *KeyContext) LiteralValue() ILiteralValueContext

func (*KeyContext) ToStringTree

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

type KeyedElementContext

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

func NewEmptyKeyedElementContext

func NewEmptyKeyedElementContext() *KeyedElementContext

func NewKeyedElementContext

func NewKeyedElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyedElementContext

func (*KeyedElementContext) COLON

func (*KeyedElementContext) Element

func (s *KeyedElementContext) Element() IElementContext

func (*KeyedElementContext) EnterRule

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

func (*KeyedElementContext) ExitRule

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

func (*KeyedElementContext) GetParser

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

func (*KeyedElementContext) GetRuleContext

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

func (*KeyedElementContext) IsKeyedElementContext

func (*KeyedElementContext) IsKeyedElementContext()

func (*KeyedElementContext) Key

func (*KeyedElementContext) ToStringTree

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

type LabeledStmtContext

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

func NewEmptyLabeledStmtContext

func NewEmptyLabeledStmtContext() *LabeledStmtContext

func NewLabeledStmtContext

func NewLabeledStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabeledStmtContext

func (*LabeledStmtContext) COLON

func (*LabeledStmtContext) EnterRule

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

func (*LabeledStmtContext) ExitRule

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

func (*LabeledStmtContext) GetParser

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

func (*LabeledStmtContext) GetRuleContext

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

func (*LabeledStmtContext) IDENTIFIER

func (s *LabeledStmtContext) IDENTIFIER() antlr.TerminalNode

func (*LabeledStmtContext) IsLabeledStmtContext

func (*LabeledStmtContext) IsLabeledStmtContext()

func (*LabeledStmtContext) Statement

func (s *LabeledStmtContext) Statement() IStatementContext

func (*LabeledStmtContext) ToStringTree

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

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) BasicLit

func (s *LiteralContext) BasicLit() IBasicLitContext

func (*LiteralContext) CompositeLit

func (s *LiteralContext) CompositeLit() ICompositeLitContext

func (*LiteralContext) EnterRule

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

func (*LiteralContext) ExitRule

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

func (*LiteralContext) FunctionLit

func (s *LiteralContext) FunctionLit() IFunctionLitContext

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) ToStringTree

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

type LiteralTypeContext

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

func NewEmptyLiteralTypeContext

func NewEmptyLiteralTypeContext() *LiteralTypeContext

func NewLiteralTypeContext

func NewLiteralTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralTypeContext

func (*LiteralTypeContext) ArrayType

func (s *LiteralTypeContext) ArrayType() IArrayTypeContext

func (*LiteralTypeContext) ELLIPSIS

func (s *LiteralTypeContext) ELLIPSIS() antlr.TerminalNode

func (*LiteralTypeContext) ElementType

func (s *LiteralTypeContext) ElementType() IElementTypeContext

func (*LiteralTypeContext) EnterRule

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

func (*LiteralTypeContext) ExitRule

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

func (*LiteralTypeContext) GetParser

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

func (*LiteralTypeContext) GetRuleContext

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

func (*LiteralTypeContext) IsLiteralTypeContext

func (*LiteralTypeContext) IsLiteralTypeContext()

func (*LiteralTypeContext) L_BRACKET

func (s *LiteralTypeContext) L_BRACKET() antlr.TerminalNode

func (*LiteralTypeContext) MapType

func (s *LiteralTypeContext) MapType() IMapTypeContext

func (*LiteralTypeContext) R_BRACKET

func (s *LiteralTypeContext) R_BRACKET() antlr.TerminalNode

func (*LiteralTypeContext) SliceType

func (s *LiteralTypeContext) SliceType() ISliceTypeContext

func (*LiteralTypeContext) StructType

func (s *LiteralTypeContext) StructType() IStructTypeContext

func (*LiteralTypeContext) ToStringTree

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

func (*LiteralTypeContext) TypeName

func (s *LiteralTypeContext) TypeName() ITypeNameContext

type LiteralValueContext

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

func NewEmptyLiteralValueContext

func NewEmptyLiteralValueContext() *LiteralValueContext

func NewLiteralValueContext

func NewLiteralValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralValueContext

func (*LiteralValueContext) COMMA

func (*LiteralValueContext) ElementList

func (s *LiteralValueContext) ElementList() IElementListContext

func (*LiteralValueContext) EnterRule

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

func (*LiteralValueContext) ExitRule

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

func (*LiteralValueContext) GetParser

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

func (*LiteralValueContext) GetRuleContext

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

func (*LiteralValueContext) IsLiteralValueContext

func (*LiteralValueContext) IsLiteralValueContext()

func (*LiteralValueContext) L_CURLY

func (s *LiteralValueContext) L_CURLY() antlr.TerminalNode

func (*LiteralValueContext) R_CURLY

func (s *LiteralValueContext) R_CURLY() antlr.TerminalNode

func (*LiteralValueContext) ToStringTree

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

type MapTypeContext

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

func NewEmptyMapTypeContext

func NewEmptyMapTypeContext() *MapTypeContext

func NewMapTypeContext

func NewMapTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapTypeContext

func (*MapTypeContext) ElementType

func (s *MapTypeContext) ElementType() IElementTypeContext

func (*MapTypeContext) EnterRule

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

func (*MapTypeContext) ExitRule

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

func (*MapTypeContext) GetParser

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

func (*MapTypeContext) GetRuleContext

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

func (*MapTypeContext) IsMapTypeContext

func (*MapTypeContext) IsMapTypeContext()

func (*MapTypeContext) L_BRACKET

func (s *MapTypeContext) L_BRACKET() antlr.TerminalNode

func (*MapTypeContext) MAP

func (*MapTypeContext) R_BRACKET

func (s *MapTypeContext) R_BRACKET() antlr.TerminalNode

func (*MapTypeContext) ToStringTree

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

func (*MapTypeContext) Type_

func (s *MapTypeContext) Type_() IType_Context

type MethodDecl

type MethodDecl struct {
	Recv       *ReceiverDecl
	Identifier string
	Signature  string
	Comment    string
}

type MethodDeclContext

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

func NewEmptyMethodDeclContext

func NewEmptyMethodDeclContext() *MethodDeclContext

func NewMethodDeclContext

func NewMethodDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodDeclContext

func (*MethodDeclContext) Block

func (s *MethodDeclContext) Block() IBlockContext

func (*MethodDeclContext) EnterRule

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

func (*MethodDeclContext) ExitRule

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

func (*MethodDeclContext) FUNC

func (*MethodDeclContext) GetParser

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

func (*MethodDeclContext) GetRuleContext

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

func (*MethodDeclContext) IDENTIFIER

func (s *MethodDeclContext) IDENTIFIER() antlr.TerminalNode

func (*MethodDeclContext) IsMethodDeclContext

func (*MethodDeclContext) IsMethodDeclContext()

func (*MethodDeclContext) Receiver

func (s *MethodDeclContext) Receiver() IReceiverContext

func (*MethodDeclContext) Signature

func (s *MethodDeclContext) Signature() ISignatureContext

func (*MethodDeclContext) ToStringTree

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

type MethodExprContext

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

func NewEmptyMethodExprContext

func NewEmptyMethodExprContext() *MethodExprContext

func NewMethodExprContext

func NewMethodExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodExprContext

func (*MethodExprContext) DOT

func (*MethodExprContext) EnterRule

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

func (*MethodExprContext) ExitRule

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

func (*MethodExprContext) GetParser

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

func (*MethodExprContext) GetRuleContext

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

func (*MethodExprContext) IDENTIFIER

func (s *MethodExprContext) IDENTIFIER() antlr.TerminalNode

func (*MethodExprContext) IsMethodExprContext

func (*MethodExprContext) IsMethodExprContext()

func (*MethodExprContext) NonNamedType

func (s *MethodExprContext) NonNamedType() INonNamedTypeContext

func (*MethodExprContext) ToStringTree

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

type MethodListener

type MethodListener struct {
	*BaseGoParserListener
	IncludePrivate bool
	// contains filtered or unexported fields
}

func NewMethodListener

func NewMethodListener(includePrivate bool) *MethodListener

func (*MethodListener) EnterImportSpec

func (s *MethodListener) EnterImportSpec(c *ImportSpecContext)

EnterImportSpec is called when entering the importSpec production.

func (*MethodListener) EnterMethodDecl

func (s *MethodListener) EnterMethodDecl(ctx *MethodDeclContext)

func (*MethodListener) EnterPackageClause

func (s *MethodListener) EnterPackageClause(c *PackageClauseContext)

注意这里的参数很容易写错,一旦写错就无法实现接口

func (*MethodListener) EnterParameterDecl

func (s *MethodListener) EnterParameterDecl(ctx *ParameterDeclContext)

func (*MethodListener) EnterReceiver

func (s *MethodListener) EnterReceiver(ctx *ReceiverContext)

func (*MethodListener) ExitMethodDecl

func (s *MethodListener) ExitMethodDecl(ctx *MethodDeclContext)

func (*MethodListener) ExitReceiver

func (s *MethodListener) ExitReceiver(ctx *ReceiverContext)

func (*MethodListener) GetResult

func (s *MethodListener) GetResult() *SourceFileInfo

type MethodSpecContext

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

func NewEmptyMethodSpecContext

func NewEmptyMethodSpecContext() *MethodSpecContext

func NewMethodSpecContext

func NewMethodSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodSpecContext

func (*MethodSpecContext) EnterRule

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

func (*MethodSpecContext) ExitRule

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

func (*MethodSpecContext) GetParser

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

func (*MethodSpecContext) GetRuleContext

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

func (*MethodSpecContext) IDENTIFIER

func (s *MethodSpecContext) IDENTIFIER() antlr.TerminalNode

func (*MethodSpecContext) IsMethodSpecContext

func (*MethodSpecContext) IsMethodSpecContext()

func (*MethodSpecContext) Parameters

func (s *MethodSpecContext) Parameters() IParametersContext

func (*MethodSpecContext) Result

func (s *MethodSpecContext) Result() IResultContext

func (*MethodSpecContext) ToStringTree

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

type NonNamedTypeContext

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

func NewEmptyNonNamedTypeContext

func NewEmptyNonNamedTypeContext() *NonNamedTypeContext

func NewNonNamedTypeContext

func NewNonNamedTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NonNamedTypeContext

func (*NonNamedTypeContext) EnterRule

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

func (*NonNamedTypeContext) ExitRule

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

func (*NonNamedTypeContext) GetParser

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

func (*NonNamedTypeContext) GetRuleContext

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

func (*NonNamedTypeContext) IsNonNamedTypeContext

func (*NonNamedTypeContext) IsNonNamedTypeContext()

func (*NonNamedTypeContext) L_PAREN

func (s *NonNamedTypeContext) L_PAREN() antlr.TerminalNode

func (*NonNamedTypeContext) NonNamedType

func (s *NonNamedTypeContext) NonNamedType() INonNamedTypeContext

func (*NonNamedTypeContext) R_PAREN

func (s *NonNamedTypeContext) R_PAREN() antlr.TerminalNode

func (*NonNamedTypeContext) ToStringTree

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

func (*NonNamedTypeContext) TypeLit

func (s *NonNamedTypeContext) TypeLit() ITypeLitContext

type OperandContext

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

func NewEmptyOperandContext

func NewEmptyOperandContext() *OperandContext

func NewOperandContext

func NewOperandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperandContext

func (*OperandContext) EnterRule

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

func (*OperandContext) ExitRule

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

func (*OperandContext) Expression

func (s *OperandContext) Expression() IExpressionContext

func (*OperandContext) GetParser

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

func (*OperandContext) GetRuleContext

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

func (*OperandContext) IsOperandContext

func (*OperandContext) IsOperandContext()

func (*OperandContext) L_PAREN

func (s *OperandContext) L_PAREN() antlr.TerminalNode

func (*OperandContext) Literal

func (s *OperandContext) Literal() ILiteralContext

func (*OperandContext) OperandName

func (s *OperandContext) OperandName() IOperandNameContext

func (*OperandContext) R_PAREN

func (s *OperandContext) R_PAREN() antlr.TerminalNode

func (*OperandContext) ToStringTree

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

type OperandNameContext

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

func NewEmptyOperandNameContext

func NewEmptyOperandNameContext() *OperandNameContext

func NewOperandNameContext

func NewOperandNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperandNameContext

func (*OperandNameContext) EnterRule

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

func (*OperandNameContext) ExitRule

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

func (*OperandNameContext) GetParser

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

func (*OperandNameContext) GetRuleContext

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

func (*OperandNameContext) IDENTIFIER

func (s *OperandNameContext) IDENTIFIER() antlr.TerminalNode

func (*OperandNameContext) IsOperandNameContext

func (*OperandNameContext) IsOperandNameContext()

func (*OperandNameContext) ToStringTree

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

type PackageClauseContext

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

func NewEmptyPackageClauseContext

func NewEmptyPackageClauseContext() *PackageClauseContext

func NewPackageClauseContext

func NewPackageClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PackageClauseContext

func (*PackageClauseContext) EnterRule

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

func (*PackageClauseContext) ExitRule

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

func (*PackageClauseContext) GetPackageName

func (s *PackageClauseContext) GetPackageName() antlr.Token

func (*PackageClauseContext) GetParser

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

func (*PackageClauseContext) GetRuleContext

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

func (*PackageClauseContext) IDENTIFIER

func (s *PackageClauseContext) IDENTIFIER() antlr.TerminalNode

func (*PackageClauseContext) IsPackageClauseContext

func (*PackageClauseContext) IsPackageClauseContext()

func (*PackageClauseContext) PACKAGE

func (*PackageClauseContext) SetPackageName

func (s *PackageClauseContext) SetPackageName(v antlr.Token)

func (*PackageClauseContext) ToStringTree

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

type ParamResultContext

type ParamResultContext struct {
	*SignatureContext
}

func NewParamResultContext

func NewParamResultContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParamResultContext

func (*ParamResultContext) EnterRule

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

func (*ParamResultContext) ExitRule

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

func (*ParamResultContext) GetRuleContext

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

func (*ParamResultContext) Parameters

func (s *ParamResultContext) Parameters() IParametersContext

func (*ParamResultContext) Result

func (s *ParamResultContext) Result() IResultContext

type ParamSimpleContext

type ParamSimpleContext struct {
	*SignatureContext
}

func NewParamSimpleContext

func NewParamSimpleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParamSimpleContext

func (*ParamSimpleContext) EnterRule

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

func (*ParamSimpleContext) ExitRule

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

func (*ParamSimpleContext) GetRuleContext

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

func (*ParamSimpleContext) Parameters

func (s *ParamSimpleContext) Parameters() IParametersContext

type ParameterDeclContext

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

func NewEmptyParameterDeclContext

func NewEmptyParameterDeclContext() *ParameterDeclContext

func NewParameterDeclContext

func NewParameterDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterDeclContext

func (*ParameterDeclContext) ELLIPSIS

func (s *ParameterDeclContext) ELLIPSIS() antlr.TerminalNode

func (*ParameterDeclContext) EnterRule

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

func (*ParameterDeclContext) ExitRule

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

func (*ParameterDeclContext) GetParser

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

func (*ParameterDeclContext) GetRuleContext

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

func (*ParameterDeclContext) IdentifierList

func (s *ParameterDeclContext) IdentifierList() IIdentifierListContext

func (*ParameterDeclContext) IsParameterDeclContext

func (*ParameterDeclContext) IsParameterDeclContext()

func (*ParameterDeclContext) ToStringTree

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

func (*ParameterDeclContext) Type_

type ParametersContext

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

func NewEmptyParametersContext

func NewEmptyParametersContext() *ParametersContext

func NewParametersContext

func NewParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParametersContext

func (*ParametersContext) AllCOMMA

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

func (*ParametersContext) AllParameterDecl

func (s *ParametersContext) AllParameterDecl() []IParameterDeclContext

func (*ParametersContext) COMMA

func (*ParametersContext) EnterRule

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

func (*ParametersContext) ExitRule

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

func (*ParametersContext) GetParser

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

func (*ParametersContext) GetRuleContext

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

func (*ParametersContext) IsParametersContext

func (*ParametersContext) IsParametersContext()

func (*ParametersContext) L_PAREN

func (s *ParametersContext) L_PAREN() antlr.TerminalNode

func (*ParametersContext) ParameterDecl

func (s *ParametersContext) ParameterDecl(i int) IParameterDeclContext

func (*ParametersContext) R_PAREN

func (s *ParametersContext) R_PAREN() antlr.TerminalNode

func (*ParametersContext) ToStringTree

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

type PointerTypeContext

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

func NewEmptyPointerTypeContext

func NewEmptyPointerTypeContext() *PointerTypeContext

func NewPointerTypeContext

func NewPointerTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PointerTypeContext

func (*PointerTypeContext) EnterRule

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

func (*PointerTypeContext) ExitRule

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

func (*PointerTypeContext) GetParser

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

func (*PointerTypeContext) GetRuleContext

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

func (*PointerTypeContext) IsPointerTypeContext

func (*PointerTypeContext) IsPointerTypeContext()

func (*PointerTypeContext) STAR

func (*PointerTypeContext) ToStringTree

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

func (*PointerTypeContext) Type_

func (s *PointerTypeContext) Type_() IType_Context

type PrimaryExprContext

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

func NewEmptyPrimaryExprContext

func NewEmptyPrimaryExprContext() *PrimaryExprContext

func NewPrimaryExprContext

func NewPrimaryExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryExprContext

func (*PrimaryExprContext) Arguments

func (s *PrimaryExprContext) Arguments() IArgumentsContext

func (*PrimaryExprContext) Conversion

func (s *PrimaryExprContext) Conversion() IConversionContext

func (*PrimaryExprContext) DOT

func (*PrimaryExprContext) EnterRule

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

func (*PrimaryExprContext) ExitRule

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

func (*PrimaryExprContext) GetParser

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

func (*PrimaryExprContext) GetRuleContext

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

func (*PrimaryExprContext) IDENTIFIER

func (s *PrimaryExprContext) IDENTIFIER() antlr.TerminalNode

func (*PrimaryExprContext) Index

func (s *PrimaryExprContext) Index() IIndexContext

func (*PrimaryExprContext) IsPrimaryExprContext

func (*PrimaryExprContext) IsPrimaryExprContext()

func (*PrimaryExprContext) MethodExpr

func (s *PrimaryExprContext) MethodExpr() IMethodExprContext

func (*PrimaryExprContext) Operand

func (s *PrimaryExprContext) Operand() IOperandContext

func (*PrimaryExprContext) PrimaryExpr

func (s *PrimaryExprContext) PrimaryExpr() IPrimaryExprContext

func (*PrimaryExprContext) Slice_

func (s *PrimaryExprContext) Slice_() ISlice_Context

func (*PrimaryExprContext) ToStringTree

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

func (*PrimaryExprContext) TypeAssertion

func (s *PrimaryExprContext) TypeAssertion() ITypeAssertionContext

type QualifiedIdentContext

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

func NewEmptyQualifiedIdentContext

func NewEmptyQualifiedIdentContext() *QualifiedIdentContext

func NewQualifiedIdentContext

func NewQualifiedIdentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QualifiedIdentContext

func (*QualifiedIdentContext) AllIDENTIFIER

func (s *QualifiedIdentContext) AllIDENTIFIER() []antlr.TerminalNode

func (*QualifiedIdentContext) DOT

func (*QualifiedIdentContext) EnterRule

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

func (*QualifiedIdentContext) ExitRule

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

func (*QualifiedIdentContext) GetParser

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

func (*QualifiedIdentContext) GetRuleContext

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

func (*QualifiedIdentContext) IDENTIFIER

func (s *QualifiedIdentContext) IDENTIFIER(i int) antlr.TerminalNode

func (*QualifiedIdentContext) IsQualifiedIdentContext

func (*QualifiedIdentContext) IsQualifiedIdentContext()

func (*QualifiedIdentContext) ToStringTree

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

type RangeClauseContext

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

func NewEmptyRangeClauseContext

func NewEmptyRangeClauseContext() *RangeClauseContext

func NewRangeClauseContext

func NewRangeClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RangeClauseContext

func (*RangeClauseContext) ASSIGN

func (*RangeClauseContext) DECLARE_ASSIGN

func (s *RangeClauseContext) DECLARE_ASSIGN() antlr.TerminalNode

func (*RangeClauseContext) EnterRule

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

func (*RangeClauseContext) ExitRule

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

func (*RangeClauseContext) Expression

func (s *RangeClauseContext) Expression() IExpressionContext

func (*RangeClauseContext) ExpressionList

func (s *RangeClauseContext) ExpressionList() IExpressionListContext

func (*RangeClauseContext) GetParser

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

func (*RangeClauseContext) GetRuleContext

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

func (*RangeClauseContext) IdentifierList

func (s *RangeClauseContext) IdentifierList() IIdentifierListContext

func (*RangeClauseContext) IsRangeClauseContext

func (*RangeClauseContext) IsRangeClauseContext()

func (*RangeClauseContext) RANGE

func (*RangeClauseContext) ToStringTree

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

type ReceiverContext

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

func NewEmptyReceiverContext

func NewEmptyReceiverContext() *ReceiverContext

func NewReceiverContext

func NewReceiverContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReceiverContext

func (*ReceiverContext) EnterRule

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

func (*ReceiverContext) ExitRule

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

func (*ReceiverContext) GetParser

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

func (*ReceiverContext) GetRuleContext

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

func (*ReceiverContext) IsReceiverContext

func (*ReceiverContext) IsReceiverContext()

func (*ReceiverContext) Parameters

func (s *ReceiverContext) Parameters() IParametersContext

func (*ReceiverContext) ToStringTree

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

type ReceiverDecl

type ReceiverDecl struct {
	StructType string
	IsPointer  bool
}

type ReceiverTypeContext

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

func NewEmptyReceiverTypeContext

func NewEmptyReceiverTypeContext() *ReceiverTypeContext

func NewReceiverTypeContext

func NewReceiverTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReceiverTypeContext

func (*ReceiverTypeContext) EnterRule

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

func (*ReceiverTypeContext) ExitRule

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

func (*ReceiverTypeContext) GetParser

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

func (*ReceiverTypeContext) GetRuleContext

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

func (*ReceiverTypeContext) IsReceiverTypeContext

func (*ReceiverTypeContext) IsReceiverTypeContext()

func (*ReceiverTypeContext) ToStringTree

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

func (*ReceiverTypeContext) Type_

type RecvStmtContext

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

func NewEmptyRecvStmtContext

func NewEmptyRecvStmtContext() *RecvStmtContext

func NewRecvStmtContext

func NewRecvStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RecvStmtContext

func (*RecvStmtContext) ASSIGN

func (s *RecvStmtContext) ASSIGN() antlr.TerminalNode

func (*RecvStmtContext) DECLARE_ASSIGN

func (s *RecvStmtContext) DECLARE_ASSIGN() antlr.TerminalNode

func (*RecvStmtContext) EnterRule

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

func (*RecvStmtContext) ExitRule

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

func (*RecvStmtContext) Expression

func (s *RecvStmtContext) Expression() IExpressionContext

func (*RecvStmtContext) ExpressionList

func (s *RecvStmtContext) ExpressionList() IExpressionListContext

func (*RecvStmtContext) GetParser

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

func (*RecvStmtContext) GetRecvExpr

func (s *RecvStmtContext) GetRecvExpr() IExpressionContext

func (*RecvStmtContext) GetRuleContext

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

func (*RecvStmtContext) IdentifierList

func (s *RecvStmtContext) IdentifierList() IIdentifierListContext

func (*RecvStmtContext) IsRecvStmtContext

func (*RecvStmtContext) IsRecvStmtContext()

func (*RecvStmtContext) SetRecvExpr

func (s *RecvStmtContext) SetRecvExpr(v IExpressionContext)

func (*RecvStmtContext) ToStringTree

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

type ResultContext

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

func NewEmptyResultContext

func NewEmptyResultContext() *ResultContext

func NewResultContext

func NewResultContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResultContext

func (*ResultContext) EnterRule

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

func (*ResultContext) ExitRule

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

func (*ResultContext) GetParser

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

func (*ResultContext) GetRuleContext

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

func (*ResultContext) IsResultContext

func (*ResultContext) IsResultContext()

func (*ResultContext) Parameters

func (s *ResultContext) Parameters() IParametersContext

func (*ResultContext) ToStringTree

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

func (*ResultContext) Type_

func (s *ResultContext) Type_() IType_Context

type ReturnStmtContext

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

func NewEmptyReturnStmtContext

func NewEmptyReturnStmtContext() *ReturnStmtContext

func NewReturnStmtContext

func NewReturnStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnStmtContext

func (*ReturnStmtContext) EnterRule

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

func (*ReturnStmtContext) ExitRule

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

func (*ReturnStmtContext) ExpressionList

func (s *ReturnStmtContext) ExpressionList() IExpressionListContext

func (*ReturnStmtContext) GetParser

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

func (*ReturnStmtContext) GetRuleContext

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

func (*ReturnStmtContext) IsReturnStmtContext

func (*ReturnStmtContext) IsReturnStmtContext()

func (*ReturnStmtContext) RETURN

func (s *ReturnStmtContext) RETURN() antlr.TerminalNode

func (*ReturnStmtContext) ToStringTree

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

type SelectStmtContext

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

func NewEmptySelectStmtContext

func NewEmptySelectStmtContext() *SelectStmtContext

func NewSelectStmtContext

func NewSelectStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectStmtContext

func (*SelectStmtContext) AllCommClause

func (s *SelectStmtContext) AllCommClause() []ICommClauseContext

func (*SelectStmtContext) CommClause

func (s *SelectStmtContext) CommClause(i int) ICommClauseContext

func (*SelectStmtContext) EnterRule

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

func (*SelectStmtContext) ExitRule

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

func (*SelectStmtContext) GetParser

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

func (*SelectStmtContext) GetRuleContext

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

func (*SelectStmtContext) IsSelectStmtContext

func (*SelectStmtContext) IsSelectStmtContext()

func (*SelectStmtContext) L_CURLY

func (s *SelectStmtContext) L_CURLY() antlr.TerminalNode

func (*SelectStmtContext) R_CURLY

func (s *SelectStmtContext) R_CURLY() antlr.TerminalNode

func (*SelectStmtContext) SELECT

func (s *SelectStmtContext) SELECT() antlr.TerminalNode

func (*SelectStmtContext) ToStringTree

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

type SendStmtContext

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

func NewEmptySendStmtContext

func NewEmptySendStmtContext() *SendStmtContext

func NewSendStmtContext

func NewSendStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SendStmtContext

func (*SendStmtContext) AllExpression

func (s *SendStmtContext) AllExpression() []IExpressionContext

func (*SendStmtContext) EnterRule

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

func (*SendStmtContext) ExitRule

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

func (*SendStmtContext) Expression

func (s *SendStmtContext) Expression(i int) IExpressionContext

func (*SendStmtContext) GetChannel

func (s *SendStmtContext) GetChannel() IExpressionContext

func (*SendStmtContext) GetParser

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

func (*SendStmtContext) GetRuleContext

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

func (*SendStmtContext) IsSendStmtContext

func (*SendStmtContext) IsSendStmtContext()

func (*SendStmtContext) RECEIVE

func (s *SendStmtContext) RECEIVE() antlr.TerminalNode

func (*SendStmtContext) SetChannel

func (s *SendStmtContext) SetChannel(v IExpressionContext)

func (*SendStmtContext) ToStringTree

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

type ShortVarDeclContext

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

func NewEmptyShortVarDeclContext

func NewEmptyShortVarDeclContext() *ShortVarDeclContext

func NewShortVarDeclContext

func NewShortVarDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ShortVarDeclContext

func (*ShortVarDeclContext) DECLARE_ASSIGN

func (s *ShortVarDeclContext) DECLARE_ASSIGN() antlr.TerminalNode

func (*ShortVarDeclContext) EnterRule

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

func (*ShortVarDeclContext) ExitRule

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

func (*ShortVarDeclContext) ExpressionList

func (s *ShortVarDeclContext) ExpressionList() IExpressionListContext

func (*ShortVarDeclContext) GetParser

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

func (*ShortVarDeclContext) GetRuleContext

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

func (*ShortVarDeclContext) IdentifierList

func (s *ShortVarDeclContext) IdentifierList() IIdentifierListContext

func (*ShortVarDeclContext) IsShortVarDeclContext

func (*ShortVarDeclContext) IsShortVarDeclContext()

func (*ShortVarDeclContext) ToStringTree

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

type SignatureContext

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

func NewEmptySignatureContext

func NewEmptySignatureContext() *SignatureContext

func NewSignatureContext

func NewSignatureContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SignatureContext

func (*SignatureContext) CopyFrom

func (s *SignatureContext) CopyFrom(ctx *SignatureContext)

func (*SignatureContext) GetParser

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

func (*SignatureContext) GetRuleContext

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

func (*SignatureContext) IsSignatureContext

func (*SignatureContext) IsSignatureContext()

func (*SignatureContext) ToStringTree

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

type SimpleStmtContext

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

func NewEmptySimpleStmtContext

func NewEmptySimpleStmtContext() *SimpleStmtContext

func NewSimpleStmtContext

func NewSimpleStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleStmtContext

func (*SimpleStmtContext) Assignment

func (s *SimpleStmtContext) Assignment() IAssignmentContext

func (*SimpleStmtContext) EnterRule

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

func (*SimpleStmtContext) ExitRule

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

func (*SimpleStmtContext) ExpressionStmt

func (s *SimpleStmtContext) ExpressionStmt() IExpressionStmtContext

func (*SimpleStmtContext) GetParser

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

func (*SimpleStmtContext) GetRuleContext

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

func (*SimpleStmtContext) IncDecStmt

func (s *SimpleStmtContext) IncDecStmt() IIncDecStmtContext

func (*SimpleStmtContext) IsSimpleStmtContext

func (*SimpleStmtContext) IsSimpleStmtContext()

func (*SimpleStmtContext) SendStmt

func (s *SimpleStmtContext) SendStmt() ISendStmtContext

func (*SimpleStmtContext) ShortVarDecl

func (s *SimpleStmtContext) ShortVarDecl() IShortVarDeclContext

func (*SimpleStmtContext) ToStringTree

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

type SliceTypeContext

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

func NewEmptySliceTypeContext

func NewEmptySliceTypeContext() *SliceTypeContext

func NewSliceTypeContext

func NewSliceTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceTypeContext

func (*SliceTypeContext) ElementType

func (s *SliceTypeContext) ElementType() IElementTypeContext

func (*SliceTypeContext) EnterRule

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

func (*SliceTypeContext) ExitRule

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

func (*SliceTypeContext) GetParser

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

func (*SliceTypeContext) GetRuleContext

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

func (*SliceTypeContext) IsSliceTypeContext

func (*SliceTypeContext) IsSliceTypeContext()

func (*SliceTypeContext) L_BRACKET

func (s *SliceTypeContext) L_BRACKET() antlr.TerminalNode

func (*SliceTypeContext) R_BRACKET

func (s *SliceTypeContext) R_BRACKET() antlr.TerminalNode

func (*SliceTypeContext) ToStringTree

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

type Slice_Context

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

func NewEmptySlice_Context

func NewEmptySlice_Context() *Slice_Context

func NewSlice_Context

func NewSlice_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Slice_Context

func (*Slice_Context) AllCOLON

func (s *Slice_Context) AllCOLON() []antlr.TerminalNode

func (*Slice_Context) AllExpression

func (s *Slice_Context) AllExpression() []IExpressionContext

func (*Slice_Context) COLON

func (s *Slice_Context) COLON(i int) antlr.TerminalNode

func (*Slice_Context) EnterRule

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

func (*Slice_Context) ExitRule

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

func (*Slice_Context) Expression

func (s *Slice_Context) Expression(i int) IExpressionContext

func (*Slice_Context) GetParser

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

func (*Slice_Context) GetRuleContext

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

func (*Slice_Context) IsSlice_Context

func (*Slice_Context) IsSlice_Context()

func (*Slice_Context) L_BRACKET

func (s *Slice_Context) L_BRACKET() antlr.TerminalNode

func (*Slice_Context) R_BRACKET

func (s *Slice_Context) R_BRACKET() antlr.TerminalNode

func (*Slice_Context) ToStringTree

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

type SourceFileContext

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

func NewEmptySourceFileContext

func NewEmptySourceFileContext() *SourceFileContext

func NewSourceFileContext

func NewSourceFileContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceFileContext

func (*SourceFileContext) AllDeclaration

func (s *SourceFileContext) AllDeclaration() []IDeclarationContext

func (*SourceFileContext) AllEos

func (s *SourceFileContext) AllEos() []IEosContext

func (*SourceFileContext) AllFunctionDecl

func (s *SourceFileContext) AllFunctionDecl() []IFunctionDeclContext

func (*SourceFileContext) AllImportDecl

func (s *SourceFileContext) AllImportDecl() []IImportDeclContext

func (*SourceFileContext) AllMethodDecl

func (s *SourceFileContext) AllMethodDecl() []IMethodDeclContext

func (*SourceFileContext) Declaration

func (s *SourceFileContext) Declaration(i int) IDeclarationContext

func (*SourceFileContext) EOF

func (*SourceFileContext) EnterRule

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

func (*SourceFileContext) Eos

func (s *SourceFileContext) Eos(i int) IEosContext

func (*SourceFileContext) ExitRule

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

func (*SourceFileContext) FunctionDecl

func (s *SourceFileContext) FunctionDecl(i int) IFunctionDeclContext

func (*SourceFileContext) GetParser

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

func (*SourceFileContext) GetRuleContext

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

func (*SourceFileContext) ImportDecl

func (s *SourceFileContext) ImportDecl(i int) IImportDeclContext

func (*SourceFileContext) IsSourceFileContext

func (*SourceFileContext) IsSourceFileContext()

func (*SourceFileContext) MethodDecl

func (s *SourceFileContext) MethodDecl(i int) IMethodDeclContext

func (*SourceFileContext) PackageClause

func (s *SourceFileContext) PackageClause() IPackageClauseContext

func (*SourceFileContext) ToStringTree

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

type SourceFileInfo

type SourceFileInfo struct {
	PkgName string
	Imports []*ImportStmt
	Methods []*MethodDecl
}

type StatementContext

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

func NewEmptyStatementContext

func NewEmptyStatementContext() *StatementContext

func NewStatementContext

func NewStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementContext

func (*StatementContext) Block

func (s *StatementContext) Block() IBlockContext

func (*StatementContext) BreakStmt

func (s *StatementContext) BreakStmt() IBreakStmtContext

func (*StatementContext) ContinueStmt

func (s *StatementContext) ContinueStmt() IContinueStmtContext

func (*StatementContext) Declaration

func (s *StatementContext) Declaration() IDeclarationContext

func (*StatementContext) DeferStmt

func (s *StatementContext) DeferStmt() IDeferStmtContext

func (*StatementContext) EnterRule

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

func (*StatementContext) ExitRule

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

func (*StatementContext) FallthroughStmt

func (s *StatementContext) FallthroughStmt() IFallthroughStmtContext

func (*StatementContext) ForStmt

func (s *StatementContext) ForStmt() IForStmtContext

func (*StatementContext) GetParser

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

func (*StatementContext) GetRuleContext

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

func (*StatementContext) GoStmt

func (s *StatementContext) GoStmt() IGoStmtContext

func (*StatementContext) GotoStmt

func (s *StatementContext) GotoStmt() IGotoStmtContext

func (*StatementContext) IfStmt

func (s *StatementContext) IfStmt() IIfStmtContext

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) LabeledStmt

func (s *StatementContext) LabeledStmt() ILabeledStmtContext

func (*StatementContext) ReturnStmt

func (s *StatementContext) ReturnStmt() IReturnStmtContext

func (*StatementContext) SelectStmt

func (s *StatementContext) SelectStmt() ISelectStmtContext

func (*StatementContext) SimpleStmt

func (s *StatementContext) SimpleStmt() ISimpleStmtContext

func (*StatementContext) SwitchStmt

func (s *StatementContext) SwitchStmt() ISwitchStmtContext

func (*StatementContext) ToStringTree

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

type StatementListContext

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

func NewEmptyStatementListContext

func NewEmptyStatementListContext() *StatementListContext

func NewStatementListContext

func NewStatementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementListContext

func (*StatementListContext) AllEOS

func (s *StatementListContext) AllEOS() []antlr.TerminalNode

func (*StatementListContext) AllEos

func (s *StatementListContext) AllEos() []IEosContext

func (*StatementListContext) AllSEMI

func (s *StatementListContext) AllSEMI() []antlr.TerminalNode

func (*StatementListContext) AllStatement

func (s *StatementListContext) AllStatement() []IStatementContext

func (*StatementListContext) EOS

func (*StatementListContext) EnterRule

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

func (*StatementListContext) Eos

func (*StatementListContext) ExitRule

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

func (*StatementListContext) GetParser

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

func (*StatementListContext) GetRuleContext

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

func (*StatementListContext) IsStatementListContext

func (*StatementListContext) IsStatementListContext()

func (*StatementListContext) SEMI

func (*StatementListContext) Statement

func (s *StatementListContext) Statement(i int) IStatementContext

func (*StatementListContext) ToStringTree

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

type String_Context

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

func NewEmptyString_Context

func NewEmptyString_Context() *String_Context

func NewString_Context

func NewString_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *String_Context

func (*String_Context) EnterRule

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

func (*String_Context) ExitRule

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

func (*String_Context) GetParser

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

func (*String_Context) GetRuleContext

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

func (*String_Context) INTERPRETED_STRING_LIT

func (s *String_Context) INTERPRETED_STRING_LIT() antlr.TerminalNode

func (*String_Context) IsString_Context

func (*String_Context) IsString_Context()

func (*String_Context) RAW_STRING_LIT

func (s *String_Context) RAW_STRING_LIT() antlr.TerminalNode

func (*String_Context) ToStringTree

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

type StructTypeContext

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

func NewEmptyStructTypeContext

func NewEmptyStructTypeContext() *StructTypeContext

func NewStructTypeContext

func NewStructTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructTypeContext

func (*StructTypeContext) AllEos

func (s *StructTypeContext) AllEos() []IEosContext

func (*StructTypeContext) AllFieldDecl

func (s *StructTypeContext) AllFieldDecl() []IFieldDeclContext

func (*StructTypeContext) EnterRule

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

func (*StructTypeContext) Eos

func (s *StructTypeContext) Eos(i int) IEosContext

func (*StructTypeContext) ExitRule

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

func (*StructTypeContext) FieldDecl

func (s *StructTypeContext) FieldDecl(i int) IFieldDeclContext

func (*StructTypeContext) GetParser

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

func (*StructTypeContext) GetRuleContext

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

func (*StructTypeContext) IsStructTypeContext

func (*StructTypeContext) IsStructTypeContext()

func (*StructTypeContext) L_CURLY

func (s *StructTypeContext) L_CURLY() antlr.TerminalNode

func (*StructTypeContext) R_CURLY

func (s *StructTypeContext) R_CURLY() antlr.TerminalNode

func (*StructTypeContext) STRUCT

func (s *StructTypeContext) STRUCT() antlr.TerminalNode

func (*StructTypeContext) ToStringTree

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

type SwitchStmtContext

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

func NewEmptySwitchStmtContext

func NewEmptySwitchStmtContext() *SwitchStmtContext

func NewSwitchStmtContext

func NewSwitchStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SwitchStmtContext

func (*SwitchStmtContext) EnterRule

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

func (*SwitchStmtContext) ExitRule

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

func (*SwitchStmtContext) ExprSwitchStmt

func (s *SwitchStmtContext) ExprSwitchStmt() IExprSwitchStmtContext

func (*SwitchStmtContext) GetParser

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

func (*SwitchStmtContext) GetRuleContext

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

func (*SwitchStmtContext) IsSwitchStmtContext

func (*SwitchStmtContext) IsSwitchStmtContext()

func (*SwitchStmtContext) ToStringTree

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

func (*SwitchStmtContext) TypeSwitchStmt

func (s *SwitchStmtContext) TypeSwitchStmt() ITypeSwitchStmtContext

type TypeAssertionContext

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

func NewEmptyTypeAssertionContext

func NewEmptyTypeAssertionContext() *TypeAssertionContext

func NewTypeAssertionContext

func NewTypeAssertionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeAssertionContext

func (*TypeAssertionContext) DOT

func (*TypeAssertionContext) EnterRule

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

func (*TypeAssertionContext) ExitRule

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

func (*TypeAssertionContext) GetParser

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

func (*TypeAssertionContext) GetRuleContext

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

func (*TypeAssertionContext) IsTypeAssertionContext

func (*TypeAssertionContext) IsTypeAssertionContext()

func (*TypeAssertionContext) L_PAREN

func (*TypeAssertionContext) R_PAREN

func (*TypeAssertionContext) ToStringTree

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

func (*TypeAssertionContext) Type_

type TypeCaseClauseContext

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

func NewEmptyTypeCaseClauseContext

func NewEmptyTypeCaseClauseContext() *TypeCaseClauseContext

func NewTypeCaseClauseContext

func NewTypeCaseClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeCaseClauseContext

func (*TypeCaseClauseContext) COLON

func (*TypeCaseClauseContext) EnterRule

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

func (*TypeCaseClauseContext) ExitRule

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

func (*TypeCaseClauseContext) GetParser

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

func (*TypeCaseClauseContext) GetRuleContext

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

func (*TypeCaseClauseContext) IsTypeCaseClauseContext

func (*TypeCaseClauseContext) IsTypeCaseClauseContext()

func (*TypeCaseClauseContext) StatementList

func (s *TypeCaseClauseContext) StatementList() IStatementListContext

func (*TypeCaseClauseContext) ToStringTree

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

func (*TypeCaseClauseContext) TypeSwitchCase

func (s *TypeCaseClauseContext) TypeSwitchCase() ITypeSwitchCaseContext

type TypeDeclContext

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

func NewEmptyTypeDeclContext

func NewEmptyTypeDeclContext() *TypeDeclContext

func NewTypeDeclContext

func NewTypeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDeclContext

func (*TypeDeclContext) AllEos

func (s *TypeDeclContext) AllEos() []IEosContext

func (*TypeDeclContext) AllTypeSpec

func (s *TypeDeclContext) AllTypeSpec() []ITypeSpecContext

func (*TypeDeclContext) EnterRule

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

func (*TypeDeclContext) Eos

func (s *TypeDeclContext) Eos(i int) IEosContext

func (*TypeDeclContext) ExitRule

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

func (*TypeDeclContext) GetParser

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

func (*TypeDeclContext) GetRuleContext

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

func (*TypeDeclContext) IsTypeDeclContext

func (*TypeDeclContext) IsTypeDeclContext()

func (*TypeDeclContext) L_PAREN

func (s *TypeDeclContext) L_PAREN() antlr.TerminalNode

func (*TypeDeclContext) R_PAREN

func (s *TypeDeclContext) R_PAREN() antlr.TerminalNode

func (*TypeDeclContext) TYPE

func (*TypeDeclContext) ToStringTree

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

func (*TypeDeclContext) TypeSpec

func (s *TypeDeclContext) TypeSpec(i int) ITypeSpecContext

type TypeListContext

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

func NewEmptyTypeListContext

func NewEmptyTypeListContext() *TypeListContext

func NewTypeListContext

func NewTypeListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeListContext

func (*TypeListContext) AllCOMMA

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

func (*TypeListContext) AllNIL_LIT

func (s *TypeListContext) AllNIL_LIT() []antlr.TerminalNode

func (*TypeListContext) AllType_

func (s *TypeListContext) AllType_() []IType_Context

func (*TypeListContext) COMMA

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

func (*TypeListContext) EnterRule

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

func (*TypeListContext) ExitRule

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

func (*TypeListContext) GetParser

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

func (*TypeListContext) GetRuleContext

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

func (*TypeListContext) IsTypeListContext

func (*TypeListContext) IsTypeListContext()

func (*TypeListContext) NIL_LIT

func (s *TypeListContext) NIL_LIT(i int) antlr.TerminalNode

func (*TypeListContext) ToStringTree

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

func (*TypeListContext) Type_

func (s *TypeListContext) Type_(i int) IType_Context

type TypeLitContext

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

func NewEmptyTypeLitContext

func NewEmptyTypeLitContext() *TypeLitContext

func NewTypeLitContext

func NewTypeLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeLitContext

func (*TypeLitContext) CopyFrom

func (s *TypeLitContext) CopyFrom(ctx *TypeLitContext)

func (*TypeLitContext) GetParser

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

func (*TypeLitContext) GetRuleContext

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

func (*TypeLitContext) IsTypeLitContext

func (*TypeLitContext) IsTypeLitContext()

func (*TypeLitContext) ToStringTree

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

type TypeNameContext

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

func NewEmptyTypeNameContext

func NewEmptyTypeNameContext() *TypeNameContext

func NewTypeNameContext

func NewTypeNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeNameContext

func (*TypeNameContext) EnterRule

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

func (*TypeNameContext) ExitRule

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

func (*TypeNameContext) GetParser

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

func (*TypeNameContext) GetRuleContext

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

func (*TypeNameContext) IDENTIFIER

func (s *TypeNameContext) IDENTIFIER() antlr.TerminalNode

func (*TypeNameContext) IsTypeNameContext

func (*TypeNameContext) IsTypeNameContext()

func (*TypeNameContext) QualifiedIdent

func (s *TypeNameContext) QualifiedIdent() IQualifiedIdentContext

func (*TypeNameContext) ToStringTree

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

type TypeSpecContext

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

func NewEmptyTypeSpecContext

func NewEmptyTypeSpecContext() *TypeSpecContext

func NewTypeSpecContext

func NewTypeSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSpecContext

func (*TypeSpecContext) ASSIGN

func (s *TypeSpecContext) ASSIGN() antlr.TerminalNode

func (*TypeSpecContext) EnterRule

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

func (*TypeSpecContext) ExitRule

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

func (*TypeSpecContext) GetParser

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

func (*TypeSpecContext) GetRuleContext

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

func (*TypeSpecContext) IDENTIFIER

func (s *TypeSpecContext) IDENTIFIER() antlr.TerminalNode

func (*TypeSpecContext) IsTypeSpecContext

func (*TypeSpecContext) IsTypeSpecContext()

func (*TypeSpecContext) ToStringTree

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

func (*TypeSpecContext) Type_

func (s *TypeSpecContext) Type_() IType_Context

type TypeSwitchCaseContext

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

func NewEmptyTypeSwitchCaseContext

func NewEmptyTypeSwitchCaseContext() *TypeSwitchCaseContext

func NewTypeSwitchCaseContext

func NewTypeSwitchCaseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSwitchCaseContext

func (*TypeSwitchCaseContext) CASE

func (*TypeSwitchCaseContext) DEFAULT

func (*TypeSwitchCaseContext) EnterRule

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

func (*TypeSwitchCaseContext) ExitRule

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

func (*TypeSwitchCaseContext) GetParser

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

func (*TypeSwitchCaseContext) GetRuleContext

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

func (*TypeSwitchCaseContext) IsTypeSwitchCaseContext

func (*TypeSwitchCaseContext) IsTypeSwitchCaseContext()

func (*TypeSwitchCaseContext) ToStringTree

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

func (*TypeSwitchCaseContext) TypeList

type TypeSwitchGuardContext

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

func NewEmptyTypeSwitchGuardContext

func NewEmptyTypeSwitchGuardContext() *TypeSwitchGuardContext

func NewTypeSwitchGuardContext

func NewTypeSwitchGuardContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSwitchGuardContext

func (*TypeSwitchGuardContext) DECLARE_ASSIGN

func (s *TypeSwitchGuardContext) DECLARE_ASSIGN() antlr.TerminalNode

func (*TypeSwitchGuardContext) DOT

func (*TypeSwitchGuardContext) EnterRule

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

func (*TypeSwitchGuardContext) ExitRule

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

func (*TypeSwitchGuardContext) GetParser

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

func (*TypeSwitchGuardContext) GetRuleContext

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

func (*TypeSwitchGuardContext) IDENTIFIER

func (s *TypeSwitchGuardContext) IDENTIFIER() antlr.TerminalNode

func (*TypeSwitchGuardContext) IsTypeSwitchGuardContext

func (*TypeSwitchGuardContext) IsTypeSwitchGuardContext()

func (*TypeSwitchGuardContext) L_PAREN

func (*TypeSwitchGuardContext) PrimaryExpr

func (*TypeSwitchGuardContext) R_PAREN

func (*TypeSwitchGuardContext) TYPE

func (*TypeSwitchGuardContext) ToStringTree

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

type TypeSwitchStmtContext

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

func NewEmptyTypeSwitchStmtContext

func NewEmptyTypeSwitchStmtContext() *TypeSwitchStmtContext

func NewTypeSwitchStmtContext

func NewTypeSwitchStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSwitchStmtContext

func (*TypeSwitchStmtContext) AllTypeCaseClause

func (s *TypeSwitchStmtContext) AllTypeCaseClause() []ITypeCaseClauseContext

func (*TypeSwitchStmtContext) EnterRule

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

func (*TypeSwitchStmtContext) Eos

func (*TypeSwitchStmtContext) ExitRule

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

func (*TypeSwitchStmtContext) GetParser

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

func (*TypeSwitchStmtContext) GetRuleContext

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

func (*TypeSwitchStmtContext) IsTypeSwitchStmtContext

func (*TypeSwitchStmtContext) IsTypeSwitchStmtContext()

func (*TypeSwitchStmtContext) L_CURLY

func (*TypeSwitchStmtContext) R_CURLY

func (*TypeSwitchStmtContext) SWITCH

func (*TypeSwitchStmtContext) SimpleStmt

func (s *TypeSwitchStmtContext) SimpleStmt() ISimpleStmtContext

func (*TypeSwitchStmtContext) ToStringTree

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

func (*TypeSwitchStmtContext) TypeCaseClause

func (s *TypeSwitchStmtContext) TypeCaseClause(i int) ITypeCaseClauseContext

func (*TypeSwitchStmtContext) TypeSwitchGuard

func (s *TypeSwitchStmtContext) TypeSwitchGuard() ITypeSwitchGuardContext

type Type_Context

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

func NewEmptyType_Context

func NewEmptyType_Context() *Type_Context

func NewType_Context

func NewType_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Type_Context

func (*Type_Context) EnterRule

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

func (*Type_Context) ExitRule

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

func (*Type_Context) GetParser

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

func (*Type_Context) GetRuleContext

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

func (*Type_Context) IsType_Context

func (*Type_Context) IsType_Context()

func (*Type_Context) L_PAREN

func (s *Type_Context) L_PAREN() antlr.TerminalNode

func (*Type_Context) R_PAREN

func (s *Type_Context) R_PAREN() antlr.TerminalNode

func (*Type_Context) ToStringTree

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

func (*Type_Context) TypeLit

func (s *Type_Context) TypeLit() ITypeLitContext

func (*Type_Context) TypeName

func (s *Type_Context) TypeName() ITypeNameContext

func (*Type_Context) Type_

func (s *Type_Context) Type_() IType_Context

type VarDeclContext

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

func NewEmptyVarDeclContext

func NewEmptyVarDeclContext() *VarDeclContext

func NewVarDeclContext

func NewVarDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarDeclContext

func (*VarDeclContext) AllEos

func (s *VarDeclContext) AllEos() []IEosContext

func (*VarDeclContext) AllVarSpec

func (s *VarDeclContext) AllVarSpec() []IVarSpecContext

func (*VarDeclContext) EnterRule

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

func (*VarDeclContext) Eos

func (s *VarDeclContext) Eos(i int) IEosContext

func (*VarDeclContext) ExitRule

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

func (*VarDeclContext) GetParser

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

func (*VarDeclContext) GetRuleContext

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

func (*VarDeclContext) IsVarDeclContext

func (*VarDeclContext) IsVarDeclContext()

func (*VarDeclContext) L_PAREN

func (s *VarDeclContext) L_PAREN() antlr.TerminalNode

func (*VarDeclContext) R_PAREN

func (s *VarDeclContext) R_PAREN() antlr.TerminalNode

func (*VarDeclContext) ToStringTree

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

func (*VarDeclContext) VAR

func (*VarDeclContext) VarSpec

func (s *VarDeclContext) VarSpec(i int) IVarSpecContext

type VarSpecContext

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

func NewEmptyVarSpecContext

func NewEmptyVarSpecContext() *VarSpecContext

func NewVarSpecContext

func NewVarSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarSpecContext

func (*VarSpecContext) ASSIGN

func (s *VarSpecContext) ASSIGN() antlr.TerminalNode

func (*VarSpecContext) EnterRule

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

func (*VarSpecContext) ExitRule

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

func (*VarSpecContext) ExpressionList

func (s *VarSpecContext) ExpressionList() IExpressionListContext

func (*VarSpecContext) GetParser

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

func (*VarSpecContext) GetRuleContext

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

func (*VarSpecContext) IdentifierList

func (s *VarSpecContext) IdentifierList() IIdentifierListContext

func (*VarSpecContext) IsVarSpecContext

func (*VarSpecContext) IsVarSpecContext()

func (*VarSpecContext) ToStringTree

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

func (*VarSpecContext) Type_

func (s *VarSpecContext) Type_() IType_Context

Jump to

Keyboard shortcuts

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