parser

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GScriptLexerT__0            = 1
	GScriptLexerT__1            = 2
	GScriptLexerCLASS           = 3
	GScriptLexerEXTENDS         = 4
	GScriptLexerIMPLEMENTS      = 5
	GScriptLexerFINAL           = 6
	GScriptLexerTHROWS          = 7
	GScriptLexerINT             = 8
	GScriptLexerSTRING          = 9
	GScriptLexerFLOAT           = 10
	GScriptLexerBOOLEAN         = 11
	GScriptLexerBYTE            = 12
	GScriptLexerSUPER           = 13
	GScriptLexerSWITCH          = 14
	GScriptLexerTHIS            = 15
	GScriptLexerNil             = 16
	GScriptLexerANY             = 17
	GScriptLexerLPAREN          = 18
	GScriptLexerRPAREN          = 19
	GScriptLexerLBRACE          = 20
	GScriptLexerRBRACE          = 21
	GScriptLexerLBRACK          = 22
	GScriptLexerRBRACK          = 23
	GScriptLexerDOT             = 24
	GScriptLexerCOLON           = 25
	GScriptLexerASSIGN          = 26
	GScriptLexerGT              = 27
	GScriptLexerLT              = 28
	GScriptLexerBANG            = 29
	GScriptLexerTILDE           = 30
	GScriptLexerAND             = 31
	GScriptLexerOR              = 32
	GScriptLexerINC             = 33
	GScriptLexerDEC             = 34
	GScriptLexerMULT            = 35
	GScriptLexerDIV             = 36
	GScriptLexerPLUS            = 37
	GScriptLexerSUB             = 38
	GScriptLexerMOD             = 39
	GScriptLexerADD_ASSIGN      = 40
	GScriptLexerSUB_ASSIGN      = 41
	GScriptLexerMUL_ASSIGN      = 42
	GScriptLexerDIV_ASSIGN      = 43
	GScriptLexerEQUAL           = 44
	GScriptLexerLE              = 45
	GScriptLexerGE              = 46
	GScriptLexerNOTEQUAL        = 47
	GScriptLexerFUNCTION        = 48
	GScriptLexerVOID            = 49
	GScriptLexerFOR             = 50
	GScriptLexerIF              = 51
	GScriptLexerELSE            = 52
	GScriptLexerRETURN          = 53
	GScriptLexerBREAK           = 54
	GScriptLexerCONTINUE        = 55
	GScriptLexerBOOL_LITERAL    = 56
	GScriptLexerSTRING_LITERAL  = 57
	GScriptLexerRAW_STRING_LIT  = 58
	GScriptLexerNULL_LITERAL    = 59
	GScriptLexerDECIMAL_LITERAL = 60
	GScriptLexerFLOAT_LITERAL   = 61
	GScriptLexerELLIPSIS        = 62
	GScriptLexerWS              = 63
	GScriptLexerCOMMENT         = 64
	GScriptLexerLINE_COMMENT    = 65
	GScriptLexerIDENTIFIER      = 66
	GScriptLexerSPACES          = 67
)

GScriptLexer tokens.

View Source
const (
	GScriptParserEOF             = antlr.TokenEOF
	GScriptParserT__0            = 1
	GScriptParserT__1            = 2
	GScriptParserCLASS           = 3
	GScriptParserEXTENDS         = 4
	GScriptParserIMPLEMENTS      = 5
	GScriptParserFINAL           = 6
	GScriptParserTHROWS          = 7
	GScriptParserINT             = 8
	GScriptParserSTRING          = 9
	GScriptParserFLOAT           = 10
	GScriptParserBOOLEAN         = 11
	GScriptParserBYTE            = 12
	GScriptParserSUPER           = 13
	GScriptParserSWITCH          = 14
	GScriptParserTHIS            = 15
	GScriptParserNil             = 16
	GScriptParserANY             = 17
	GScriptParserLPAREN          = 18
	GScriptParserRPAREN          = 19
	GScriptParserLBRACE          = 20
	GScriptParserRBRACE          = 21
	GScriptParserLBRACK          = 22
	GScriptParserRBRACK          = 23
	GScriptParserDOT             = 24
	GScriptParserCOLON           = 25
	GScriptParserASSIGN          = 26
	GScriptParserGT              = 27
	GScriptParserLT              = 28
	GScriptParserBANG            = 29
	GScriptParserTILDE           = 30
	GScriptParserAND             = 31
	GScriptParserOR              = 32
	GScriptParserINC             = 33
	GScriptParserDEC             = 34
	GScriptParserMULT            = 35
	GScriptParserDIV             = 36
	GScriptParserPLUS            = 37
	GScriptParserSUB             = 38
	GScriptParserMOD             = 39
	GScriptParserADD_ASSIGN      = 40
	GScriptParserSUB_ASSIGN      = 41
	GScriptParserMUL_ASSIGN      = 42
	GScriptParserDIV_ASSIGN      = 43
	GScriptParserEQUAL           = 44
	GScriptParserLE              = 45
	GScriptParserGE              = 46
	GScriptParserNOTEQUAL        = 47
	GScriptParserFUNCTION        = 48
	GScriptParserVOID            = 49
	GScriptParserFOR             = 50
	GScriptParserIF              = 51
	GScriptParserELSE            = 52
	GScriptParserRETURN          = 53
	GScriptParserBREAK           = 54
	GScriptParserCONTINUE        = 55
	GScriptParserBOOL_LITERAL    = 56
	GScriptParserSTRING_LITERAL  = 57
	GScriptParserRAW_STRING_LIT  = 58
	GScriptParserNULL_LITERAL    = 59
	GScriptParserDECIMAL_LITERAL = 60
	GScriptParserFLOAT_LITERAL   = 61
	GScriptParserELLIPSIS        = 62
	GScriptParserWS              = 63
	GScriptParserCOMMENT         = 64
	GScriptParserLINE_COMMENT    = 65
	GScriptParserIDENTIFIER      = 66
	GScriptParserSPACES          = 67
)

GScriptParser tokens.

View Source
const (
	GScriptParserRULE_classDeclaration     = 0
	GScriptParserRULE_classBody            = 1
	GScriptParserRULE_classBodyDeclaration = 2
	GScriptParserRULE_memberDeclaration    = 3
	GScriptParserRULE_functionDeclaration  = 4
	GScriptParserRULE_operatorOverloading  = 5
	GScriptParserRULE_functionBody         = 6
	GScriptParserRULE_typeTypeOrVoid       = 7
	GScriptParserRULE_qualifiedNameList    = 8
	GScriptParserRULE_formalParameters     = 9
	GScriptParserRULE_formalParameterList  = 10
	GScriptParserRULE_formalParameter      = 11
	GScriptParserRULE_lastFormalParameter  = 12
	GScriptParserRULE_variableModifier     = 13
	GScriptParserRULE_qualifiedName        = 14
	GScriptParserRULE_fieldDeclaration     = 15
	GScriptParserRULE_variableDeclarators  = 16
	GScriptParserRULE_variableDeclarator   = 17
	GScriptParserRULE_variableDeclaratorId = 18
	GScriptParserRULE_variableInitializer  = 19
	GScriptParserRULE_arrayInitializer     = 20
	GScriptParserRULE_classOrInterfaceType = 21
	GScriptParserRULE_literal              = 22
	GScriptParserRULE_string_              = 23
	GScriptParserRULE_prog                 = 24
	GScriptParserRULE_block                = 25
	GScriptParserRULE_blockStatements      = 26
	GScriptParserRULE_blockStatement       = 27
	GScriptParserRULE_statement            = 28
	GScriptParserRULE_forControl           = 29
	GScriptParserRULE_forInit              = 30
	GScriptParserRULE_parExpression        = 31
	GScriptParserRULE_expressionList       = 32
	GScriptParserRULE_functionCall         = 33
	GScriptParserRULE_expr                 = 34
	GScriptParserRULE_primary              = 35
	GScriptParserRULE_typeList             = 36
	GScriptParserRULE_typeType             = 37
	GScriptParserRULE_functionType         = 38
	GScriptParserRULE_primitiveType        = 39
	GScriptParserRULE_integerLiteral       = 40
	GScriptParserRULE_floatLiteral         = 41
	GScriptParserRULE_parse                = 42
)

GScriptParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayInitializerContext added in v0.0.4

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

func NewArrayInitializerContext added in v0.0.4

func NewArrayInitializerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayInitializerContext

func NewEmptyArrayInitializerContext added in v0.0.4

func NewEmptyArrayInitializerContext() *ArrayInitializerContext

func (*ArrayInitializerContext) Accept added in v0.0.4

func (s *ArrayInitializerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ArrayInitializerContext) AllExpr added in v0.0.11

func (s *ArrayInitializerContext) AllExpr() []IExprContext

func (*ArrayInitializerContext) AllVariableInitializer added in v0.0.4

func (s *ArrayInitializerContext) AllVariableInitializer() []IVariableInitializerContext

func (*ArrayInitializerContext) EnterRule added in v0.0.4

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

func (*ArrayInitializerContext) ExitRule added in v0.0.4

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

func (*ArrayInitializerContext) Expr added in v0.0.11

func (*ArrayInitializerContext) GetParser added in v0.0.4

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

func (*ArrayInitializerContext) GetRuleContext added in v0.0.4

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

func (*ArrayInitializerContext) IsArrayInitializerContext added in v0.0.4

func (*ArrayInitializerContext) IsArrayInitializerContext()

func (*ArrayInitializerContext) LBRACE added in v0.0.4

func (*ArrayInitializerContext) LBRACK added in v0.0.6

func (*ArrayInitializerContext) RBRACE added in v0.0.4

func (*ArrayInitializerContext) RBRACK added in v0.0.6

func (*ArrayInitializerContext) ToStringTree added in v0.0.4

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

func (*ArrayInitializerContext) VariableInitializer added in v0.0.4

func (s *ArrayInitializerContext) VariableInitializer(i int) IVariableInitializerContext

type BaseGScriptListener added in v0.0.4

type BaseGScriptListener struct{}

BaseGScriptListener is a complete listener for a parse tree produced by GScriptParser.

func (*BaseGScriptListener) EnterArrayInitializer added in v0.0.4

func (s *BaseGScriptListener) EnterArrayInitializer(ctx *ArrayInitializerContext)

EnterArrayInitializer is called when production arrayInitializer is entered.

func (*BaseGScriptListener) EnterBlock added in v0.0.4

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

EnterBlock is called when production block is entered.

func (*BaseGScriptListener) EnterBlockClassDeclar added in v0.0.6

func (s *BaseGScriptListener) EnterBlockClassDeclar(ctx *BlockClassDeclarContext)

EnterBlockClassDeclar is called when production BlockClassDeclar is entered.

func (*BaseGScriptListener) EnterBlockFunc added in v0.0.4

func (s *BaseGScriptListener) EnterBlockFunc(ctx *BlockFuncContext)

EnterBlockFunc is called when production BlockFunc is entered.

func (*BaseGScriptListener) EnterBlockStm added in v0.0.4

func (s *BaseGScriptListener) EnterBlockStm(ctx *BlockStmContext)

EnterBlockStm is called when production BlockStm is entered.

func (*BaseGScriptListener) EnterBlockStms added in v0.0.4

func (s *BaseGScriptListener) EnterBlockStms(ctx *BlockStmsContext)

EnterBlockStms is called when production BlockStms is entered.

func (*BaseGScriptListener) EnterBlockVarDeclar added in v0.0.4

func (s *BaseGScriptListener) EnterBlockVarDeclar(ctx *BlockVarDeclarContext)

EnterBlockVarDeclar is called when production BlockVarDeclar is entered.

func (*BaseGScriptListener) EnterClassBody added in v0.0.4

func (s *BaseGScriptListener) EnterClassBody(ctx *ClassBodyContext)

EnterClassBody is called when production classBody is entered.

func (*BaseGScriptListener) EnterClassBodyDeclaration added in v0.0.4

func (s *BaseGScriptListener) EnterClassBodyDeclaration(ctx *ClassBodyDeclarationContext)

EnterClassBodyDeclaration is called when production classBodyDeclaration is entered.

func (*BaseGScriptListener) EnterClassDeclaration added in v0.0.4

func (s *BaseGScriptListener) EnterClassDeclaration(ctx *ClassDeclarationContext)

EnterClassDeclaration is called when production classDeclaration is entered.

func (*BaseGScriptListener) EnterClassOrInterfaceType added in v0.0.4

func (s *BaseGScriptListener) EnterClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext)

EnterClassOrInterfaceType is called when production classOrInterfaceType is entered.

func (*BaseGScriptListener) EnterEveryRule added in v0.0.4

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

EnterEveryRule is called when any rule is entered.

func (*BaseGScriptListener) EnterExpr added in v0.0.4

func (s *BaseGScriptListener) EnterExpr(ctx *ExprContext)

EnterExpr is called when production expr is entered.

func (*BaseGScriptListener) EnterExpressionList added in v0.0.4

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

EnterExpressionList is called when production expressionList is entered.

func (*BaseGScriptListener) EnterFieldDeclaration added in v0.0.4

func (s *BaseGScriptListener) EnterFieldDeclaration(ctx *FieldDeclarationContext)

EnterFieldDeclaration is called when production fieldDeclaration is entered.

func (*BaseGScriptListener) EnterFloatLiteral added in v0.0.4

func (s *BaseGScriptListener) EnterFloatLiteral(ctx *FloatLiteralContext)

EnterFloatLiteral is called when production floatLiteral is entered.

func (*BaseGScriptListener) EnterForControl added in v0.0.4

func (s *BaseGScriptListener) EnterForControl(ctx *ForControlContext)

EnterForControl is called when production forControl is entered.

func (*BaseGScriptListener) EnterForInit added in v0.0.4

func (s *BaseGScriptListener) EnterForInit(ctx *ForInitContext)

EnterForInit is called when production forInit is entered.

func (*BaseGScriptListener) EnterFormalParameter added in v0.0.4

func (s *BaseGScriptListener) EnterFormalParameter(ctx *FormalParameterContext)

EnterFormalParameter is called when production formalParameter is entered.

func (*BaseGScriptListener) EnterFormalParameterList added in v0.0.4

func (s *BaseGScriptListener) EnterFormalParameterList(ctx *FormalParameterListContext)

EnterFormalParameterList is called when production formalParameterList is entered.

func (*BaseGScriptListener) EnterFormalParameters added in v0.0.4

func (s *BaseGScriptListener) EnterFormalParameters(ctx *FormalParametersContext)

EnterFormalParameters is called when production formalParameters is entered.

func (*BaseGScriptListener) EnterFunctionBody added in v0.0.4

func (s *BaseGScriptListener) EnterFunctionBody(ctx *FunctionBodyContext)

EnterFunctionBody is called when production functionBody is entered.

func (*BaseGScriptListener) EnterFunctionCall added in v0.0.4

func (s *BaseGScriptListener) EnterFunctionCall(ctx *FunctionCallContext)

EnterFunctionCall is called when production functionCall is entered.

func (*BaseGScriptListener) EnterFunctionDeclaration added in v0.0.4

func (s *BaseGScriptListener) EnterFunctionDeclaration(ctx *FunctionDeclarationContext)

EnterFunctionDeclaration is called when production functionDeclaration is entered.

func (*BaseGScriptListener) EnterFunctionType added in v0.0.4

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

EnterFunctionType is called when production functionType is entered.

func (*BaseGScriptListener) EnterIntegerLiteral added in v0.0.4

func (s *BaseGScriptListener) EnterIntegerLiteral(ctx *IntegerLiteralContext)

EnterIntegerLiteral is called when production integerLiteral is entered.

func (*BaseGScriptListener) EnterLastFormalParameter added in v0.0.4

func (s *BaseGScriptListener) EnterLastFormalParameter(ctx *LastFormalParameterContext)

EnterLastFormalParameter is called when production lastFormalParameter is entered.

func (*BaseGScriptListener) EnterLiteral added in v0.0.4

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

EnterLiteral is called when production literal is entered.

func (*BaseGScriptListener) EnterMemberDeclaration added in v0.0.4

func (s *BaseGScriptListener) EnterMemberDeclaration(ctx *MemberDeclarationContext)

EnterMemberDeclaration is called when production memberDeclaration is entered.

func (*BaseGScriptListener) EnterOperatorOverloading added in v0.0.7

func (s *BaseGScriptListener) EnterOperatorOverloading(ctx *OperatorOverloadingContext)

EnterOperatorOverloading is called when production operatorOverloading is entered.

func (*BaseGScriptListener) EnterParExpression added in v0.0.4

func (s *BaseGScriptListener) EnterParExpression(ctx *ParExpressionContext)

EnterParExpression is called when production parExpression is entered.

func (*BaseGScriptListener) EnterParse added in v0.0.4

func (s *BaseGScriptListener) EnterParse(ctx *ParseContext)

EnterParse is called when production parse is entered.

func (*BaseGScriptListener) EnterPrimary added in v0.0.4

func (s *BaseGScriptListener) EnterPrimary(ctx *PrimaryContext)

EnterPrimary is called when production primary is entered.

func (*BaseGScriptListener) EnterPrimitiveType added in v0.0.4

func (s *BaseGScriptListener) EnterPrimitiveType(ctx *PrimitiveTypeContext)

EnterPrimitiveType is called when production primitiveType is entered.

func (*BaseGScriptListener) EnterProg added in v0.0.4

func (s *BaseGScriptListener) EnterProg(ctx *ProgContext)

EnterProg is called when production prog is entered.

func (*BaseGScriptListener) EnterQualifiedName added in v0.0.4

func (s *BaseGScriptListener) EnterQualifiedName(ctx *QualifiedNameContext)

EnterQualifiedName is called when production qualifiedName is entered.

func (*BaseGScriptListener) EnterQualifiedNameList added in v0.0.4

func (s *BaseGScriptListener) EnterQualifiedNameList(ctx *QualifiedNameListContext)

EnterQualifiedNameList is called when production qualifiedNameList is entered.

func (*BaseGScriptListener) EnterStmBlockLabel added in v0.0.4

func (s *BaseGScriptListener) EnterStmBlockLabel(ctx *StmBlockLabelContext)

EnterStmBlockLabel is called when production StmBlockLabel is entered.

func (*BaseGScriptListener) EnterStmBreak added in v0.0.6

func (s *BaseGScriptListener) EnterStmBreak(ctx *StmBreakContext)

EnterStmBreak is called when production StmBreak is entered.

func (*BaseGScriptListener) EnterStmContinue added in v0.0.6

func (s *BaseGScriptListener) EnterStmContinue(ctx *StmContinueContext)

EnterStmContinue is called when production StmContinue is entered.

func (*BaseGScriptListener) EnterStmExpr added in v0.0.4

func (s *BaseGScriptListener) EnterStmExpr(ctx *StmExprContext)

EnterStmExpr is called when production StmExpr is entered.

func (*BaseGScriptListener) EnterStmFor added in v0.0.4

func (s *BaseGScriptListener) EnterStmFor(ctx *StmForContext)

EnterStmFor is called when production StmFor is entered.

func (*BaseGScriptListener) EnterStmIfElse added in v0.0.4

func (s *BaseGScriptListener) EnterStmIfElse(ctx *StmIfElseContext)

EnterStmIfElse is called when production StmIfElse is entered.

func (*BaseGScriptListener) EnterStmReturn added in v0.0.4

func (s *BaseGScriptListener) EnterStmReturn(ctx *StmReturnContext)

EnterStmReturn is called when production StmReturn is entered.

func (*BaseGScriptListener) EnterStmWhile added in v0.0.6

func (s *BaseGScriptListener) EnterStmWhile(ctx *StmWhileContext)

EnterStmWhile is called when production StmWhile is entered.

func (*BaseGScriptListener) EnterString_ added in v0.0.8

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

EnterString_ is called when production string_ is entered.

func (*BaseGScriptListener) EnterTypeList added in v0.0.4

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

EnterTypeList is called when production typeList is entered.

func (*BaseGScriptListener) EnterTypeType added in v0.0.4

func (s *BaseGScriptListener) EnterTypeType(ctx *TypeTypeContext)

EnterTypeType is called when production typeType is entered.

func (*BaseGScriptListener) EnterTypeTypeOrVoid added in v0.0.4

func (s *BaseGScriptListener) EnterTypeTypeOrVoid(ctx *TypeTypeOrVoidContext)

EnterTypeTypeOrVoid is called when production typeTypeOrVoid is entered.

func (*BaseGScriptListener) EnterVariableDeclarator added in v0.0.4

func (s *BaseGScriptListener) EnterVariableDeclarator(ctx *VariableDeclaratorContext)

EnterVariableDeclarator is called when production variableDeclarator is entered.

func (*BaseGScriptListener) EnterVariableDeclaratorId added in v0.0.4

func (s *BaseGScriptListener) EnterVariableDeclaratorId(ctx *VariableDeclaratorIdContext)

EnterVariableDeclaratorId is called when production variableDeclaratorId is entered.

func (*BaseGScriptListener) EnterVariableDeclarators added in v0.0.4

func (s *BaseGScriptListener) EnterVariableDeclarators(ctx *VariableDeclaratorsContext)

EnterVariableDeclarators is called when production variableDeclarators is entered.

func (*BaseGScriptListener) EnterVariableInitializer added in v0.0.4

func (s *BaseGScriptListener) EnterVariableInitializer(ctx *VariableInitializerContext)

EnterVariableInitializer is called when production variableInitializer is entered.

func (*BaseGScriptListener) EnterVariableModifier added in v0.0.4

func (s *BaseGScriptListener) EnterVariableModifier(ctx *VariableModifierContext)

EnterVariableModifier is called when production variableModifier is entered.

func (*BaseGScriptListener) ExitArrayInitializer added in v0.0.4

func (s *BaseGScriptListener) ExitArrayInitializer(ctx *ArrayInitializerContext)

ExitArrayInitializer is called when production arrayInitializer is exited.

func (*BaseGScriptListener) ExitBlock added in v0.0.4

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

ExitBlock is called when production block is exited.

func (*BaseGScriptListener) ExitBlockClassDeclar added in v0.0.6

func (s *BaseGScriptListener) ExitBlockClassDeclar(ctx *BlockClassDeclarContext)

ExitBlockClassDeclar is called when production BlockClassDeclar is exited.

func (*BaseGScriptListener) ExitBlockFunc added in v0.0.4

func (s *BaseGScriptListener) ExitBlockFunc(ctx *BlockFuncContext)

ExitBlockFunc is called when production BlockFunc is exited.

func (*BaseGScriptListener) ExitBlockStm added in v0.0.4

func (s *BaseGScriptListener) ExitBlockStm(ctx *BlockStmContext)

ExitBlockStm is called when production BlockStm is exited.

func (*BaseGScriptListener) ExitBlockStms added in v0.0.4

func (s *BaseGScriptListener) ExitBlockStms(ctx *BlockStmsContext)

ExitBlockStms is called when production BlockStms is exited.

func (*BaseGScriptListener) ExitBlockVarDeclar added in v0.0.4

func (s *BaseGScriptListener) ExitBlockVarDeclar(ctx *BlockVarDeclarContext)

ExitBlockVarDeclar is called when production BlockVarDeclar is exited.

func (*BaseGScriptListener) ExitClassBody added in v0.0.4

func (s *BaseGScriptListener) ExitClassBody(ctx *ClassBodyContext)

ExitClassBody is called when production classBody is exited.

func (*BaseGScriptListener) ExitClassBodyDeclaration added in v0.0.4

func (s *BaseGScriptListener) ExitClassBodyDeclaration(ctx *ClassBodyDeclarationContext)

ExitClassBodyDeclaration is called when production classBodyDeclaration is exited.

func (*BaseGScriptListener) ExitClassDeclaration added in v0.0.4

func (s *BaseGScriptListener) ExitClassDeclaration(ctx *ClassDeclarationContext)

ExitClassDeclaration is called when production classDeclaration is exited.

func (*BaseGScriptListener) ExitClassOrInterfaceType added in v0.0.4

func (s *BaseGScriptListener) ExitClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext)

ExitClassOrInterfaceType is called when production classOrInterfaceType is exited.

func (*BaseGScriptListener) ExitEveryRule added in v0.0.4

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

ExitEveryRule is called when any rule is exited.

func (*BaseGScriptListener) ExitExpr added in v0.0.4

func (s *BaseGScriptListener) ExitExpr(ctx *ExprContext)

ExitExpr is called when production expr is exited.

func (*BaseGScriptListener) ExitExpressionList added in v0.0.4

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

ExitExpressionList is called when production expressionList is exited.

func (*BaseGScriptListener) ExitFieldDeclaration added in v0.0.4

func (s *BaseGScriptListener) ExitFieldDeclaration(ctx *FieldDeclarationContext)

ExitFieldDeclaration is called when production fieldDeclaration is exited.

func (*BaseGScriptListener) ExitFloatLiteral added in v0.0.4

func (s *BaseGScriptListener) ExitFloatLiteral(ctx *FloatLiteralContext)

ExitFloatLiteral is called when production floatLiteral is exited.

func (*BaseGScriptListener) ExitForControl added in v0.0.4

func (s *BaseGScriptListener) ExitForControl(ctx *ForControlContext)

ExitForControl is called when production forControl is exited.

func (*BaseGScriptListener) ExitForInit added in v0.0.4

func (s *BaseGScriptListener) ExitForInit(ctx *ForInitContext)

ExitForInit is called when production forInit is exited.

func (*BaseGScriptListener) ExitFormalParameter added in v0.0.4

func (s *BaseGScriptListener) ExitFormalParameter(ctx *FormalParameterContext)

ExitFormalParameter is called when production formalParameter is exited.

func (*BaseGScriptListener) ExitFormalParameterList added in v0.0.4

func (s *BaseGScriptListener) ExitFormalParameterList(ctx *FormalParameterListContext)

ExitFormalParameterList is called when production formalParameterList is exited.

func (*BaseGScriptListener) ExitFormalParameters added in v0.0.4

func (s *BaseGScriptListener) ExitFormalParameters(ctx *FormalParametersContext)

ExitFormalParameters is called when production formalParameters is exited.

func (*BaseGScriptListener) ExitFunctionBody added in v0.0.4

func (s *BaseGScriptListener) ExitFunctionBody(ctx *FunctionBodyContext)

ExitFunctionBody is called when production functionBody is exited.

func (*BaseGScriptListener) ExitFunctionCall added in v0.0.4

func (s *BaseGScriptListener) ExitFunctionCall(ctx *FunctionCallContext)

ExitFunctionCall is called when production functionCall is exited.

func (*BaseGScriptListener) ExitFunctionDeclaration added in v0.0.4

func (s *BaseGScriptListener) ExitFunctionDeclaration(ctx *FunctionDeclarationContext)

ExitFunctionDeclaration is called when production functionDeclaration is exited.

func (*BaseGScriptListener) ExitFunctionType added in v0.0.4

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

ExitFunctionType is called when production functionType is exited.

func (*BaseGScriptListener) ExitIntegerLiteral added in v0.0.4

func (s *BaseGScriptListener) ExitIntegerLiteral(ctx *IntegerLiteralContext)

ExitIntegerLiteral is called when production integerLiteral is exited.

func (*BaseGScriptListener) ExitLastFormalParameter added in v0.0.4

func (s *BaseGScriptListener) ExitLastFormalParameter(ctx *LastFormalParameterContext)

ExitLastFormalParameter is called when production lastFormalParameter is exited.

func (*BaseGScriptListener) ExitLiteral added in v0.0.4

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

ExitLiteral is called when production literal is exited.

func (*BaseGScriptListener) ExitMemberDeclaration added in v0.0.4

func (s *BaseGScriptListener) ExitMemberDeclaration(ctx *MemberDeclarationContext)

ExitMemberDeclaration is called when production memberDeclaration is exited.

func (*BaseGScriptListener) ExitOperatorOverloading added in v0.0.7

func (s *BaseGScriptListener) ExitOperatorOverloading(ctx *OperatorOverloadingContext)

ExitOperatorOverloading is called when production operatorOverloading is exited.

func (*BaseGScriptListener) ExitParExpression added in v0.0.4

func (s *BaseGScriptListener) ExitParExpression(ctx *ParExpressionContext)

ExitParExpression is called when production parExpression is exited.

func (*BaseGScriptListener) ExitParse added in v0.0.4

func (s *BaseGScriptListener) ExitParse(ctx *ParseContext)

ExitParse is called when production parse is exited.

func (*BaseGScriptListener) ExitPrimary added in v0.0.4

func (s *BaseGScriptListener) ExitPrimary(ctx *PrimaryContext)

ExitPrimary is called when production primary is exited.

func (*BaseGScriptListener) ExitPrimitiveType added in v0.0.4

func (s *BaseGScriptListener) ExitPrimitiveType(ctx *PrimitiveTypeContext)

ExitPrimitiveType is called when production primitiveType is exited.

func (*BaseGScriptListener) ExitProg added in v0.0.4

func (s *BaseGScriptListener) ExitProg(ctx *ProgContext)

ExitProg is called when production prog is exited.

func (*BaseGScriptListener) ExitQualifiedName added in v0.0.4

func (s *BaseGScriptListener) ExitQualifiedName(ctx *QualifiedNameContext)

ExitQualifiedName is called when production qualifiedName is exited.

func (*BaseGScriptListener) ExitQualifiedNameList added in v0.0.4

func (s *BaseGScriptListener) ExitQualifiedNameList(ctx *QualifiedNameListContext)

ExitQualifiedNameList is called when production qualifiedNameList is exited.

func (*BaseGScriptListener) ExitStmBlockLabel added in v0.0.4

func (s *BaseGScriptListener) ExitStmBlockLabel(ctx *StmBlockLabelContext)

ExitStmBlockLabel is called when production StmBlockLabel is exited.

func (*BaseGScriptListener) ExitStmBreak added in v0.0.6

func (s *BaseGScriptListener) ExitStmBreak(ctx *StmBreakContext)

ExitStmBreak is called when production StmBreak is exited.

func (*BaseGScriptListener) ExitStmContinue added in v0.0.6

func (s *BaseGScriptListener) ExitStmContinue(ctx *StmContinueContext)

ExitStmContinue is called when production StmContinue is exited.

func (*BaseGScriptListener) ExitStmExpr added in v0.0.4

func (s *BaseGScriptListener) ExitStmExpr(ctx *StmExprContext)

ExitStmExpr is called when production StmExpr is exited.

func (*BaseGScriptListener) ExitStmFor added in v0.0.4

func (s *BaseGScriptListener) ExitStmFor(ctx *StmForContext)

ExitStmFor is called when production StmFor is exited.

func (*BaseGScriptListener) ExitStmIfElse added in v0.0.4

func (s *BaseGScriptListener) ExitStmIfElse(ctx *StmIfElseContext)

ExitStmIfElse is called when production StmIfElse is exited.

func (*BaseGScriptListener) ExitStmReturn added in v0.0.4

func (s *BaseGScriptListener) ExitStmReturn(ctx *StmReturnContext)

ExitStmReturn is called when production StmReturn is exited.

func (*BaseGScriptListener) ExitStmWhile added in v0.0.6

func (s *BaseGScriptListener) ExitStmWhile(ctx *StmWhileContext)

ExitStmWhile is called when production StmWhile is exited.

func (*BaseGScriptListener) ExitString_ added in v0.0.8

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

ExitString_ is called when production string_ is exited.

func (*BaseGScriptListener) ExitTypeList added in v0.0.4

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

ExitTypeList is called when production typeList is exited.

func (*BaseGScriptListener) ExitTypeType added in v0.0.4

func (s *BaseGScriptListener) ExitTypeType(ctx *TypeTypeContext)

ExitTypeType is called when production typeType is exited.

func (*BaseGScriptListener) ExitTypeTypeOrVoid added in v0.0.4

func (s *BaseGScriptListener) ExitTypeTypeOrVoid(ctx *TypeTypeOrVoidContext)

ExitTypeTypeOrVoid is called when production typeTypeOrVoid is exited.

func (*BaseGScriptListener) ExitVariableDeclarator added in v0.0.4

func (s *BaseGScriptListener) ExitVariableDeclarator(ctx *VariableDeclaratorContext)

ExitVariableDeclarator is called when production variableDeclarator is exited.

func (*BaseGScriptListener) ExitVariableDeclaratorId added in v0.0.4

func (s *BaseGScriptListener) ExitVariableDeclaratorId(ctx *VariableDeclaratorIdContext)

ExitVariableDeclaratorId is called when production variableDeclaratorId is exited.

func (*BaseGScriptListener) ExitVariableDeclarators added in v0.0.4

func (s *BaseGScriptListener) ExitVariableDeclarators(ctx *VariableDeclaratorsContext)

ExitVariableDeclarators is called when production variableDeclarators is exited.

func (*BaseGScriptListener) ExitVariableInitializer added in v0.0.4

func (s *BaseGScriptListener) ExitVariableInitializer(ctx *VariableInitializerContext)

ExitVariableInitializer is called when production variableInitializer is exited.

func (*BaseGScriptListener) ExitVariableModifier added in v0.0.4

func (s *BaseGScriptListener) ExitVariableModifier(ctx *VariableModifierContext)

ExitVariableModifier is called when production variableModifier is exited.

func (*BaseGScriptListener) VisitErrorNode added in v0.0.4

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

VisitErrorNode is called when an error node is visited.

func (*BaseGScriptListener) VisitTerminal added in v0.0.4

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

VisitTerminal is called when a terminal node is visited.

type BaseGScriptVisitor

type BaseGScriptVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseGScriptVisitor) VisitArrayInitializer added in v0.0.4

func (v *BaseGScriptVisitor) VisitArrayInitializer(ctx *ArrayInitializerContext) interface{}

func (*BaseGScriptVisitor) VisitBlock

func (v *BaseGScriptVisitor) VisitBlock(ctx *BlockContext) interface{}

func (*BaseGScriptVisitor) VisitBlockClassDeclar added in v0.0.6

func (v *BaseGScriptVisitor) VisitBlockClassDeclar(ctx *BlockClassDeclarContext) interface{}

func (*BaseGScriptVisitor) VisitBlockFunc added in v0.0.4

func (v *BaseGScriptVisitor) VisitBlockFunc(ctx *BlockFuncContext) interface{}

func (*BaseGScriptVisitor) VisitBlockStm

func (v *BaseGScriptVisitor) VisitBlockStm(ctx *BlockStmContext) interface{}

func (*BaseGScriptVisitor) VisitBlockStms

func (v *BaseGScriptVisitor) VisitBlockStms(ctx *BlockStmsContext) interface{}

func (*BaseGScriptVisitor) VisitBlockVarDeclar

func (v *BaseGScriptVisitor) VisitBlockVarDeclar(ctx *BlockVarDeclarContext) interface{}

func (*BaseGScriptVisitor) VisitClassBody added in v0.0.4

func (v *BaseGScriptVisitor) VisitClassBody(ctx *ClassBodyContext) interface{}

func (*BaseGScriptVisitor) VisitClassBodyDeclaration added in v0.0.4

func (v *BaseGScriptVisitor) VisitClassBodyDeclaration(ctx *ClassBodyDeclarationContext) interface{}

func (*BaseGScriptVisitor) VisitClassDeclaration added in v0.0.4

func (v *BaseGScriptVisitor) VisitClassDeclaration(ctx *ClassDeclarationContext) interface{}

func (*BaseGScriptVisitor) VisitClassOrInterfaceType

func (v *BaseGScriptVisitor) VisitClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext) interface{}

func (*BaseGScriptVisitor) VisitExpr added in v0.0.4

func (v *BaseGScriptVisitor) VisitExpr(ctx *ExprContext) interface{}

func (*BaseGScriptVisitor) VisitExpressionList

func (v *BaseGScriptVisitor) VisitExpressionList(ctx *ExpressionListContext) interface{}

func (*BaseGScriptVisitor) VisitFieldDeclaration added in v0.0.4

func (v *BaseGScriptVisitor) VisitFieldDeclaration(ctx *FieldDeclarationContext) interface{}

func (*BaseGScriptVisitor) VisitFloatLiteral

func (v *BaseGScriptVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}

func (*BaseGScriptVisitor) VisitForControl

func (v *BaseGScriptVisitor) VisitForControl(ctx *ForControlContext) interface{}

func (*BaseGScriptVisitor) VisitForInit

func (v *BaseGScriptVisitor) VisitForInit(ctx *ForInitContext) interface{}

func (*BaseGScriptVisitor) VisitFormalParameter added in v0.0.4

func (v *BaseGScriptVisitor) VisitFormalParameter(ctx *FormalParameterContext) interface{}

func (*BaseGScriptVisitor) VisitFormalParameterList added in v0.0.4

func (v *BaseGScriptVisitor) VisitFormalParameterList(ctx *FormalParameterListContext) interface{}

func (*BaseGScriptVisitor) VisitFormalParameters added in v0.0.4

func (v *BaseGScriptVisitor) VisitFormalParameters(ctx *FormalParametersContext) interface{}

func (*BaseGScriptVisitor) VisitFunctionBody added in v0.0.4

func (v *BaseGScriptVisitor) VisitFunctionBody(ctx *FunctionBodyContext) interface{}

func (*BaseGScriptVisitor) VisitFunctionCall added in v0.0.4

func (v *BaseGScriptVisitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}

func (*BaseGScriptVisitor) VisitFunctionDeclaration added in v0.0.4

func (v *BaseGScriptVisitor) VisitFunctionDeclaration(ctx *FunctionDeclarationContext) interface{}

func (*BaseGScriptVisitor) VisitFunctionType

func (v *BaseGScriptVisitor) VisitFunctionType(ctx *FunctionTypeContext) interface{}

func (*BaseGScriptVisitor) VisitIntegerLiteral

func (v *BaseGScriptVisitor) VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}

func (*BaseGScriptVisitor) VisitLastFormalParameter added in v0.0.4

func (v *BaseGScriptVisitor) VisitLastFormalParameter(ctx *LastFormalParameterContext) interface{}

func (*BaseGScriptVisitor) VisitLiteral added in v0.0.4

func (v *BaseGScriptVisitor) VisitLiteral(ctx *LiteralContext) interface{}

func (*BaseGScriptVisitor) VisitMemberDeclaration added in v0.0.4

func (v *BaseGScriptVisitor) VisitMemberDeclaration(ctx *MemberDeclarationContext) interface{}

func (*BaseGScriptVisitor) VisitOperatorOverloading added in v0.0.7

func (v *BaseGScriptVisitor) VisitOperatorOverloading(ctx *OperatorOverloadingContext) interface{}

func (*BaseGScriptVisitor) VisitParExpression

func (v *BaseGScriptVisitor) VisitParExpression(ctx *ParExpressionContext) interface{}

func (*BaseGScriptVisitor) VisitParse

func (v *BaseGScriptVisitor) VisitParse(ctx *ParseContext) interface{}

func (*BaseGScriptVisitor) VisitPrimary added in v0.0.4

func (v *BaseGScriptVisitor) VisitPrimary(ctx *PrimaryContext) interface{}

func (*BaseGScriptVisitor) VisitPrimitiveType

func (v *BaseGScriptVisitor) VisitPrimitiveType(ctx *PrimitiveTypeContext) interface{}

func (*BaseGScriptVisitor) VisitProg

func (v *BaseGScriptVisitor) VisitProg(ctx *ProgContext) interface{}

func (*BaseGScriptVisitor) VisitQualifiedName added in v0.0.4

func (v *BaseGScriptVisitor) VisitQualifiedName(ctx *QualifiedNameContext) interface{}

func (*BaseGScriptVisitor) VisitQualifiedNameList added in v0.0.4

func (v *BaseGScriptVisitor) VisitQualifiedNameList(ctx *QualifiedNameListContext) interface{}

func (*BaseGScriptVisitor) VisitStmBlockLabel added in v0.0.4

func (v *BaseGScriptVisitor) VisitStmBlockLabel(ctx *StmBlockLabelContext) interface{}

func (*BaseGScriptVisitor) VisitStmBreak added in v0.0.6

func (v *BaseGScriptVisitor) VisitStmBreak(ctx *StmBreakContext) interface{}

func (*BaseGScriptVisitor) VisitStmContinue added in v0.0.6

func (v *BaseGScriptVisitor) VisitStmContinue(ctx *StmContinueContext) interface{}

func (*BaseGScriptVisitor) VisitStmExpr

func (v *BaseGScriptVisitor) VisitStmExpr(ctx *StmExprContext) interface{}

func (*BaseGScriptVisitor) VisitStmFor added in v0.0.4

func (v *BaseGScriptVisitor) VisitStmFor(ctx *StmForContext) interface{}

func (*BaseGScriptVisitor) VisitStmIfElse added in v0.0.4

func (v *BaseGScriptVisitor) VisitStmIfElse(ctx *StmIfElseContext) interface{}

func (*BaseGScriptVisitor) VisitStmReturn added in v0.0.4

func (v *BaseGScriptVisitor) VisitStmReturn(ctx *StmReturnContext) interface{}

func (*BaseGScriptVisitor) VisitStmWhile added in v0.0.6

func (v *BaseGScriptVisitor) VisitStmWhile(ctx *StmWhileContext) interface{}

func (*BaseGScriptVisitor) VisitString_ added in v0.0.8

func (v *BaseGScriptVisitor) VisitString_(ctx *String_Context) interface{}

func (*BaseGScriptVisitor) VisitTypeList

func (v *BaseGScriptVisitor) VisitTypeList(ctx *TypeListContext) interface{}

func (*BaseGScriptVisitor) VisitTypeType

func (v *BaseGScriptVisitor) VisitTypeType(ctx *TypeTypeContext) interface{}

func (*BaseGScriptVisitor) VisitTypeTypeOrVoid

func (v *BaseGScriptVisitor) VisitTypeTypeOrVoid(ctx *TypeTypeOrVoidContext) interface{}

func (*BaseGScriptVisitor) VisitVariableDeclarator

func (v *BaseGScriptVisitor) VisitVariableDeclarator(ctx *VariableDeclaratorContext) interface{}

func (*BaseGScriptVisitor) VisitVariableDeclaratorId

func (v *BaseGScriptVisitor) VisitVariableDeclaratorId(ctx *VariableDeclaratorIdContext) interface{}

func (*BaseGScriptVisitor) VisitVariableDeclarators

func (v *BaseGScriptVisitor) VisitVariableDeclarators(ctx *VariableDeclaratorsContext) interface{}

func (*BaseGScriptVisitor) VisitVariableInitializer

func (v *BaseGScriptVisitor) VisitVariableInitializer(ctx *VariableInitializerContext) interface{}

func (*BaseGScriptVisitor) VisitVariableModifier added in v0.0.4

func (v *BaseGScriptVisitor) VisitVariableModifier(ctx *VariableModifierContext) interface{}

type BlockClassDeclarContext added in v0.0.6

type BlockClassDeclarContext struct {
	*BlockStatementContext
}

func NewBlockClassDeclarContext added in v0.0.6

func NewBlockClassDeclarContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockClassDeclarContext

func (*BlockClassDeclarContext) Accept added in v0.0.6

func (s *BlockClassDeclarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockClassDeclarContext) ClassDeclaration added in v0.0.6

func (s *BlockClassDeclarContext) ClassDeclaration() IClassDeclarationContext

func (*BlockClassDeclarContext) EnterRule added in v0.0.6

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

func (*BlockClassDeclarContext) ExitRule added in v0.0.6

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

func (*BlockClassDeclarContext) GetRuleContext added in v0.0.6

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

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

func (s *BlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockContext) BlockStatements

func (s *BlockContext) BlockStatements() IBlockStatementsContext

func (*BlockContext) EnterRule added in v0.0.4

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

func (*BlockContext) ExitRule added in v0.0.4

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) LBRACE added in v0.0.4

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

func (*BlockContext) RBRACE added in v0.0.4

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

func (*BlockContext) ToStringTree

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

type BlockFuncContext added in v0.0.4

type BlockFuncContext struct {
	*BlockStatementContext
}

func NewBlockFuncContext added in v0.0.4

func NewBlockFuncContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockFuncContext

func (*BlockFuncContext) Accept added in v0.0.4

func (s *BlockFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockFuncContext) EnterRule added in v0.0.4

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

func (*BlockFuncContext) ExitRule added in v0.0.4

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

func (*BlockFuncContext) FunctionDeclaration added in v0.0.4

func (s *BlockFuncContext) FunctionDeclaration() IFunctionDeclarationContext

func (*BlockFuncContext) GetRuleContext added in v0.0.4

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

type BlockStatementContext

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

func NewBlockStatementContext

func NewBlockStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockStatementContext

func NewEmptyBlockStatementContext

func NewEmptyBlockStatementContext() *BlockStatementContext

func (*BlockStatementContext) CopyFrom

func (s *BlockStatementContext) CopyFrom(ctx *BlockStatementContext)

func (*BlockStatementContext) GetParser

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

func (*BlockStatementContext) GetRuleContext

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

func (*BlockStatementContext) IsBlockStatementContext

func (*BlockStatementContext) IsBlockStatementContext()

func (*BlockStatementContext) ToStringTree

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

type BlockStatementsContext

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

func NewBlockStatementsContext

func NewBlockStatementsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockStatementsContext

func NewEmptyBlockStatementsContext

func NewEmptyBlockStatementsContext() *BlockStatementsContext

func (*BlockStatementsContext) CopyFrom

func (*BlockStatementsContext) GetParser

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

func (*BlockStatementsContext) GetRuleContext

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

func (*BlockStatementsContext) IsBlockStatementsContext

func (*BlockStatementsContext) IsBlockStatementsContext()

func (*BlockStatementsContext) ToStringTree

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

type BlockStmContext

type BlockStmContext struct {
	*BlockStatementContext
}

func NewBlockStmContext

func NewBlockStmContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockStmContext

func (*BlockStmContext) Accept

func (s *BlockStmContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockStmContext) EnterRule added in v0.0.4

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

func (*BlockStmContext) ExitRule added in v0.0.4

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

func (*BlockStmContext) GetRuleContext

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

func (*BlockStmContext) Statement

func (s *BlockStmContext) Statement() IStatementContext

type BlockStmsContext

type BlockStmsContext struct {
	*BlockStatementsContext
}

func NewBlockStmsContext

func NewBlockStmsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockStmsContext

func (*BlockStmsContext) Accept

func (s *BlockStmsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockStmsContext) AllBlockStatement

func (s *BlockStmsContext) AllBlockStatement() []IBlockStatementContext

func (*BlockStmsContext) BlockStatement

func (s *BlockStmsContext) BlockStatement(i int) IBlockStatementContext

func (*BlockStmsContext) EnterRule added in v0.0.4

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

func (*BlockStmsContext) ExitRule added in v0.0.4

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

func (*BlockStmsContext) GetRuleContext

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

type BlockVarDeclarContext

type BlockVarDeclarContext struct {
	*BlockStatementContext
}

func NewBlockVarDeclarContext

func NewBlockVarDeclarContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BlockVarDeclarContext

func (*BlockVarDeclarContext) Accept

func (s *BlockVarDeclarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*BlockVarDeclarContext) EnterRule added in v0.0.4

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

func (*BlockVarDeclarContext) ExitRule added in v0.0.4

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

func (*BlockVarDeclarContext) GetRuleContext

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

func (*BlockVarDeclarContext) VariableDeclarators

func (s *BlockVarDeclarContext) VariableDeclarators() IVariableDeclaratorsContext

type ClassBodyContext added in v0.0.4

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

func NewClassBodyContext added in v0.0.4

func NewClassBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassBodyContext

func NewEmptyClassBodyContext added in v0.0.4

func NewEmptyClassBodyContext() *ClassBodyContext

func (*ClassBodyContext) Accept added in v0.0.4

func (s *ClassBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ClassBodyContext) AllClassBodyDeclaration added in v0.0.4

func (s *ClassBodyContext) AllClassBodyDeclaration() []IClassBodyDeclarationContext

func (*ClassBodyContext) ClassBodyDeclaration added in v0.0.4

func (s *ClassBodyContext) ClassBodyDeclaration(i int) IClassBodyDeclarationContext

func (*ClassBodyContext) EnterRule added in v0.0.4

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

func (*ClassBodyContext) ExitRule added in v0.0.4

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

func (*ClassBodyContext) GetParser added in v0.0.4

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

func (*ClassBodyContext) GetRuleContext added in v0.0.4

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

func (*ClassBodyContext) IsClassBodyContext added in v0.0.4

func (*ClassBodyContext) IsClassBodyContext()

func (*ClassBodyContext) LBRACE added in v0.0.4

func (s *ClassBodyContext) LBRACE() antlr.TerminalNode

func (*ClassBodyContext) RBRACE added in v0.0.4

func (s *ClassBodyContext) RBRACE() antlr.TerminalNode

func (*ClassBodyContext) ToStringTree added in v0.0.4

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

type ClassBodyDeclarationContext added in v0.0.4

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

func NewClassBodyDeclarationContext added in v0.0.4

func NewClassBodyDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassBodyDeclarationContext

func NewEmptyClassBodyDeclarationContext added in v0.0.4

func NewEmptyClassBodyDeclarationContext() *ClassBodyDeclarationContext

func (*ClassBodyDeclarationContext) Accept added in v0.0.4

func (s *ClassBodyDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ClassBodyDeclarationContext) EnterRule added in v0.0.4

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

func (*ClassBodyDeclarationContext) ExitRule added in v0.0.4

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

func (*ClassBodyDeclarationContext) GetParser added in v0.0.4

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

func (*ClassBodyDeclarationContext) GetRuleContext added in v0.0.4

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

func (*ClassBodyDeclarationContext) IsClassBodyDeclarationContext added in v0.0.4

func (*ClassBodyDeclarationContext) IsClassBodyDeclarationContext()

func (*ClassBodyDeclarationContext) MemberDeclaration added in v0.0.4

func (*ClassBodyDeclarationContext) ToStringTree added in v0.0.4

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

type ClassDeclarationContext added in v0.0.4

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

func NewClassDeclarationContext added in v0.0.4

func NewClassDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassDeclarationContext

func NewEmptyClassDeclarationContext added in v0.0.4

func NewEmptyClassDeclarationContext() *ClassDeclarationContext

func (*ClassDeclarationContext) Accept added in v0.0.4

func (s *ClassDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ClassDeclarationContext) CLASS added in v0.0.4

func (*ClassDeclarationContext) ClassBody added in v0.0.4

func (*ClassDeclarationContext) EXTENDS added in v0.0.6

func (*ClassDeclarationContext) EnterRule added in v0.0.4

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

func (*ClassDeclarationContext) ExitRule added in v0.0.4

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

func (*ClassDeclarationContext) GetParser added in v0.0.4

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

func (*ClassDeclarationContext) GetRuleContext added in v0.0.4

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

func (*ClassDeclarationContext) IDENTIFIER added in v0.0.4

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

func (*ClassDeclarationContext) IMPLEMENTS added in v0.0.4

func (s *ClassDeclarationContext) IMPLEMENTS() antlr.TerminalNode

func (*ClassDeclarationContext) IsClassDeclarationContext added in v0.0.4

func (*ClassDeclarationContext) IsClassDeclarationContext()

func (*ClassDeclarationContext) ToStringTree added in v0.0.4

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

func (*ClassDeclarationContext) TypeList added in v0.0.4

func (*ClassDeclarationContext) TypeType added in v0.0.6

type ClassOrInterfaceTypeContext

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

func NewClassOrInterfaceTypeContext

func NewClassOrInterfaceTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassOrInterfaceTypeContext

func NewEmptyClassOrInterfaceTypeContext

func NewEmptyClassOrInterfaceTypeContext() *ClassOrInterfaceTypeContext

func (*ClassOrInterfaceTypeContext) Accept

func (s *ClassOrInterfaceTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ClassOrInterfaceTypeContext) AllDOT added in v0.0.6

func (*ClassOrInterfaceTypeContext) AllIDENTIFIER

func (s *ClassOrInterfaceTypeContext) AllIDENTIFIER() []antlr.TerminalNode

func (*ClassOrInterfaceTypeContext) DOT added in v0.0.6

func (*ClassOrInterfaceTypeContext) EnterRule added in v0.0.4

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

func (*ClassOrInterfaceTypeContext) ExitRule added in v0.0.4

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

func (*ClassOrInterfaceTypeContext) GetParser

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

func (*ClassOrInterfaceTypeContext) GetRuleContext

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

func (*ClassOrInterfaceTypeContext) IDENTIFIER

func (*ClassOrInterfaceTypeContext) IsClassOrInterfaceTypeContext

func (*ClassOrInterfaceTypeContext) IsClassOrInterfaceTypeContext()

func (*ClassOrInterfaceTypeContext) ToStringTree

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

type ExprContext

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

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) ADD_ASSIGN added in v0.0.4

func (s *ExprContext) ADD_ASSIGN() antlr.TerminalNode

func (*ExprContext) AND added in v0.0.6

func (s *ExprContext) AND() antlr.TerminalNode

func (*ExprContext) ASSIGN added in v0.0.4

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

func (*ExprContext) Accept added in v0.0.4

func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExprContext) AllExpr added in v0.0.4

func (s *ExprContext) AllExpr() []IExprContext

func (*ExprContext) BANG added in v0.0.4

func (s *ExprContext) BANG() antlr.TerminalNode

func (*ExprContext) COLON added in v0.0.11

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

func (*ExprContext) DEC added in v0.0.4

func (s *ExprContext) DEC() antlr.TerminalNode

func (*ExprContext) DIV added in v0.0.4

func (s *ExprContext) DIV() antlr.TerminalNode

func (*ExprContext) DOT added in v0.0.6

func (s *ExprContext) DOT() antlr.TerminalNode

func (*ExprContext) EQUAL added in v0.0.4

func (s *ExprContext) EQUAL() antlr.TerminalNode

func (*ExprContext) EnterRule added in v0.0.4

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

func (*ExprContext) ExitRule added in v0.0.4

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

func (*ExprContext) Expr added in v0.0.4

func (s *ExprContext) Expr(i int) IExprContext

func (*ExprContext) FunctionCall added in v0.0.4

func (s *ExprContext) FunctionCall() IFunctionCallContext

func (*ExprContext) GE added in v0.0.4

func (s *ExprContext) GE() antlr.TerminalNode

func (*ExprContext) GT added in v0.0.4

func (s *ExprContext) GT() antlr.TerminalNode

func (*ExprContext) GetArray added in v0.0.6

func (s *ExprContext) GetArray() IExprContext

func (*ExprContext) GetBop added in v0.0.4

func (s *ExprContext) GetBop() antlr.Token

func (*ExprContext) GetIndex added in v0.0.6

func (s *ExprContext) GetIndex() IExprContext

func (*ExprContext) GetLhs added in v0.0.4

func (s *ExprContext) GetLhs() IExprContext

func (*ExprContext) GetParser

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

func (*ExprContext) GetPostfix added in v0.0.4

func (s *ExprContext) GetPostfix() antlr.Token

func (*ExprContext) GetPrefix added in v0.0.4

func (s *ExprContext) GetPrefix() antlr.Token

func (*ExprContext) GetRhs added in v0.0.4

func (s *ExprContext) GetRhs() IExprContext

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IDENTIFIER added in v0.0.4

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

func (*ExprContext) INC added in v0.0.4

func (s *ExprContext) INC() antlr.TerminalNode

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) LBRACK added in v0.0.6

func (s *ExprContext) LBRACK() antlr.TerminalNode

func (*ExprContext) LE added in v0.0.4

func (s *ExprContext) LE() antlr.TerminalNode

func (*ExprContext) LT added in v0.0.4

func (s *ExprContext) LT() antlr.TerminalNode

func (*ExprContext) MOD added in v0.0.4

func (s *ExprContext) MOD() antlr.TerminalNode

func (*ExprContext) MULT added in v0.0.4

func (s *ExprContext) MULT() antlr.TerminalNode

func (*ExprContext) MUL_ASSIGN added in v0.0.4

func (s *ExprContext) MUL_ASSIGN() antlr.TerminalNode

func (*ExprContext) NOTEQUAL added in v0.0.4

func (s *ExprContext) NOTEQUAL() antlr.TerminalNode

func (*ExprContext) OR added in v0.0.6

func (s *ExprContext) OR() antlr.TerminalNode

func (*ExprContext) PLUS added in v0.0.4

func (s *ExprContext) PLUS() antlr.TerminalNode

func (*ExprContext) Primary added in v0.0.4

func (s *ExprContext) Primary() IPrimaryContext

func (*ExprContext) RBRACK added in v0.0.6

func (s *ExprContext) RBRACK() antlr.TerminalNode

func (*ExprContext) SUB added in v0.0.4

func (s *ExprContext) SUB() antlr.TerminalNode

func (*ExprContext) SUB_ASSIGN added in v0.0.4

func (s *ExprContext) SUB_ASSIGN() antlr.TerminalNode

func (*ExprContext) SetArray added in v0.0.6

func (s *ExprContext) SetArray(v IExprContext)

func (*ExprContext) SetBop added in v0.0.4

func (s *ExprContext) SetBop(v antlr.Token)

func (*ExprContext) SetIndex added in v0.0.6

func (s *ExprContext) SetIndex(v IExprContext)

func (*ExprContext) SetLhs added in v0.0.4

func (s *ExprContext) SetLhs(v IExprContext)

func (*ExprContext) SetPostfix added in v0.0.4

func (s *ExprContext) SetPostfix(v antlr.Token)

func (*ExprContext) SetPrefix added in v0.0.4

func (s *ExprContext) SetPrefix(v antlr.Token)

func (*ExprContext) SetRhs added in v0.0.4

func (s *ExprContext) SetRhs(v IExprContext)

func (*ExprContext) TILDE added in v0.0.4

func (s *ExprContext) TILDE() antlr.TerminalNode

func (*ExprContext) ToStringTree

func (s *ExprContext) 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) Accept

func (s *ExpressionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExpressionListContext) AllExpr

func (s *ExpressionListContext) AllExpr() []IExprContext

func (*ExpressionListContext) EnterRule added in v0.0.4

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

func (*ExpressionListContext) ExitRule added in v0.0.4

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

func (*ExpressionListContext) Expr

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 FieldDeclarationContext added in v0.0.4

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

func NewEmptyFieldDeclarationContext added in v0.0.4

func NewEmptyFieldDeclarationContext() *FieldDeclarationContext

func NewFieldDeclarationContext added in v0.0.4

func NewFieldDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclarationContext

func (*FieldDeclarationContext) Accept added in v0.0.4

func (s *FieldDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FieldDeclarationContext) EnterRule added in v0.0.4

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

func (*FieldDeclarationContext) ExitRule added in v0.0.4

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

func (*FieldDeclarationContext) GetParser added in v0.0.4

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

func (*FieldDeclarationContext) GetRuleContext added in v0.0.4

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

func (*FieldDeclarationContext) IsFieldDeclarationContext added in v0.0.4

func (*FieldDeclarationContext) IsFieldDeclarationContext()

func (*FieldDeclarationContext) ToStringTree added in v0.0.4

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

func (*FieldDeclarationContext) VariableDeclarators added in v0.0.4

func (s *FieldDeclarationContext) VariableDeclarators() IVariableDeclaratorsContext

type FloatLiteralContext

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

func NewEmptyFloatLiteralContext

func NewEmptyFloatLiteralContext() *FloatLiteralContext

func NewFloatLiteralContext

func NewFloatLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatLiteralContext

func (*FloatLiteralContext) Accept

func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FloatLiteralContext) EnterRule added in v0.0.4

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

func (*FloatLiteralContext) ExitRule added in v0.0.4

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

func (*FloatLiteralContext) FLOAT_LITERAL

func (s *FloatLiteralContext) FLOAT_LITERAL() antlr.TerminalNode

func (*FloatLiteralContext) GetParser

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

func (*FloatLiteralContext) GetRuleContext

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

func (*FloatLiteralContext) IsFloatLiteralContext

func (*FloatLiteralContext) IsFloatLiteralContext()

func (*FloatLiteralContext) ToStringTree

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

type ForControlContext

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

func NewEmptyForControlContext

func NewEmptyForControlContext() *ForControlContext

func NewForControlContext

func NewForControlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForControlContext

func (*ForControlContext) Accept

func (s *ForControlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ForControlContext) EnterRule added in v0.0.4

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

func (*ForControlContext) ExitRule added in v0.0.4

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

func (*ForControlContext) Expr

func (s *ForControlContext) Expr() IExprContext

func (*ForControlContext) ExpressionList

func (s *ForControlContext) ExpressionList() IExpressionListContext

func (*ForControlContext) ForInit

func (s *ForControlContext) ForInit() IForInitContext

func (*ForControlContext) GetForUpdate

func (s *ForControlContext) GetForUpdate() IExpressionListContext

func (*ForControlContext) GetParser

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

func (*ForControlContext) GetRuleContext

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

func (*ForControlContext) IsForControlContext

func (*ForControlContext) IsForControlContext()

func (*ForControlContext) SetForUpdate

func (s *ForControlContext) SetForUpdate(v IExpressionListContext)

func (*ForControlContext) ToStringTree

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

type ForInitContext

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

func NewEmptyForInitContext

func NewEmptyForInitContext() *ForInitContext

func NewForInitContext

func NewForInitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForInitContext

func (*ForInitContext) Accept

func (s *ForInitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ForInitContext) EnterRule added in v0.0.4

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

func (*ForInitContext) ExitRule added in v0.0.4

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

func (*ForInitContext) ExpressionList

func (s *ForInitContext) ExpressionList() IExpressionListContext

func (*ForInitContext) GetParser

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

func (*ForInitContext) GetRuleContext

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

func (*ForInitContext) IsForInitContext

func (*ForInitContext) IsForInitContext()

func (*ForInitContext) ToStringTree

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

func (*ForInitContext) VariableDeclarators

func (s *ForInitContext) VariableDeclarators() IVariableDeclaratorsContext

type FormalParameterContext added in v0.0.4

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

func NewEmptyFormalParameterContext added in v0.0.4

func NewEmptyFormalParameterContext() *FormalParameterContext

func NewFormalParameterContext added in v0.0.4

func NewFormalParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParameterContext

func (*FormalParameterContext) Accept added in v0.0.4

func (s *FormalParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FormalParameterContext) AllVariableModifier added in v0.0.4

func (s *FormalParameterContext) AllVariableModifier() []IVariableModifierContext

func (*FormalParameterContext) EnterRule added in v0.0.4

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

func (*FormalParameterContext) ExitRule added in v0.0.4

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

func (*FormalParameterContext) GetParser added in v0.0.4

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

func (*FormalParameterContext) GetRuleContext added in v0.0.4

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

func (*FormalParameterContext) IsFormalParameterContext added in v0.0.4

func (*FormalParameterContext) IsFormalParameterContext()

func (*FormalParameterContext) ToStringTree added in v0.0.4

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

func (*FormalParameterContext) TypeType added in v0.0.4

func (*FormalParameterContext) VariableDeclaratorId added in v0.0.4

func (s *FormalParameterContext) VariableDeclaratorId() IVariableDeclaratorIdContext

func (*FormalParameterContext) VariableModifier added in v0.0.4

func (s *FormalParameterContext) VariableModifier(i int) IVariableModifierContext

type FormalParameterListContext added in v0.0.4

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

func NewEmptyFormalParameterListContext added in v0.0.4

func NewEmptyFormalParameterListContext() *FormalParameterListContext

func NewFormalParameterListContext added in v0.0.4

func NewFormalParameterListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParameterListContext

func (*FormalParameterListContext) Accept added in v0.0.4

func (s *FormalParameterListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FormalParameterListContext) AllFormalParameter added in v0.0.4

func (s *FormalParameterListContext) AllFormalParameter() []IFormalParameterContext

func (*FormalParameterListContext) EnterRule added in v0.0.4

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

func (*FormalParameterListContext) ExitRule added in v0.0.4

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

func (*FormalParameterListContext) FormalParameter added in v0.0.4

func (*FormalParameterListContext) GetParser added in v0.0.4

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

func (*FormalParameterListContext) GetRuleContext added in v0.0.4

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

func (*FormalParameterListContext) IsFormalParameterListContext added in v0.0.4

func (*FormalParameterListContext) IsFormalParameterListContext()

func (*FormalParameterListContext) LastFormalParameter added in v0.0.4

func (*FormalParameterListContext) ToStringTree added in v0.0.4

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

type FormalParametersContext added in v0.0.4

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

func NewEmptyFormalParametersContext added in v0.0.4

func NewEmptyFormalParametersContext() *FormalParametersContext

func NewFormalParametersContext added in v0.0.4

func NewFormalParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParametersContext

func (*FormalParametersContext) Accept added in v0.0.4

func (s *FormalParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FormalParametersContext) EnterRule added in v0.0.4

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

func (*FormalParametersContext) ExitRule added in v0.0.4

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

func (*FormalParametersContext) FormalParameterList added in v0.0.4

func (s *FormalParametersContext) FormalParameterList() IFormalParameterListContext

func (*FormalParametersContext) GetParser added in v0.0.4

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

func (*FormalParametersContext) GetRuleContext added in v0.0.4

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

func (*FormalParametersContext) IsFormalParametersContext added in v0.0.4

func (*FormalParametersContext) IsFormalParametersContext()

func (*FormalParametersContext) LPAREN added in v0.0.4

func (*FormalParametersContext) RPAREN added in v0.0.4

func (*FormalParametersContext) ToStringTree added in v0.0.4

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

type FunctionBodyContext added in v0.0.4

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

func NewEmptyFunctionBodyContext added in v0.0.4

func NewEmptyFunctionBodyContext() *FunctionBodyContext

func NewFunctionBodyContext added in v0.0.4

func NewFunctionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionBodyContext

func (*FunctionBodyContext) Accept added in v0.0.4

func (s *FunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctionBodyContext) Block added in v0.0.4

func (*FunctionBodyContext) EnterRule added in v0.0.4

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

func (*FunctionBodyContext) ExitRule added in v0.0.4

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

func (*FunctionBodyContext) GetParser added in v0.0.4

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

func (*FunctionBodyContext) GetRuleContext added in v0.0.4

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

func (*FunctionBodyContext) IsFunctionBodyContext added in v0.0.4

func (*FunctionBodyContext) IsFunctionBodyContext()

func (*FunctionBodyContext) ToStringTree added in v0.0.4

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

type FunctionCallContext added in v0.0.4

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

func NewEmptyFunctionCallContext added in v0.0.4

func NewEmptyFunctionCallContext() *FunctionCallContext

func NewFunctionCallContext added in v0.0.4

func NewFunctionCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionCallContext

func (*FunctionCallContext) Accept added in v0.0.4

func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctionCallContext) EnterRule added in v0.0.4

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

func (*FunctionCallContext) ExitRule added in v0.0.4

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

func (*FunctionCallContext) ExpressionList added in v0.0.4

func (s *FunctionCallContext) ExpressionList() IExpressionListContext

func (*FunctionCallContext) GetParser added in v0.0.4

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

func (*FunctionCallContext) GetRuleContext added in v0.0.4

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

func (*FunctionCallContext) IDENTIFIER added in v0.0.4

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

func (*FunctionCallContext) IsFunctionCallContext added in v0.0.4

func (*FunctionCallContext) IsFunctionCallContext()

func (*FunctionCallContext) LPAREN added in v0.0.4

func (*FunctionCallContext) RPAREN added in v0.0.4

func (*FunctionCallContext) SUPER added in v0.0.4

func (*FunctionCallContext) THIS added in v0.0.4

func (*FunctionCallContext) ToStringTree added in v0.0.4

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

type FunctionDeclarationContext added in v0.0.4

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

func NewEmptyFunctionDeclarationContext added in v0.0.4

func NewEmptyFunctionDeclarationContext() *FunctionDeclarationContext

func NewFunctionDeclarationContext added in v0.0.4

func NewFunctionDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionDeclarationContext

func (*FunctionDeclarationContext) Accept added in v0.0.4

func (s *FunctionDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctionDeclarationContext) AllLBRACK added in v0.0.4

func (*FunctionDeclarationContext) AllRBRACK added in v0.0.4

func (*FunctionDeclarationContext) EnterRule added in v0.0.4

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

func (*FunctionDeclarationContext) ExitRule added in v0.0.4

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

func (*FunctionDeclarationContext) FormalParameters added in v0.0.4

func (*FunctionDeclarationContext) FunctionBody added in v0.0.4

func (*FunctionDeclarationContext) GetParser added in v0.0.4

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

func (*FunctionDeclarationContext) GetRuleContext added in v0.0.4

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

func (*FunctionDeclarationContext) IDENTIFIER added in v0.0.4

func (*FunctionDeclarationContext) IsFunctionDeclarationContext added in v0.0.4

func (*FunctionDeclarationContext) IsFunctionDeclarationContext()

func (*FunctionDeclarationContext) LBRACK added in v0.0.4

func (*FunctionDeclarationContext) OperatorOverloading added in v0.0.7

func (*FunctionDeclarationContext) QualifiedNameList added in v0.0.4

func (*FunctionDeclarationContext) RBRACK added in v0.0.4

func (*FunctionDeclarationContext) THROWS added in v0.0.4

func (*FunctionDeclarationContext) ToStringTree added in v0.0.4

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

func (*FunctionDeclarationContext) TypeTypeOrVoid added in v0.0.4

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

func (s *FunctionTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FunctionTypeContext) EnterRule added in v0.0.4

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

func (*FunctionTypeContext) ExitRule added in v0.0.4

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

func (*FunctionTypeContext) FUNCTION

func (s *FunctionTypeContext) FUNCTION() antlr.TerminalNode

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) LPAREN added in v0.0.4

func (*FunctionTypeContext) RPAREN added in v0.0.4

func (*FunctionTypeContext) ToStringTree

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

func (*FunctionTypeContext) TypeList

func (s *FunctionTypeContext) TypeList() ITypeListContext

func (*FunctionTypeContext) TypeTypeOrVoid

func (s *FunctionTypeContext) TypeTypeOrVoid() ITypeTypeOrVoidContext

type GScriptLexer

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

func NewGScriptLexer

func NewGScriptLexer(input antlr.CharStream) *GScriptLexer

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

The *GScriptLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

type GScriptListener added in v0.0.4

type GScriptListener interface {
	antlr.ParseTreeListener

	// EnterClassDeclaration is called when entering the classDeclaration production.
	EnterClassDeclaration(c *ClassDeclarationContext)

	// EnterClassBody is called when entering the classBody production.
	EnterClassBody(c *ClassBodyContext)

	// EnterClassBodyDeclaration is called when entering the classBodyDeclaration production.
	EnterClassBodyDeclaration(c *ClassBodyDeclarationContext)

	// EnterMemberDeclaration is called when entering the memberDeclaration production.
	EnterMemberDeclaration(c *MemberDeclarationContext)

	// EnterFunctionDeclaration is called when entering the functionDeclaration production.
	EnterFunctionDeclaration(c *FunctionDeclarationContext)

	// EnterOperatorOverloading is called when entering the operatorOverloading production.
	EnterOperatorOverloading(c *OperatorOverloadingContext)

	// EnterFunctionBody is called when entering the functionBody production.
	EnterFunctionBody(c *FunctionBodyContext)

	// EnterTypeTypeOrVoid is called when entering the typeTypeOrVoid production.
	EnterTypeTypeOrVoid(c *TypeTypeOrVoidContext)

	// EnterQualifiedNameList is called when entering the qualifiedNameList production.
	EnterQualifiedNameList(c *QualifiedNameListContext)

	// EnterFormalParameters is called when entering the formalParameters production.
	EnterFormalParameters(c *FormalParametersContext)

	// EnterFormalParameterList is called when entering the formalParameterList production.
	EnterFormalParameterList(c *FormalParameterListContext)

	// EnterFormalParameter is called when entering the formalParameter production.
	EnterFormalParameter(c *FormalParameterContext)

	// EnterLastFormalParameter is called when entering the lastFormalParameter production.
	EnterLastFormalParameter(c *LastFormalParameterContext)

	// EnterVariableModifier is called when entering the variableModifier production.
	EnterVariableModifier(c *VariableModifierContext)

	// EnterQualifiedName is called when entering the qualifiedName production.
	EnterQualifiedName(c *QualifiedNameContext)

	// EnterFieldDeclaration is called when entering the fieldDeclaration production.
	EnterFieldDeclaration(c *FieldDeclarationContext)

	// EnterVariableDeclarators is called when entering the variableDeclarators production.
	EnterVariableDeclarators(c *VariableDeclaratorsContext)

	// EnterVariableDeclarator is called when entering the variableDeclarator production.
	EnterVariableDeclarator(c *VariableDeclaratorContext)

	// EnterVariableDeclaratorId is called when entering the variableDeclaratorId production.
	EnterVariableDeclaratorId(c *VariableDeclaratorIdContext)

	// EnterVariableInitializer is called when entering the variableInitializer production.
	EnterVariableInitializer(c *VariableInitializerContext)

	// EnterArrayInitializer is called when entering the arrayInitializer production.
	EnterArrayInitializer(c *ArrayInitializerContext)

	// EnterClassOrInterfaceType is called when entering the classOrInterfaceType production.
	EnterClassOrInterfaceType(c *ClassOrInterfaceTypeContext)

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

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

	// EnterProg is called when entering the prog production.
	EnterProg(c *ProgContext)

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

	// EnterBlockStms is called when entering the BlockStms production.
	EnterBlockStms(c *BlockStmsContext)

	// EnterBlockVarDeclar is called when entering the BlockVarDeclar production.
	EnterBlockVarDeclar(c *BlockVarDeclarContext)

	// EnterBlockStm is called when entering the BlockStm production.
	EnterBlockStm(c *BlockStmContext)

	// EnterBlockFunc is called when entering the BlockFunc production.
	EnterBlockFunc(c *BlockFuncContext)

	// EnterBlockClassDeclar is called when entering the BlockClassDeclar production.
	EnterBlockClassDeclar(c *BlockClassDeclarContext)

	// EnterStmBlockLabel is called when entering the StmBlockLabel production.
	EnterStmBlockLabel(c *StmBlockLabelContext)

	// EnterStmIfElse is called when entering the StmIfElse production.
	EnterStmIfElse(c *StmIfElseContext)

	// EnterStmFor is called when entering the StmFor production.
	EnterStmFor(c *StmForContext)

	// EnterStmWhile is called when entering the StmWhile production.
	EnterStmWhile(c *StmWhileContext)

	// EnterStmReturn is called when entering the StmReturn production.
	EnterStmReturn(c *StmReturnContext)

	// EnterStmBreak is called when entering the StmBreak production.
	EnterStmBreak(c *StmBreakContext)

	// EnterStmContinue is called when entering the StmContinue production.
	EnterStmContinue(c *StmContinueContext)

	// EnterStmExpr is called when entering the StmExpr production.
	EnterStmExpr(c *StmExprContext)

	// EnterForControl is called when entering the forControl production.
	EnterForControl(c *ForControlContext)

	// EnterForInit is called when entering the forInit production.
	EnterForInit(c *ForInitContext)

	// EnterParExpression is called when entering the parExpression production.
	EnterParExpression(c *ParExpressionContext)

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

	// EnterFunctionCall is called when entering the functionCall production.
	EnterFunctionCall(c *FunctionCallContext)

	// EnterExpr is called when entering the expr production.
	EnterExpr(c *ExprContext)

	// EnterPrimary is called when entering the primary production.
	EnterPrimary(c *PrimaryContext)

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

	// EnterTypeType is called when entering the typeType production.
	EnterTypeType(c *TypeTypeContext)

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

	// EnterPrimitiveType is called when entering the primitiveType production.
	EnterPrimitiveType(c *PrimitiveTypeContext)

	// EnterIntegerLiteral is called when entering the integerLiteral production.
	EnterIntegerLiteral(c *IntegerLiteralContext)

	// EnterFloatLiteral is called when entering the floatLiteral production.
	EnterFloatLiteral(c *FloatLiteralContext)

	// EnterParse is called when entering the parse production.
	EnterParse(c *ParseContext)

	// ExitClassDeclaration is called when exiting the classDeclaration production.
	ExitClassDeclaration(c *ClassDeclarationContext)

	// ExitClassBody is called when exiting the classBody production.
	ExitClassBody(c *ClassBodyContext)

	// ExitClassBodyDeclaration is called when exiting the classBodyDeclaration production.
	ExitClassBodyDeclaration(c *ClassBodyDeclarationContext)

	// ExitMemberDeclaration is called when exiting the memberDeclaration production.
	ExitMemberDeclaration(c *MemberDeclarationContext)

	// ExitFunctionDeclaration is called when exiting the functionDeclaration production.
	ExitFunctionDeclaration(c *FunctionDeclarationContext)

	// ExitOperatorOverloading is called when exiting the operatorOverloading production.
	ExitOperatorOverloading(c *OperatorOverloadingContext)

	// ExitFunctionBody is called when exiting the functionBody production.
	ExitFunctionBody(c *FunctionBodyContext)

	// ExitTypeTypeOrVoid is called when exiting the typeTypeOrVoid production.
	ExitTypeTypeOrVoid(c *TypeTypeOrVoidContext)

	// ExitQualifiedNameList is called when exiting the qualifiedNameList production.
	ExitQualifiedNameList(c *QualifiedNameListContext)

	// ExitFormalParameters is called when exiting the formalParameters production.
	ExitFormalParameters(c *FormalParametersContext)

	// ExitFormalParameterList is called when exiting the formalParameterList production.
	ExitFormalParameterList(c *FormalParameterListContext)

	// ExitFormalParameter is called when exiting the formalParameter production.
	ExitFormalParameter(c *FormalParameterContext)

	// ExitLastFormalParameter is called when exiting the lastFormalParameter production.
	ExitLastFormalParameter(c *LastFormalParameterContext)

	// ExitVariableModifier is called when exiting the variableModifier production.
	ExitVariableModifier(c *VariableModifierContext)

	// ExitQualifiedName is called when exiting the qualifiedName production.
	ExitQualifiedName(c *QualifiedNameContext)

	// ExitFieldDeclaration is called when exiting the fieldDeclaration production.
	ExitFieldDeclaration(c *FieldDeclarationContext)

	// ExitVariableDeclarators is called when exiting the variableDeclarators production.
	ExitVariableDeclarators(c *VariableDeclaratorsContext)

	// ExitVariableDeclarator is called when exiting the variableDeclarator production.
	ExitVariableDeclarator(c *VariableDeclaratorContext)

	// ExitVariableDeclaratorId is called when exiting the variableDeclaratorId production.
	ExitVariableDeclaratorId(c *VariableDeclaratorIdContext)

	// ExitVariableInitializer is called when exiting the variableInitializer production.
	ExitVariableInitializer(c *VariableInitializerContext)

	// ExitArrayInitializer is called when exiting the arrayInitializer production.
	ExitArrayInitializer(c *ArrayInitializerContext)

	// ExitClassOrInterfaceType is called when exiting the classOrInterfaceType production.
	ExitClassOrInterfaceType(c *ClassOrInterfaceTypeContext)

	// ExitLiteral is called when exiting the literal production.
	ExitLiteral(c *LiteralContext)

	// ExitString_ is called when exiting the string_ production.
	ExitString_(c *String_Context)

	// ExitProg is called when exiting the prog production.
	ExitProg(c *ProgContext)

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

	// ExitBlockStms is called when exiting the BlockStms production.
	ExitBlockStms(c *BlockStmsContext)

	// ExitBlockVarDeclar is called when exiting the BlockVarDeclar production.
	ExitBlockVarDeclar(c *BlockVarDeclarContext)

	// ExitBlockStm is called when exiting the BlockStm production.
	ExitBlockStm(c *BlockStmContext)

	// ExitBlockFunc is called when exiting the BlockFunc production.
	ExitBlockFunc(c *BlockFuncContext)

	// ExitBlockClassDeclar is called when exiting the BlockClassDeclar production.
	ExitBlockClassDeclar(c *BlockClassDeclarContext)

	// ExitStmBlockLabel is called when exiting the StmBlockLabel production.
	ExitStmBlockLabel(c *StmBlockLabelContext)

	// ExitStmIfElse is called when exiting the StmIfElse production.
	ExitStmIfElse(c *StmIfElseContext)

	// ExitStmFor is called when exiting the StmFor production.
	ExitStmFor(c *StmForContext)

	// ExitStmWhile is called when exiting the StmWhile production.
	ExitStmWhile(c *StmWhileContext)

	// ExitStmReturn is called when exiting the StmReturn production.
	ExitStmReturn(c *StmReturnContext)

	// ExitStmBreak is called when exiting the StmBreak production.
	ExitStmBreak(c *StmBreakContext)

	// ExitStmContinue is called when exiting the StmContinue production.
	ExitStmContinue(c *StmContinueContext)

	// ExitStmExpr is called when exiting the StmExpr production.
	ExitStmExpr(c *StmExprContext)

	// ExitForControl is called when exiting the forControl production.
	ExitForControl(c *ForControlContext)

	// ExitForInit is called when exiting the forInit production.
	ExitForInit(c *ForInitContext)

	// ExitParExpression is called when exiting the parExpression production.
	ExitParExpression(c *ParExpressionContext)

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

	// ExitFunctionCall is called when exiting the functionCall production.
	ExitFunctionCall(c *FunctionCallContext)

	// ExitExpr is called when exiting the expr production.
	ExitExpr(c *ExprContext)

	// ExitPrimary is called when exiting the primary production.
	ExitPrimary(c *PrimaryContext)

	// ExitTypeList is called when exiting the typeList production.
	ExitTypeList(c *TypeListContext)

	// ExitTypeType is called when exiting the typeType production.
	ExitTypeType(c *TypeTypeContext)

	// ExitFunctionType is called when exiting the functionType production.
	ExitFunctionType(c *FunctionTypeContext)

	// ExitPrimitiveType is called when exiting the primitiveType production.
	ExitPrimitiveType(c *PrimitiveTypeContext)

	// ExitIntegerLiteral is called when exiting the integerLiteral production.
	ExitIntegerLiteral(c *IntegerLiteralContext)

	// ExitFloatLiteral is called when exiting the floatLiteral production.
	ExitFloatLiteral(c *FloatLiteralContext)

	// ExitParse is called when exiting the parse production.
	ExitParse(c *ParseContext)
}

GScriptListener is a complete listener for a parse tree produced by GScriptParser.

type GScriptParser

type GScriptParser struct {
	*antlr.BaseParser
}

func NewGScriptParser

func NewGScriptParser(input antlr.TokenStream) *GScriptParser

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

The *GScriptParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*GScriptParser) ArrayInitializer added in v0.0.4

func (p *GScriptParser) ArrayInitializer() (localctx IArrayInitializerContext)

func (*GScriptParser) Block

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

func (*GScriptParser) BlockStatement

func (p *GScriptParser) BlockStatement() (localctx IBlockStatementContext)

func (*GScriptParser) BlockStatements

func (p *GScriptParser) BlockStatements() (localctx IBlockStatementsContext)

func (*GScriptParser) ClassBody added in v0.0.4

func (p *GScriptParser) ClassBody() (localctx IClassBodyContext)

func (*GScriptParser) ClassBodyDeclaration added in v0.0.4

func (p *GScriptParser) ClassBodyDeclaration() (localctx IClassBodyDeclarationContext)

func (*GScriptParser) ClassDeclaration added in v0.0.4

func (p *GScriptParser) ClassDeclaration() (localctx IClassDeclarationContext)

func (*GScriptParser) ClassOrInterfaceType

func (p *GScriptParser) ClassOrInterfaceType() (localctx IClassOrInterfaceTypeContext)

func (*GScriptParser) Expr

func (p *GScriptParser) Expr() (localctx IExprContext)

func (*GScriptParser) Expr_Sempred

func (p *GScriptParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*GScriptParser) ExpressionList

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

func (*GScriptParser) FieldDeclaration added in v0.0.4

func (p *GScriptParser) FieldDeclaration() (localctx IFieldDeclarationContext)

func (*GScriptParser) FloatLiteral

func (p *GScriptParser) FloatLiteral() (localctx IFloatLiteralContext)

func (*GScriptParser) ForControl

func (p *GScriptParser) ForControl() (localctx IForControlContext)

func (*GScriptParser) ForInit

func (p *GScriptParser) ForInit() (localctx IForInitContext)

func (*GScriptParser) FormalParameter added in v0.0.4

func (p *GScriptParser) FormalParameter() (localctx IFormalParameterContext)

func (*GScriptParser) FormalParameterList added in v0.0.4

func (p *GScriptParser) FormalParameterList() (localctx IFormalParameterListContext)

func (*GScriptParser) FormalParameters added in v0.0.4

func (p *GScriptParser) FormalParameters() (localctx IFormalParametersContext)

func (*GScriptParser) FunctionBody added in v0.0.4

func (p *GScriptParser) FunctionBody() (localctx IFunctionBodyContext)

func (*GScriptParser) FunctionCall added in v0.0.4

func (p *GScriptParser) FunctionCall() (localctx IFunctionCallContext)

func (*GScriptParser) FunctionDeclaration added in v0.0.4

func (p *GScriptParser) FunctionDeclaration() (localctx IFunctionDeclarationContext)

func (*GScriptParser) FunctionType

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

func (*GScriptParser) IntegerLiteral

func (p *GScriptParser) IntegerLiteral() (localctx IIntegerLiteralContext)

func (*GScriptParser) LastFormalParameter added in v0.0.4

func (p *GScriptParser) LastFormalParameter() (localctx ILastFormalParameterContext)

func (*GScriptParser) Literal

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

func (*GScriptParser) MemberDeclaration added in v0.0.4

func (p *GScriptParser) MemberDeclaration() (localctx IMemberDeclarationContext)

func (*GScriptParser) OperatorOverloading added in v0.0.7

func (p *GScriptParser) OperatorOverloading() (localctx IOperatorOverloadingContext)

func (*GScriptParser) ParExpression

func (p *GScriptParser) ParExpression() (localctx IParExpressionContext)

func (*GScriptParser) Parse

func (p *GScriptParser) Parse() (localctx IParseContext)

func (*GScriptParser) Primary added in v0.0.4

func (p *GScriptParser) Primary() (localctx IPrimaryContext)

func (*GScriptParser) PrimitiveType

func (p *GScriptParser) PrimitiveType() (localctx IPrimitiveTypeContext)

func (*GScriptParser) Prog

func (p *GScriptParser) Prog() (localctx IProgContext)

func (*GScriptParser) QualifiedName added in v0.0.4

func (p *GScriptParser) QualifiedName() (localctx IQualifiedNameContext)

func (*GScriptParser) QualifiedNameList added in v0.0.4

func (p *GScriptParser) QualifiedNameList() (localctx IQualifiedNameListContext)

func (*GScriptParser) Sempred

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

func (*GScriptParser) Statement

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

func (*GScriptParser) String_ added in v0.0.8

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

func (*GScriptParser) TypeList

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

func (*GScriptParser) TypeType

func (p *GScriptParser) TypeType() (localctx ITypeTypeContext)

func (*GScriptParser) TypeTypeOrVoid

func (p *GScriptParser) TypeTypeOrVoid() (localctx ITypeTypeOrVoidContext)

func (*GScriptParser) VariableDeclarator

func (p *GScriptParser) VariableDeclarator() (localctx IVariableDeclaratorContext)

func (*GScriptParser) VariableDeclaratorId

func (p *GScriptParser) VariableDeclaratorId() (localctx IVariableDeclaratorIdContext)

func (*GScriptParser) VariableDeclarators

func (p *GScriptParser) VariableDeclarators() (localctx IVariableDeclaratorsContext)

func (*GScriptParser) VariableInitializer

func (p *GScriptParser) VariableInitializer() (localctx IVariableInitializerContext)

func (*GScriptParser) VariableModifier added in v0.0.4

func (p *GScriptParser) VariableModifier() (localctx IVariableModifierContext)

type GScriptVisitor

type GScriptVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by GScriptParser#classDeclaration.
	VisitClassDeclaration(ctx *ClassDeclarationContext) interface{}

	// Visit a parse tree produced by GScriptParser#classBody.
	VisitClassBody(ctx *ClassBodyContext) interface{}

	// Visit a parse tree produced by GScriptParser#classBodyDeclaration.
	VisitClassBodyDeclaration(ctx *ClassBodyDeclarationContext) interface{}

	// Visit a parse tree produced by GScriptParser#memberDeclaration.
	VisitMemberDeclaration(ctx *MemberDeclarationContext) interface{}

	// Visit a parse tree produced by GScriptParser#functionDeclaration.
	VisitFunctionDeclaration(ctx *FunctionDeclarationContext) interface{}

	// Visit a parse tree produced by GScriptParser#operatorOverloading.
	VisitOperatorOverloading(ctx *OperatorOverloadingContext) interface{}

	// Visit a parse tree produced by GScriptParser#functionBody.
	VisitFunctionBody(ctx *FunctionBodyContext) interface{}

	// Visit a parse tree produced by GScriptParser#typeTypeOrVoid.
	VisitTypeTypeOrVoid(ctx *TypeTypeOrVoidContext) interface{}

	// Visit a parse tree produced by GScriptParser#qualifiedNameList.
	VisitQualifiedNameList(ctx *QualifiedNameListContext) interface{}

	// Visit a parse tree produced by GScriptParser#formalParameters.
	VisitFormalParameters(ctx *FormalParametersContext) interface{}

	// Visit a parse tree produced by GScriptParser#formalParameterList.
	VisitFormalParameterList(ctx *FormalParameterListContext) interface{}

	// Visit a parse tree produced by GScriptParser#formalParameter.
	VisitFormalParameter(ctx *FormalParameterContext) interface{}

	// Visit a parse tree produced by GScriptParser#lastFormalParameter.
	VisitLastFormalParameter(ctx *LastFormalParameterContext) interface{}

	// Visit a parse tree produced by GScriptParser#variableModifier.
	VisitVariableModifier(ctx *VariableModifierContext) interface{}

	// Visit a parse tree produced by GScriptParser#qualifiedName.
	VisitQualifiedName(ctx *QualifiedNameContext) interface{}

	// Visit a parse tree produced by GScriptParser#fieldDeclaration.
	VisitFieldDeclaration(ctx *FieldDeclarationContext) interface{}

	// Visit a parse tree produced by GScriptParser#variableDeclarators.
	VisitVariableDeclarators(ctx *VariableDeclaratorsContext) interface{}

	// Visit a parse tree produced by GScriptParser#variableDeclarator.
	VisitVariableDeclarator(ctx *VariableDeclaratorContext) interface{}

	// Visit a parse tree produced by GScriptParser#variableDeclaratorId.
	VisitVariableDeclaratorId(ctx *VariableDeclaratorIdContext) interface{}

	// Visit a parse tree produced by GScriptParser#variableInitializer.
	VisitVariableInitializer(ctx *VariableInitializerContext) interface{}

	// Visit a parse tree produced by GScriptParser#arrayInitializer.
	VisitArrayInitializer(ctx *ArrayInitializerContext) interface{}

	// Visit a parse tree produced by GScriptParser#classOrInterfaceType.
	VisitClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext) interface{}

	// Visit a parse tree produced by GScriptParser#literal.
	VisitLiteral(ctx *LiteralContext) interface{}

	// Visit a parse tree produced by GScriptParser#string_.
	VisitString_(ctx *String_Context) interface{}

	// Visit a parse tree produced by GScriptParser#prog.
	VisitProg(ctx *ProgContext) interface{}

	// Visit a parse tree produced by GScriptParser#block.
	VisitBlock(ctx *BlockContext) interface{}

	// Visit a parse tree produced by GScriptParser#BlockStms.
	VisitBlockStms(ctx *BlockStmsContext) interface{}

	// Visit a parse tree produced by GScriptParser#BlockVarDeclar.
	VisitBlockVarDeclar(ctx *BlockVarDeclarContext) interface{}

	// Visit a parse tree produced by GScriptParser#BlockStm.
	VisitBlockStm(ctx *BlockStmContext) interface{}

	// Visit a parse tree produced by GScriptParser#BlockFunc.
	VisitBlockFunc(ctx *BlockFuncContext) interface{}

	// Visit a parse tree produced by GScriptParser#BlockClassDeclar.
	VisitBlockClassDeclar(ctx *BlockClassDeclarContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmBlockLabel.
	VisitStmBlockLabel(ctx *StmBlockLabelContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmIfElse.
	VisitStmIfElse(ctx *StmIfElseContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmFor.
	VisitStmFor(ctx *StmForContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmWhile.
	VisitStmWhile(ctx *StmWhileContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmReturn.
	VisitStmReturn(ctx *StmReturnContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmBreak.
	VisitStmBreak(ctx *StmBreakContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmContinue.
	VisitStmContinue(ctx *StmContinueContext) interface{}

	// Visit a parse tree produced by GScriptParser#StmExpr.
	VisitStmExpr(ctx *StmExprContext) interface{}

	// Visit a parse tree produced by GScriptParser#forControl.
	VisitForControl(ctx *ForControlContext) interface{}

	// Visit a parse tree produced by GScriptParser#forInit.
	VisitForInit(ctx *ForInitContext) interface{}

	// Visit a parse tree produced by GScriptParser#parExpression.
	VisitParExpression(ctx *ParExpressionContext) interface{}

	// Visit a parse tree produced by GScriptParser#expressionList.
	VisitExpressionList(ctx *ExpressionListContext) interface{}

	// Visit a parse tree produced by GScriptParser#functionCall.
	VisitFunctionCall(ctx *FunctionCallContext) interface{}

	// Visit a parse tree produced by GScriptParser#expr.
	VisitExpr(ctx *ExprContext) interface{}

	// Visit a parse tree produced by GScriptParser#primary.
	VisitPrimary(ctx *PrimaryContext) interface{}

	// Visit a parse tree produced by GScriptParser#typeList.
	VisitTypeList(ctx *TypeListContext) interface{}

	// Visit a parse tree produced by GScriptParser#typeType.
	VisitTypeType(ctx *TypeTypeContext) interface{}

	// Visit a parse tree produced by GScriptParser#functionType.
	VisitFunctionType(ctx *FunctionTypeContext) interface{}

	// Visit a parse tree produced by GScriptParser#primitiveType.
	VisitPrimitiveType(ctx *PrimitiveTypeContext) interface{}

	// Visit a parse tree produced by GScriptParser#integerLiteral.
	VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}

	// Visit a parse tree produced by GScriptParser#floatLiteral.
	VisitFloatLiteral(ctx *FloatLiteralContext) interface{}

	// Visit a parse tree produced by GScriptParser#parse.
	VisitParse(ctx *ParseContext) interface{}
}

A complete Visitor for a parse tree produced by GScriptParser.

type IArrayInitializerContext added in v0.0.4

type IArrayInitializerContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsArrayInitializerContext differentiates from other interfaces.
	IsArrayInitializerContext()
}

IArrayInitializerContext 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 IBlockStatementContext

type IBlockStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockStatementContext differentiates from other interfaces.
	IsBlockStatementContext()
}

IBlockStatementContext is an interface to support dynamic dispatch.

type IBlockStatementsContext

type IBlockStatementsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockStatementsContext differentiates from other interfaces.
	IsBlockStatementsContext()
}

IBlockStatementsContext is an interface to support dynamic dispatch.

type IClassBodyContext added in v0.0.4

type IClassBodyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsClassBodyContext differentiates from other interfaces.
	IsClassBodyContext()
}

IClassBodyContext is an interface to support dynamic dispatch.

type IClassBodyDeclarationContext added in v0.0.4

type IClassBodyDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsClassBodyDeclarationContext differentiates from other interfaces.
	IsClassBodyDeclarationContext()
}

IClassBodyDeclarationContext is an interface to support dynamic dispatch.

type IClassDeclarationContext added in v0.0.4

type IClassDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsClassDeclarationContext differentiates from other interfaces.
	IsClassDeclarationContext()
}

IClassDeclarationContext is an interface to support dynamic dispatch.

type IClassOrInterfaceTypeContext

type IClassOrInterfaceTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsClassOrInterfaceTypeContext differentiates from other interfaces.
	IsClassOrInterfaceTypeContext()
}

IClassOrInterfaceTypeContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetPrefix returns the prefix token.
	GetPrefix() antlr.Token

	// GetBop returns the bop token.
	GetBop() antlr.Token

	// GetPostfix returns the postfix token.
	GetPostfix() antlr.Token

	// SetPrefix sets the prefix token.
	SetPrefix(antlr.Token)

	// SetBop sets the bop token.
	SetBop(antlr.Token)

	// SetPostfix sets the postfix token.
	SetPostfix(antlr.Token)

	// GetArray returns the array rule contexts.
	GetArray() IExprContext

	// GetLhs returns the lhs rule contexts.
	GetLhs() IExprContext

	// GetRhs returns the rhs rule contexts.
	GetRhs() IExprContext

	// GetIndex returns the index rule contexts.
	GetIndex() IExprContext

	// SetArray sets the array rule contexts.
	SetArray(IExprContext)

	// SetLhs sets the lhs rule contexts.
	SetLhs(IExprContext)

	// SetRhs sets the rhs rule contexts.
	SetRhs(IExprContext)

	// SetIndex sets the index rule contexts.
	SetIndex(IExprContext)

	// IsExprContext differentiates from other interfaces.
	IsExprContext()
}

IExprContext 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 IFieldDeclarationContext added in v0.0.4

type IFieldDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldDeclarationContext differentiates from other interfaces.
	IsFieldDeclarationContext()
}

IFieldDeclarationContext is an interface to support dynamic dispatch.

type IFloatLiteralContext

type IFloatLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFloatLiteralContext differentiates from other interfaces.
	IsFloatLiteralContext()
}

IFloatLiteralContext is an interface to support dynamic dispatch.

type IForControlContext

type IForControlContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetForUpdate returns the forUpdate rule contexts.
	GetForUpdate() IExpressionListContext

	// SetForUpdate sets the forUpdate rule contexts.
	SetForUpdate(IExpressionListContext)

	// IsForControlContext differentiates from other interfaces.
	IsForControlContext()
}

IForControlContext is an interface to support dynamic dispatch.

type IForInitContext

type IForInitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsForInitContext differentiates from other interfaces.
	IsForInitContext()
}

IForInitContext is an interface to support dynamic dispatch.

type IFormalParameterContext added in v0.0.4

type IFormalParameterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFormalParameterContext differentiates from other interfaces.
	IsFormalParameterContext()
}

IFormalParameterContext is an interface to support dynamic dispatch.

type IFormalParameterListContext added in v0.0.4

type IFormalParameterListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFormalParameterListContext differentiates from other interfaces.
	IsFormalParameterListContext()
}

IFormalParameterListContext is an interface to support dynamic dispatch.

type IFormalParametersContext added in v0.0.4

type IFormalParametersContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFormalParametersContext differentiates from other interfaces.
	IsFormalParametersContext()
}

IFormalParametersContext is an interface to support dynamic dispatch.

type IFunctionBodyContext added in v0.0.4

type IFunctionBodyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionBodyContext differentiates from other interfaces.
	IsFunctionBodyContext()
}

IFunctionBodyContext is an interface to support dynamic dispatch.

type IFunctionCallContext added in v0.0.4

type IFunctionCallContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionCallContext differentiates from other interfaces.
	IsFunctionCallContext()
}

IFunctionCallContext is an interface to support dynamic dispatch.

type IFunctionDeclarationContext added in v0.0.4

type IFunctionDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionDeclarationContext differentiates from other interfaces.
	IsFunctionDeclarationContext()
}

IFunctionDeclarationContext 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 IIntegerLiteralContext

type IIntegerLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIntegerLiteralContext differentiates from other interfaces.
	IsIntegerLiteralContext()
}

IIntegerLiteralContext is an interface to support dynamic dispatch.

type ILastFormalParameterContext added in v0.0.4

type ILastFormalParameterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsLastFormalParameterContext differentiates from other interfaces.
	IsLastFormalParameterContext()
}

ILastFormalParameterContext 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 IMemberDeclarationContext added in v0.0.4

type IMemberDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMemberDeclarationContext differentiates from other interfaces.
	IsMemberDeclarationContext()
}

IMemberDeclarationContext is an interface to support dynamic dispatch.

type IOperatorOverloadingContext added in v0.0.7

type IOperatorOverloadingContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOperatorOverloadingContext differentiates from other interfaces.
	IsOperatorOverloadingContext()
}

IOperatorOverloadingContext is an interface to support dynamic dispatch.

type IParExpressionContext

type IParExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParExpressionContext differentiates from other interfaces.
	IsParExpressionContext()
}

IParExpressionContext is an interface to support dynamic dispatch.

type IParseContext

type IParseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_expr returns the _expr rule contexts.
	Get_expr() IExprContext

	// Set_expr sets the _expr rule contexts.
	Set_expr(IExprContext)

	// GetExpr_list returns the expr_list rule context list.
	GetExpr_list() []IExprContext

	// SetExpr_list sets the expr_list rule context list.
	SetExpr_list([]IExprContext)

	// IsParseContext differentiates from other interfaces.
	IsParseContext()
}

IParseContext is an interface to support dynamic dispatch.

type IPrimaryContext added in v0.0.4

type IPrimaryContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPrimaryContext differentiates from other interfaces.
	IsPrimaryContext()
}

IPrimaryContext is an interface to support dynamic dispatch.

type IPrimitiveTypeContext

type IPrimitiveTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPrimitiveTypeContext differentiates from other interfaces.
	IsPrimitiveTypeContext()
}

IPrimitiveTypeContext is an interface to support dynamic dispatch.

type IProgContext

type IProgContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsProgContext differentiates from other interfaces.
	IsProgContext()
}

IProgContext is an interface to support dynamic dispatch.

type IQualifiedNameContext added in v0.0.4

type IQualifiedNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsQualifiedNameContext differentiates from other interfaces.
	IsQualifiedNameContext()
}

IQualifiedNameContext is an interface to support dynamic dispatch.

type IQualifiedNameListContext added in v0.0.4

type IQualifiedNameListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsQualifiedNameListContext differentiates from other interfaces.
	IsQualifiedNameListContext()
}

IQualifiedNameListContext 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 IString_Context added in v0.0.8

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 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 ITypeTypeContext

type ITypeTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeTypeContext differentiates from other interfaces.
	IsTypeTypeContext()
}

ITypeTypeContext is an interface to support dynamic dispatch.

type ITypeTypeOrVoidContext

type ITypeTypeOrVoidContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeTypeOrVoidContext differentiates from other interfaces.
	IsTypeTypeOrVoidContext()
}

ITypeTypeOrVoidContext is an interface to support dynamic dispatch.

type IVariableDeclaratorContext

type IVariableDeclaratorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableDeclaratorContext differentiates from other interfaces.
	IsVariableDeclaratorContext()
}

IVariableDeclaratorContext is an interface to support dynamic dispatch.

type IVariableDeclaratorIdContext

type IVariableDeclaratorIdContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableDeclaratorIdContext differentiates from other interfaces.
	IsVariableDeclaratorIdContext()
}

IVariableDeclaratorIdContext is an interface to support dynamic dispatch.

type IVariableDeclaratorsContext

type IVariableDeclaratorsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableDeclaratorsContext differentiates from other interfaces.
	IsVariableDeclaratorsContext()
}

IVariableDeclaratorsContext is an interface to support dynamic dispatch.

type IVariableInitializerContext

type IVariableInitializerContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableInitializerContext differentiates from other interfaces.
	IsVariableInitializerContext()
}

IVariableInitializerContext is an interface to support dynamic dispatch.

type IVariableModifierContext added in v0.0.4

type IVariableModifierContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableModifierContext differentiates from other interfaces.
	IsVariableModifierContext()
}

IVariableModifierContext is an interface to support dynamic dispatch.

type IntegerLiteralContext

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

func NewEmptyIntegerLiteralContext

func NewEmptyIntegerLiteralContext() *IntegerLiteralContext

func NewIntegerLiteralContext

func NewIntegerLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerLiteralContext

func (*IntegerLiteralContext) Accept

func (s *IntegerLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*IntegerLiteralContext) DECIMAL_LITERAL

func (s *IntegerLiteralContext) DECIMAL_LITERAL() antlr.TerminalNode

func (*IntegerLiteralContext) EnterRule added in v0.0.4

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

func (*IntegerLiteralContext) ExitRule added in v0.0.4

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

func (*IntegerLiteralContext) GetParser

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

func (*IntegerLiteralContext) GetRuleContext

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

func (*IntegerLiteralContext) IsIntegerLiteralContext

func (*IntegerLiteralContext) IsIntegerLiteralContext()

func (*IntegerLiteralContext) ToStringTree

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

type LastFormalParameterContext added in v0.0.4

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

func NewEmptyLastFormalParameterContext added in v0.0.4

func NewEmptyLastFormalParameterContext() *LastFormalParameterContext

func NewLastFormalParameterContext added in v0.0.4

func NewLastFormalParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LastFormalParameterContext

func (*LastFormalParameterContext) Accept added in v0.0.4

func (s *LastFormalParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*LastFormalParameterContext) AllVariableModifier added in v0.0.4

func (s *LastFormalParameterContext) AllVariableModifier() []IVariableModifierContext

func (*LastFormalParameterContext) ELLIPSIS added in v0.0.9

func (*LastFormalParameterContext) EnterRule added in v0.0.4

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

func (*LastFormalParameterContext) ExitRule added in v0.0.4

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

func (*LastFormalParameterContext) GetParser added in v0.0.4

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

func (*LastFormalParameterContext) GetRuleContext added in v0.0.4

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

func (*LastFormalParameterContext) IsLastFormalParameterContext added in v0.0.4

func (*LastFormalParameterContext) IsLastFormalParameterContext()

func (*LastFormalParameterContext) ToStringTree added in v0.0.4

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

func (*LastFormalParameterContext) TypeType added in v0.0.4

func (*LastFormalParameterContext) VariableDeclaratorId added in v0.0.4

func (s *LastFormalParameterContext) VariableDeclaratorId() IVariableDeclaratorIdContext

func (*LastFormalParameterContext) VariableModifier added in v0.0.4

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) Accept added in v0.0.4

func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*LiteralContext) BOOL_LITERAL added in v0.0.4

func (s *LiteralContext) BOOL_LITERAL() antlr.TerminalNode

func (*LiteralContext) DECIMAL_LITERAL added in v0.0.4

func (s *LiteralContext) DECIMAL_LITERAL() antlr.TerminalNode

func (*LiteralContext) EnterRule added in v0.0.4

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

func (*LiteralContext) ExitRule added in v0.0.4

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

func (*LiteralContext) FLOAT_LITERAL added in v0.0.4

func (s *LiteralContext) FLOAT_LITERAL() antlr.TerminalNode

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) NULL_LITERAL added in v0.0.4

func (s *LiteralContext) NULL_LITERAL() antlr.TerminalNode

func (*LiteralContext) Nil added in v0.0.6

func (*LiteralContext) String_ added in v0.0.8

func (s *LiteralContext) String_() IString_Context

func (*LiteralContext) ToStringTree

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

type MemberDeclarationContext added in v0.0.4

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

func NewEmptyMemberDeclarationContext added in v0.0.4

func NewEmptyMemberDeclarationContext() *MemberDeclarationContext

func NewMemberDeclarationContext added in v0.0.4

func NewMemberDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemberDeclarationContext

func (*MemberDeclarationContext) Accept added in v0.0.4

func (s *MemberDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MemberDeclarationContext) EnterRule added in v0.0.4

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

func (*MemberDeclarationContext) ExitRule added in v0.0.4

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

func (*MemberDeclarationContext) FieldDeclaration added in v0.0.4

func (s *MemberDeclarationContext) FieldDeclaration() IFieldDeclarationContext

func (*MemberDeclarationContext) FunctionDeclaration added in v0.0.4

func (s *MemberDeclarationContext) FunctionDeclaration() IFunctionDeclarationContext

func (*MemberDeclarationContext) GetParser added in v0.0.4

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

func (*MemberDeclarationContext) GetRuleContext added in v0.0.4

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

func (*MemberDeclarationContext) IsMemberDeclarationContext added in v0.0.4

func (*MemberDeclarationContext) IsMemberDeclarationContext()

func (*MemberDeclarationContext) ToStringTree added in v0.0.4

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

type OperatorOverloadingContext added in v0.0.7

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

func NewEmptyOperatorOverloadingContext added in v0.0.7

func NewEmptyOperatorOverloadingContext() *OperatorOverloadingContext

func NewOperatorOverloadingContext added in v0.0.7

func NewOperatorOverloadingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorOverloadingContext

func (*OperatorOverloadingContext) Accept added in v0.0.7

func (s *OperatorOverloadingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OperatorOverloadingContext) DIV added in v0.0.7

func (*OperatorOverloadingContext) EQUAL added in v0.0.7

func (*OperatorOverloadingContext) EnterRule added in v0.0.7

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

func (*OperatorOverloadingContext) ExitRule added in v0.0.7

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

func (*OperatorOverloadingContext) GE added in v0.0.7

func (*OperatorOverloadingContext) GT added in v0.0.7

func (*OperatorOverloadingContext) GetParser added in v0.0.7

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

func (*OperatorOverloadingContext) GetRuleContext added in v0.0.7

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

func (*OperatorOverloadingContext) IsOperatorOverloadingContext added in v0.0.7

func (*OperatorOverloadingContext) IsOperatorOverloadingContext()

func (*OperatorOverloadingContext) LE added in v0.0.7

func (*OperatorOverloadingContext) LT added in v0.0.7

func (*OperatorOverloadingContext) MULT added in v0.0.7

func (*OperatorOverloadingContext) NOTEQUAL added in v0.0.7

func (*OperatorOverloadingContext) PLUS added in v0.0.7

func (*OperatorOverloadingContext) SUB added in v0.0.7

func (*OperatorOverloadingContext) ToStringTree added in v0.0.7

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

type ParExpressionContext

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

func NewEmptyParExpressionContext

func NewEmptyParExpressionContext() *ParExpressionContext

func NewParExpressionContext

func NewParExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParExpressionContext

func (*ParExpressionContext) Accept

func (s *ParExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ParExpressionContext) EnterRule added in v0.0.4

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

func (*ParExpressionContext) ExitRule added in v0.0.4

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

func (*ParExpressionContext) Expr

func (*ParExpressionContext) GetParser

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

func (*ParExpressionContext) GetRuleContext

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

func (*ParExpressionContext) IsParExpressionContext

func (*ParExpressionContext) IsParExpressionContext()

func (*ParExpressionContext) LPAREN added in v0.0.4

func (*ParExpressionContext) RPAREN added in v0.0.4

func (*ParExpressionContext) ToStringTree

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

type ParseContext

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

func NewEmptyParseContext

func NewEmptyParseContext() *ParseContext

func NewParseContext

func NewParseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParseContext

func (*ParseContext) Accept

func (s *ParseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ParseContext) AllExpr

func (s *ParseContext) AllExpr() []IExprContext

func (*ParseContext) EOF

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

func (*ParseContext) EnterRule added in v0.0.4

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

func (*ParseContext) ExitRule added in v0.0.4

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

func (*ParseContext) Expr

func (s *ParseContext) Expr(i int) IExprContext

func (*ParseContext) GetExpr_list

func (s *ParseContext) GetExpr_list() []IExprContext

func (*ParseContext) GetParser

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

func (*ParseContext) GetRuleContext

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

func (*ParseContext) Get_expr

func (s *ParseContext) Get_expr() IExprContext

func (*ParseContext) IsParseContext

func (*ParseContext) IsParseContext()

func (*ParseContext) SetExpr_list

func (s *ParseContext) SetExpr_list(v []IExprContext)

func (*ParseContext) Set_expr

func (s *ParseContext) Set_expr(v IExprContext)

func (*ParseContext) ToStringTree

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

type PrimaryContext added in v0.0.4

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

func NewEmptyPrimaryContext added in v0.0.4

func NewEmptyPrimaryContext() *PrimaryContext

func NewPrimaryContext added in v0.0.4

func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext

func (*PrimaryContext) Accept added in v0.0.4

func (s *PrimaryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PrimaryContext) EnterRule added in v0.0.4

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

func (*PrimaryContext) ExitRule added in v0.0.4

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

func (*PrimaryContext) Expr added in v0.0.4

func (s *PrimaryContext) Expr() IExprContext

func (*PrimaryContext) GetParser added in v0.0.4

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

func (*PrimaryContext) GetRuleContext added in v0.0.4

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

func (*PrimaryContext) IDENTIFIER added in v0.0.4

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

func (*PrimaryContext) IsPrimaryContext added in v0.0.4

func (*PrimaryContext) IsPrimaryContext()

func (*PrimaryContext) LPAREN added in v0.0.4

func (s *PrimaryContext) LPAREN() antlr.TerminalNode

func (*PrimaryContext) Literal added in v0.0.4

func (s *PrimaryContext) Literal() ILiteralContext

func (*PrimaryContext) RPAREN added in v0.0.4

func (s *PrimaryContext) RPAREN() antlr.TerminalNode

func (*PrimaryContext) ToStringTree added in v0.0.4

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

type PrimitiveTypeContext

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

func NewEmptyPrimitiveTypeContext

func NewEmptyPrimitiveTypeContext() *PrimitiveTypeContext

func NewPrimitiveTypeContext

func NewPrimitiveTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimitiveTypeContext

func (*PrimitiveTypeContext) ANY added in v0.0.8

func (*PrimitiveTypeContext) Accept

func (s *PrimitiveTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PrimitiveTypeContext) BOOLEAN added in v0.0.4

func (*PrimitiveTypeContext) BYTE added in v0.0.11

func (*PrimitiveTypeContext) EnterRule added in v0.0.4

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

func (*PrimitiveTypeContext) ExitRule added in v0.0.4

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

func (*PrimitiveTypeContext) FLOAT added in v0.0.4

func (*PrimitiveTypeContext) GetParser

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

func (*PrimitiveTypeContext) GetRuleContext

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

func (*PrimitiveTypeContext) INT added in v0.0.4

func (*PrimitiveTypeContext) IsPrimitiveTypeContext

func (*PrimitiveTypeContext) IsPrimitiveTypeContext()

func (*PrimitiveTypeContext) STRING

func (*PrimitiveTypeContext) ToStringTree

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

type ProgContext

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

func NewEmptyProgContext

func NewEmptyProgContext() *ProgContext

func NewProgContext

func NewProgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgContext

func (*ProgContext) Accept

func (s *ProgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ProgContext) BlockStatements

func (s *ProgContext) BlockStatements() IBlockStatementsContext

func (*ProgContext) EnterRule added in v0.0.4

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

func (*ProgContext) ExitRule added in v0.0.4

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

func (*ProgContext) GetParser

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

func (*ProgContext) GetRuleContext

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

func (*ProgContext) IsProgContext

func (*ProgContext) IsProgContext()

func (*ProgContext) ToStringTree

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

type QualifiedNameContext added in v0.0.4

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

func NewEmptyQualifiedNameContext added in v0.0.4

func NewEmptyQualifiedNameContext() *QualifiedNameContext

func NewQualifiedNameContext added in v0.0.4

func NewQualifiedNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QualifiedNameContext

func (*QualifiedNameContext) Accept added in v0.0.4

func (s *QualifiedNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*QualifiedNameContext) AllDOT added in v0.0.6

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

func (*QualifiedNameContext) AllIDENTIFIER added in v0.0.4

func (s *QualifiedNameContext) AllIDENTIFIER() []antlr.TerminalNode

func (*QualifiedNameContext) DOT added in v0.0.6

func (*QualifiedNameContext) EnterRule added in v0.0.4

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

func (*QualifiedNameContext) ExitRule added in v0.0.4

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

func (*QualifiedNameContext) GetParser added in v0.0.4

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

func (*QualifiedNameContext) GetRuleContext added in v0.0.4

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

func (*QualifiedNameContext) IDENTIFIER added in v0.0.4

func (s *QualifiedNameContext) IDENTIFIER(i int) antlr.TerminalNode

func (*QualifiedNameContext) IsQualifiedNameContext added in v0.0.4

func (*QualifiedNameContext) IsQualifiedNameContext()

func (*QualifiedNameContext) ToStringTree added in v0.0.4

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

type QualifiedNameListContext added in v0.0.4

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

func NewEmptyQualifiedNameListContext added in v0.0.4

func NewEmptyQualifiedNameListContext() *QualifiedNameListContext

func NewQualifiedNameListContext added in v0.0.4

func NewQualifiedNameListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QualifiedNameListContext

func (*QualifiedNameListContext) Accept added in v0.0.4

func (s *QualifiedNameListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*QualifiedNameListContext) AllQualifiedName added in v0.0.4

func (s *QualifiedNameListContext) AllQualifiedName() []IQualifiedNameContext

func (*QualifiedNameListContext) EnterRule added in v0.0.4

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

func (*QualifiedNameListContext) ExitRule added in v0.0.4

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

func (*QualifiedNameListContext) GetParser added in v0.0.4

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

func (*QualifiedNameListContext) GetRuleContext added in v0.0.4

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

func (*QualifiedNameListContext) IsQualifiedNameListContext added in v0.0.4

func (*QualifiedNameListContext) IsQualifiedNameListContext()

func (*QualifiedNameListContext) QualifiedName added in v0.0.4

func (*QualifiedNameListContext) ToStringTree added in v0.0.4

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

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

func (s *StatementContext) CopyFrom(ctx *StatementContext)

func (*StatementContext) GetParser

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

func (*StatementContext) GetRuleContext

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

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) ToStringTree

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

type StmBlockLabelContext added in v0.0.4

type StmBlockLabelContext struct {
	*StatementContext
	// contains filtered or unexported fields
}

func NewStmBlockLabelContext added in v0.0.4

func NewStmBlockLabelContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmBlockLabelContext

func (*StmBlockLabelContext) Accept added in v0.0.4

func (s *StmBlockLabelContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmBlockLabelContext) Block added in v0.0.4

func (*StmBlockLabelContext) EnterRule added in v0.0.4

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

func (*StmBlockLabelContext) ExitRule added in v0.0.4

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

func (*StmBlockLabelContext) GetBlockLabel added in v0.0.4

func (s *StmBlockLabelContext) GetBlockLabel() IBlockContext

func (*StmBlockLabelContext) GetRuleContext added in v0.0.4

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

func (*StmBlockLabelContext) SetBlockLabel added in v0.0.4

func (s *StmBlockLabelContext) SetBlockLabel(v IBlockContext)

type StmBreakContext added in v0.0.6

type StmBreakContext struct {
	*StatementContext
}

func NewStmBreakContext added in v0.0.6

func NewStmBreakContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmBreakContext

func (*StmBreakContext) Accept added in v0.0.6

func (s *StmBreakContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmBreakContext) BREAK added in v0.0.6

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

func (*StmBreakContext) EnterRule added in v0.0.6

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

func (*StmBreakContext) ExitRule added in v0.0.6

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

func (*StmBreakContext) GetRuleContext added in v0.0.6

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

func (*StmBreakContext) IDENTIFIER added in v0.0.6

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

type StmContinueContext added in v0.0.6

type StmContinueContext struct {
	*StatementContext
}

func NewStmContinueContext added in v0.0.6

func NewStmContinueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmContinueContext

func (*StmContinueContext) Accept added in v0.0.6

func (s *StmContinueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmContinueContext) CONTINUE added in v0.0.6

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

func (*StmContinueContext) EnterRule added in v0.0.6

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

func (*StmContinueContext) ExitRule added in v0.0.6

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

func (*StmContinueContext) GetRuleContext added in v0.0.6

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

func (*StmContinueContext) IDENTIFIER added in v0.0.6

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

type StmExprContext

type StmExprContext struct {
	*StatementContext
	// contains filtered or unexported fields
}

func NewStmExprContext

func NewStmExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmExprContext

func (*StmExprContext) Accept

func (s *StmExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmExprContext) EnterRule added in v0.0.4

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

func (*StmExprContext) ExitRule added in v0.0.4

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

func (*StmExprContext) Expr

func (s *StmExprContext) Expr() IExprContext

func (*StmExprContext) GetRuleContext

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

func (*StmExprContext) GetStatementExpression

func (s *StmExprContext) GetStatementExpression() IExprContext

func (*StmExprContext) SetStatementExpression

func (s *StmExprContext) SetStatementExpression(v IExprContext)

type StmForContext added in v0.0.4

type StmForContext struct {
	*StatementContext
}

func NewStmForContext added in v0.0.4

func NewStmForContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmForContext

func (*StmForContext) Accept added in v0.0.4

func (s *StmForContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmForContext) EnterRule added in v0.0.4

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

func (*StmForContext) ExitRule added in v0.0.4

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

func (*StmForContext) FOR added in v0.0.4

func (s *StmForContext) FOR() antlr.TerminalNode

func (*StmForContext) ForControl added in v0.0.4

func (s *StmForContext) ForControl() IForControlContext

func (*StmForContext) GetRuleContext added in v0.0.4

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

func (*StmForContext) LPAREN added in v0.0.4

func (s *StmForContext) LPAREN() antlr.TerminalNode

func (*StmForContext) RPAREN added in v0.0.4

func (s *StmForContext) RPAREN() antlr.TerminalNode

func (*StmForContext) Statement added in v0.0.4

func (s *StmForContext) Statement() IStatementContext

type StmIfElseContext added in v0.0.4

type StmIfElseContext struct {
	*StatementContext
}

func NewStmIfElseContext added in v0.0.4

func NewStmIfElseContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmIfElseContext

func (*StmIfElseContext) Accept added in v0.0.4

func (s *StmIfElseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmIfElseContext) AllStatement added in v0.0.4

func (s *StmIfElseContext) AllStatement() []IStatementContext

func (*StmIfElseContext) ELSE added in v0.0.4

func (*StmIfElseContext) EnterRule added in v0.0.4

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

func (*StmIfElseContext) ExitRule added in v0.0.4

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

func (*StmIfElseContext) GetRuleContext added in v0.0.4

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

func (*StmIfElseContext) IF added in v0.0.4

func (*StmIfElseContext) ParExpression added in v0.0.4

func (s *StmIfElseContext) ParExpression() IParExpressionContext

func (*StmIfElseContext) Statement added in v0.0.4

func (s *StmIfElseContext) Statement(i int) IStatementContext

type StmReturnContext added in v0.0.4

type StmReturnContext struct {
	*StatementContext
}

func NewStmReturnContext added in v0.0.4

func NewStmReturnContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmReturnContext

func (*StmReturnContext) Accept added in v0.0.4

func (s *StmReturnContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmReturnContext) EnterRule added in v0.0.4

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

func (*StmReturnContext) ExitRule added in v0.0.4

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

func (*StmReturnContext) Expr added in v0.0.4

func (s *StmReturnContext) Expr() IExprContext

func (*StmReturnContext) GetRuleContext added in v0.0.4

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

func (*StmReturnContext) RETURN added in v0.0.4

func (s *StmReturnContext) RETURN() antlr.TerminalNode

type StmWhileContext added in v0.0.6

type StmWhileContext struct {
	*StatementContext
}

func NewStmWhileContext added in v0.0.6

func NewStmWhileContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StmWhileContext

func (*StmWhileContext) Accept added in v0.0.6

func (s *StmWhileContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmWhileContext) EnterRule added in v0.0.6

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

func (*StmWhileContext) ExitRule added in v0.0.6

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

func (*StmWhileContext) FOR added in v0.0.6

func (*StmWhileContext) GetRuleContext added in v0.0.6

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

func (*StmWhileContext) ParExpression added in v0.0.6

func (s *StmWhileContext) ParExpression() IParExpressionContext

func (*StmWhileContext) Statement added in v0.0.6

func (s *StmWhileContext) Statement() IStatementContext

type String_Context added in v0.0.8

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

func NewEmptyString_Context added in v0.0.8

func NewEmptyString_Context() *String_Context

func NewString_Context added in v0.0.8

func NewString_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *String_Context

func (*String_Context) Accept added in v0.0.8

func (s *String_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*String_Context) EnterRule added in v0.0.8

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

func (*String_Context) ExitRule added in v0.0.8

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

func (*String_Context) GetParser added in v0.0.8

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

func (*String_Context) GetRuleContext added in v0.0.8

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

func (*String_Context) IsString_Context added in v0.0.8

func (*String_Context) IsString_Context()

func (*String_Context) RAW_STRING_LIT added in v0.0.8

func (s *String_Context) RAW_STRING_LIT() antlr.TerminalNode

func (*String_Context) STRING_LITERAL added in v0.0.8

func (s *String_Context) STRING_LITERAL() antlr.TerminalNode

func (*String_Context) ToStringTree added in v0.0.8

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

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

func (s *TypeListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TypeListContext) AllTypeType

func (s *TypeListContext) AllTypeType() []ITypeTypeContext

func (*TypeListContext) EnterRule added in v0.0.4

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

func (*TypeListContext) ExitRule added in v0.0.4

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

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

func (*TypeListContext) TypeType

func (s *TypeListContext) TypeType(i int) ITypeTypeContext

type TypeTypeContext

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

func NewEmptyTypeTypeContext

func NewEmptyTypeTypeContext() *TypeTypeContext

func NewTypeTypeContext

func NewTypeTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeTypeContext

func (*TypeTypeContext) Accept

func (s *TypeTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TypeTypeContext) AllLBRACK added in v0.0.4

func (s *TypeTypeContext) AllLBRACK() []antlr.TerminalNode

func (*TypeTypeContext) AllRBRACK added in v0.0.4

func (s *TypeTypeContext) AllRBRACK() []antlr.TerminalNode

func (*TypeTypeContext) ClassOrInterfaceType

func (s *TypeTypeContext) ClassOrInterfaceType() IClassOrInterfaceTypeContext

func (*TypeTypeContext) EnterRule added in v0.0.4

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

func (*TypeTypeContext) ExitRule added in v0.0.4

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

func (*TypeTypeContext) FunctionType

func (s *TypeTypeContext) FunctionType() IFunctionTypeContext

func (*TypeTypeContext) GetParser

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

func (*TypeTypeContext) GetRuleContext

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

func (*TypeTypeContext) IsTypeTypeContext

func (*TypeTypeContext) IsTypeTypeContext()

func (*TypeTypeContext) LBRACK added in v0.0.4

func (s *TypeTypeContext) LBRACK(i int) antlr.TerminalNode

func (*TypeTypeContext) PrimitiveType

func (s *TypeTypeContext) PrimitiveType() IPrimitiveTypeContext

func (*TypeTypeContext) RBRACK added in v0.0.4

func (s *TypeTypeContext) RBRACK(i int) antlr.TerminalNode

func (*TypeTypeContext) ToStringTree

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

type TypeTypeOrVoidContext

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

func NewEmptyTypeTypeOrVoidContext

func NewEmptyTypeTypeOrVoidContext() *TypeTypeOrVoidContext

func NewTypeTypeOrVoidContext

func NewTypeTypeOrVoidContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeTypeOrVoidContext

func (*TypeTypeOrVoidContext) Accept

func (s *TypeTypeOrVoidContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TypeTypeOrVoidContext) EnterRule added in v0.0.4

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

func (*TypeTypeOrVoidContext) ExitRule added in v0.0.4

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

func (*TypeTypeOrVoidContext) GetParser

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

func (*TypeTypeOrVoidContext) GetRuleContext

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

func (*TypeTypeOrVoidContext) IsTypeTypeOrVoidContext

func (*TypeTypeOrVoidContext) IsTypeTypeOrVoidContext()

func (*TypeTypeOrVoidContext) ToStringTree

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

func (*TypeTypeOrVoidContext) TypeType

func (*TypeTypeOrVoidContext) VOID

type VariableDeclaratorContext

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

func NewEmptyVariableDeclaratorContext

func NewEmptyVariableDeclaratorContext() *VariableDeclaratorContext

func NewVariableDeclaratorContext

func NewVariableDeclaratorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclaratorContext

func (*VariableDeclaratorContext) ASSIGN

func (*VariableDeclaratorContext) Accept

func (s *VariableDeclaratorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableDeclaratorContext) EnterRule added in v0.0.4

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

func (*VariableDeclaratorContext) ExitRule added in v0.0.4

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

func (*VariableDeclaratorContext) GetParser

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

func (*VariableDeclaratorContext) GetRuleContext

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

func (*VariableDeclaratorContext) IsVariableDeclaratorContext

func (*VariableDeclaratorContext) IsVariableDeclaratorContext()

func (*VariableDeclaratorContext) ToStringTree

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

func (*VariableDeclaratorContext) VariableDeclaratorId

func (s *VariableDeclaratorContext) VariableDeclaratorId() IVariableDeclaratorIdContext

func (*VariableDeclaratorContext) VariableInitializer

func (s *VariableDeclaratorContext) VariableInitializer() IVariableInitializerContext

type VariableDeclaratorIdContext

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

func NewEmptyVariableDeclaratorIdContext

func NewEmptyVariableDeclaratorIdContext() *VariableDeclaratorIdContext

func NewVariableDeclaratorIdContext

func NewVariableDeclaratorIdContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclaratorIdContext

func (*VariableDeclaratorIdContext) Accept

func (s *VariableDeclaratorIdContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableDeclaratorIdContext) AllLBRACK added in v0.0.4

func (*VariableDeclaratorIdContext) AllRBRACK added in v0.0.4

func (*VariableDeclaratorIdContext) EnterRule added in v0.0.4

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

func (*VariableDeclaratorIdContext) ExitRule added in v0.0.4

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

func (*VariableDeclaratorIdContext) GetParser

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

func (*VariableDeclaratorIdContext) GetRuleContext

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

func (*VariableDeclaratorIdContext) IDENTIFIER

func (*VariableDeclaratorIdContext) IsVariableDeclaratorIdContext

func (*VariableDeclaratorIdContext) IsVariableDeclaratorIdContext()

func (*VariableDeclaratorIdContext) LBRACK added in v0.0.4

func (*VariableDeclaratorIdContext) RBRACK added in v0.0.4

func (*VariableDeclaratorIdContext) ToStringTree

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

type VariableDeclaratorsContext

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

func NewEmptyVariableDeclaratorsContext

func NewEmptyVariableDeclaratorsContext() *VariableDeclaratorsContext

func NewVariableDeclaratorsContext

func NewVariableDeclaratorsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclaratorsContext

func (*VariableDeclaratorsContext) Accept

func (s *VariableDeclaratorsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableDeclaratorsContext) AllVariableDeclarator

func (s *VariableDeclaratorsContext) AllVariableDeclarator() []IVariableDeclaratorContext

func (*VariableDeclaratorsContext) EnterRule added in v0.0.4

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

func (*VariableDeclaratorsContext) ExitRule added in v0.0.4

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

func (*VariableDeclaratorsContext) GetParser

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

func (*VariableDeclaratorsContext) GetRuleContext

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

func (*VariableDeclaratorsContext) IsVariableDeclaratorsContext

func (*VariableDeclaratorsContext) IsVariableDeclaratorsContext()

func (*VariableDeclaratorsContext) ToStringTree

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

func (*VariableDeclaratorsContext) TypeType

func (*VariableDeclaratorsContext) VariableDeclarator

type VariableInitializerContext

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

func NewEmptyVariableInitializerContext

func NewEmptyVariableInitializerContext() *VariableInitializerContext

func NewVariableInitializerContext

func NewVariableInitializerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableInitializerContext

func (*VariableInitializerContext) Accept

func (s *VariableInitializerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableInitializerContext) ArrayInitializer added in v0.0.4

func (*VariableInitializerContext) EnterRule added in v0.0.4

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

func (*VariableInitializerContext) ExitRule added in v0.0.4

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

func (*VariableInitializerContext) Expr

func (*VariableInitializerContext) GetParser

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

func (*VariableInitializerContext) GetRuleContext

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

func (*VariableInitializerContext) IsVariableInitializerContext

func (*VariableInitializerContext) IsVariableInitializerContext()

func (*VariableInitializerContext) ToStringTree

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

type VariableModifierContext added in v0.0.4

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

func NewEmptyVariableModifierContext added in v0.0.4

func NewEmptyVariableModifierContext() *VariableModifierContext

func NewVariableModifierContext added in v0.0.4

func NewVariableModifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableModifierContext

func (*VariableModifierContext) Accept added in v0.0.4

func (s *VariableModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*VariableModifierContext) EnterRule added in v0.0.4

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

func (*VariableModifierContext) ExitRule added in v0.0.4

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

func (*VariableModifierContext) FINAL added in v0.0.4

func (*VariableModifierContext) GetParser added in v0.0.4

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

func (*VariableModifierContext) GetRuleContext added in v0.0.4

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

func (*VariableModifierContext) IsVariableModifierContext added in v0.0.4

func (*VariableModifierContext) IsVariableModifierContext()

func (*VariableModifierContext) ToStringTree added in v0.0.4

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

Jump to

Keyboard shortcuts

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