Documentation
¶
Index ¶
- Constants
- type ArrayInitializerContext
- func (s *ArrayInitializerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayInitializerContext) AllVariableInitializer() []IVariableInitializerContext
- func (s *ArrayInitializerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayInitializerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayInitializerContext) GetParser() antlr.Parser
- func (s *ArrayInitializerContext) GetRuleContext() antlr.RuleContext
- func (*ArrayInitializerContext) IsArrayInitializerContext()
- func (s *ArrayInitializerContext) LBRACE() antlr.TerminalNode
- func (s *ArrayInitializerContext) RBRACE() antlr.TerminalNode
- func (s *ArrayInitializerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArrayInitializerContext) VariableInitializer(i int) IVariableInitializerContext
- type BaseGScriptListener
- func (s *BaseGScriptListener) EnterArrayInitializer(ctx *ArrayInitializerContext)
- func (s *BaseGScriptListener) EnterBlock(ctx *BlockContext)
- func (s *BaseGScriptListener) EnterBlockFunc(ctx *BlockFuncContext)
- func (s *BaseGScriptListener) EnterBlockStm(ctx *BlockStmContext)
- func (s *BaseGScriptListener) EnterBlockStms(ctx *BlockStmsContext)
- func (s *BaseGScriptListener) EnterBlockVarDeclar(ctx *BlockVarDeclarContext)
- func (s *BaseGScriptListener) EnterClassBody(ctx *ClassBodyContext)
- func (s *BaseGScriptListener) EnterClassBodyDeclaration(ctx *ClassBodyDeclarationContext)
- func (s *BaseGScriptListener) EnterClassDeclaration(ctx *ClassDeclarationContext)
- func (s *BaseGScriptListener) EnterClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext)
- func (s *BaseGScriptListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseGScriptListener) EnterExpr(ctx *ExprContext)
- func (s *BaseGScriptListener) EnterExpressionList(ctx *ExpressionListContext)
- func (s *BaseGScriptListener) EnterFieldDeclaration(ctx *FieldDeclarationContext)
- func (s *BaseGScriptListener) EnterFloatLiteral(ctx *FloatLiteralContext)
- func (s *BaseGScriptListener) EnterForControl(ctx *ForControlContext)
- func (s *BaseGScriptListener) EnterForInit(ctx *ForInitContext)
- func (s *BaseGScriptListener) EnterFormalParameter(ctx *FormalParameterContext)
- func (s *BaseGScriptListener) EnterFormalParameterList(ctx *FormalParameterListContext)
- func (s *BaseGScriptListener) EnterFormalParameters(ctx *FormalParametersContext)
- func (s *BaseGScriptListener) EnterFunctionBody(ctx *FunctionBodyContext)
- func (s *BaseGScriptListener) EnterFunctionCall(ctx *FunctionCallContext)
- func (s *BaseGScriptListener) EnterFunctionDeclaration(ctx *FunctionDeclarationContext)
- func (s *BaseGScriptListener) EnterFunctionType(ctx *FunctionTypeContext)
- func (s *BaseGScriptListener) EnterIntegerLiteral(ctx *IntegerLiteralContext)
- func (s *BaseGScriptListener) EnterLastFormalParameter(ctx *LastFormalParameterContext)
- func (s *BaseGScriptListener) EnterLiteral(ctx *LiteralContext)
- func (s *BaseGScriptListener) EnterMemberDeclaration(ctx *MemberDeclarationContext)
- func (s *BaseGScriptListener) EnterParExpression(ctx *ParExpressionContext)
- func (s *BaseGScriptListener) EnterParse(ctx *ParseContext)
- func (s *BaseGScriptListener) EnterPrimary(ctx *PrimaryContext)
- func (s *BaseGScriptListener) EnterPrimitiveType(ctx *PrimitiveTypeContext)
- func (s *BaseGScriptListener) EnterProg(ctx *ProgContext)
- func (s *BaseGScriptListener) EnterQualifiedName(ctx *QualifiedNameContext)
- func (s *BaseGScriptListener) EnterQualifiedNameList(ctx *QualifiedNameListContext)
- func (s *BaseGScriptListener) EnterStmBlockLabel(ctx *StmBlockLabelContext)
- func (s *BaseGScriptListener) EnterStmExpr(ctx *StmExprContext)
- func (s *BaseGScriptListener) EnterStmFor(ctx *StmForContext)
- func (s *BaseGScriptListener) EnterStmIfElse(ctx *StmIfElseContext)
- func (s *BaseGScriptListener) EnterStmReturn(ctx *StmReturnContext)
- func (s *BaseGScriptListener) EnterTypeList(ctx *TypeListContext)
- func (s *BaseGScriptListener) EnterTypeType(ctx *TypeTypeContext)
- func (s *BaseGScriptListener) EnterTypeTypeOrVoid(ctx *TypeTypeOrVoidContext)
- func (s *BaseGScriptListener) EnterVariableDeclarator(ctx *VariableDeclaratorContext)
- func (s *BaseGScriptListener) EnterVariableDeclaratorId(ctx *VariableDeclaratorIdContext)
- func (s *BaseGScriptListener) EnterVariableDeclarators(ctx *VariableDeclaratorsContext)
- func (s *BaseGScriptListener) EnterVariableInitializer(ctx *VariableInitializerContext)
- func (s *BaseGScriptListener) EnterVariableModifier(ctx *VariableModifierContext)
- func (s *BaseGScriptListener) ExitArrayInitializer(ctx *ArrayInitializerContext)
- func (s *BaseGScriptListener) ExitBlock(ctx *BlockContext)
- func (s *BaseGScriptListener) ExitBlockFunc(ctx *BlockFuncContext)
- func (s *BaseGScriptListener) ExitBlockStm(ctx *BlockStmContext)
- func (s *BaseGScriptListener) ExitBlockStms(ctx *BlockStmsContext)
- func (s *BaseGScriptListener) ExitBlockVarDeclar(ctx *BlockVarDeclarContext)
- func (s *BaseGScriptListener) ExitClassBody(ctx *ClassBodyContext)
- func (s *BaseGScriptListener) ExitClassBodyDeclaration(ctx *ClassBodyDeclarationContext)
- func (s *BaseGScriptListener) ExitClassDeclaration(ctx *ClassDeclarationContext)
- func (s *BaseGScriptListener) ExitClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext)
- func (s *BaseGScriptListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseGScriptListener) ExitExpr(ctx *ExprContext)
- func (s *BaseGScriptListener) ExitExpressionList(ctx *ExpressionListContext)
- func (s *BaseGScriptListener) ExitFieldDeclaration(ctx *FieldDeclarationContext)
- func (s *BaseGScriptListener) ExitFloatLiteral(ctx *FloatLiteralContext)
- func (s *BaseGScriptListener) ExitForControl(ctx *ForControlContext)
- func (s *BaseGScriptListener) ExitForInit(ctx *ForInitContext)
- func (s *BaseGScriptListener) ExitFormalParameter(ctx *FormalParameterContext)
- func (s *BaseGScriptListener) ExitFormalParameterList(ctx *FormalParameterListContext)
- func (s *BaseGScriptListener) ExitFormalParameters(ctx *FormalParametersContext)
- func (s *BaseGScriptListener) ExitFunctionBody(ctx *FunctionBodyContext)
- func (s *BaseGScriptListener) ExitFunctionCall(ctx *FunctionCallContext)
- func (s *BaseGScriptListener) ExitFunctionDeclaration(ctx *FunctionDeclarationContext)
- func (s *BaseGScriptListener) ExitFunctionType(ctx *FunctionTypeContext)
- func (s *BaseGScriptListener) ExitIntegerLiteral(ctx *IntegerLiteralContext)
- func (s *BaseGScriptListener) ExitLastFormalParameter(ctx *LastFormalParameterContext)
- func (s *BaseGScriptListener) ExitLiteral(ctx *LiteralContext)
- func (s *BaseGScriptListener) ExitMemberDeclaration(ctx *MemberDeclarationContext)
- func (s *BaseGScriptListener) ExitParExpression(ctx *ParExpressionContext)
- func (s *BaseGScriptListener) ExitParse(ctx *ParseContext)
- func (s *BaseGScriptListener) ExitPrimary(ctx *PrimaryContext)
- func (s *BaseGScriptListener) ExitPrimitiveType(ctx *PrimitiveTypeContext)
- func (s *BaseGScriptListener) ExitProg(ctx *ProgContext)
- func (s *BaseGScriptListener) ExitQualifiedName(ctx *QualifiedNameContext)
- func (s *BaseGScriptListener) ExitQualifiedNameList(ctx *QualifiedNameListContext)
- func (s *BaseGScriptListener) ExitStmBlockLabel(ctx *StmBlockLabelContext)
- func (s *BaseGScriptListener) ExitStmExpr(ctx *StmExprContext)
- func (s *BaseGScriptListener) ExitStmFor(ctx *StmForContext)
- func (s *BaseGScriptListener) ExitStmIfElse(ctx *StmIfElseContext)
- func (s *BaseGScriptListener) ExitStmReturn(ctx *StmReturnContext)
- func (s *BaseGScriptListener) ExitTypeList(ctx *TypeListContext)
- func (s *BaseGScriptListener) ExitTypeType(ctx *TypeTypeContext)
- func (s *BaseGScriptListener) ExitTypeTypeOrVoid(ctx *TypeTypeOrVoidContext)
- func (s *BaseGScriptListener) ExitVariableDeclarator(ctx *VariableDeclaratorContext)
- func (s *BaseGScriptListener) ExitVariableDeclaratorId(ctx *VariableDeclaratorIdContext)
- func (s *BaseGScriptListener) ExitVariableDeclarators(ctx *VariableDeclaratorsContext)
- func (s *BaseGScriptListener) ExitVariableInitializer(ctx *VariableInitializerContext)
- func (s *BaseGScriptListener) ExitVariableModifier(ctx *VariableModifierContext)
- func (s *BaseGScriptListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseGScriptListener) VisitTerminal(node antlr.TerminalNode)
- type BaseGScriptVisitor
- func (v *BaseGScriptVisitor) VisitArrayInitializer(ctx *ArrayInitializerContext) interface{}
- func (v *BaseGScriptVisitor) VisitBlock(ctx *BlockContext) interface{}
- func (v *BaseGScriptVisitor) VisitBlockFunc(ctx *BlockFuncContext) interface{}
- func (v *BaseGScriptVisitor) VisitBlockStm(ctx *BlockStmContext) interface{}
- func (v *BaseGScriptVisitor) VisitBlockStms(ctx *BlockStmsContext) interface{}
- func (v *BaseGScriptVisitor) VisitBlockVarDeclar(ctx *BlockVarDeclarContext) interface{}
- func (v *BaseGScriptVisitor) VisitClassBody(ctx *ClassBodyContext) interface{}
- func (v *BaseGScriptVisitor) VisitClassBodyDeclaration(ctx *ClassBodyDeclarationContext) interface{}
- func (v *BaseGScriptVisitor) VisitClassDeclaration(ctx *ClassDeclarationContext) interface{}
- func (v *BaseGScriptVisitor) VisitClassOrInterfaceType(ctx *ClassOrInterfaceTypeContext) interface{}
- func (v *BaseGScriptVisitor) VisitExpr(ctx *ExprContext) interface{}
- func (v *BaseGScriptVisitor) VisitExpressionList(ctx *ExpressionListContext) interface{}
- func (v *BaseGScriptVisitor) VisitFieldDeclaration(ctx *FieldDeclarationContext) interface{}
- func (v *BaseGScriptVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
- func (v *BaseGScriptVisitor) VisitForControl(ctx *ForControlContext) interface{}
- func (v *BaseGScriptVisitor) VisitForInit(ctx *ForInitContext) interface{}
- func (v *BaseGScriptVisitor) VisitFormalParameter(ctx *FormalParameterContext) interface{}
- func (v *BaseGScriptVisitor) VisitFormalParameterList(ctx *FormalParameterListContext) interface{}
- func (v *BaseGScriptVisitor) VisitFormalParameters(ctx *FormalParametersContext) interface{}
- func (v *BaseGScriptVisitor) VisitFunctionBody(ctx *FunctionBodyContext) interface{}
- func (v *BaseGScriptVisitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
- func (v *BaseGScriptVisitor) VisitFunctionDeclaration(ctx *FunctionDeclarationContext) interface{}
- func (v *BaseGScriptVisitor) VisitFunctionType(ctx *FunctionTypeContext) interface{}
- func (v *BaseGScriptVisitor) VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}
- func (v *BaseGScriptVisitor) VisitLastFormalParameter(ctx *LastFormalParameterContext) interface{}
- func (v *BaseGScriptVisitor) VisitLiteral(ctx *LiteralContext) interface{}
- func (v *BaseGScriptVisitor) VisitMemberDeclaration(ctx *MemberDeclarationContext) interface{}
- func (v *BaseGScriptVisitor) VisitParExpression(ctx *ParExpressionContext) interface{}
- func (v *BaseGScriptVisitor) VisitParse(ctx *ParseContext) interface{}
- func (v *BaseGScriptVisitor) VisitPrimary(ctx *PrimaryContext) interface{}
- func (v *BaseGScriptVisitor) VisitPrimitiveType(ctx *PrimitiveTypeContext) interface{}
- func (v *BaseGScriptVisitor) VisitProg(ctx *ProgContext) interface{}
- func (v *BaseGScriptVisitor) VisitQualifiedName(ctx *QualifiedNameContext) interface{}
- func (v *BaseGScriptVisitor) VisitQualifiedNameList(ctx *QualifiedNameListContext) interface{}
- func (v *BaseGScriptVisitor) VisitStmBlockLabel(ctx *StmBlockLabelContext) interface{}
- func (v *BaseGScriptVisitor) VisitStmExpr(ctx *StmExprContext) interface{}
- func (v *BaseGScriptVisitor) VisitStmFor(ctx *StmForContext) interface{}
- func (v *BaseGScriptVisitor) VisitStmIfElse(ctx *StmIfElseContext) interface{}
- func (v *BaseGScriptVisitor) VisitStmReturn(ctx *StmReturnContext) interface{}
- func (v *BaseGScriptVisitor) VisitTypeList(ctx *TypeListContext) interface{}
- func (v *BaseGScriptVisitor) VisitTypeType(ctx *TypeTypeContext) interface{}
- func (v *BaseGScriptVisitor) VisitTypeTypeOrVoid(ctx *TypeTypeOrVoidContext) interface{}
- func (v *BaseGScriptVisitor) VisitVariableDeclarator(ctx *VariableDeclaratorContext) interface{}
- func (v *BaseGScriptVisitor) VisitVariableDeclaratorId(ctx *VariableDeclaratorIdContext) interface{}
- func (v *BaseGScriptVisitor) VisitVariableDeclarators(ctx *VariableDeclaratorsContext) interface{}
- func (v *BaseGScriptVisitor) VisitVariableInitializer(ctx *VariableInitializerContext) interface{}
- func (v *BaseGScriptVisitor) VisitVariableModifier(ctx *VariableModifierContext) interface{}
- type BlockContext
- func (s *BlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockContext) BlockStatements() IBlockStatementsContext
- func (s *BlockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BlockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BlockContext) GetParser() antlr.Parser
- func (s *BlockContext) GetRuleContext() antlr.RuleContext
- func (*BlockContext) IsBlockContext()
- func (s *BlockContext) LBRACE() antlr.TerminalNode
- func (s *BlockContext) RBRACE() antlr.TerminalNode
- func (s *BlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BlockFuncContext
- func (s *BlockFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockFuncContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BlockFuncContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BlockFuncContext) FunctionDeclaration() IFunctionDeclarationContext
- func (s *BlockFuncContext) GetRuleContext() antlr.RuleContext
- type BlockStatementContext
- func (s *BlockStatementContext) CopyFrom(ctx *BlockStatementContext)
- func (s *BlockStatementContext) GetParser() antlr.Parser
- func (s *BlockStatementContext) GetRuleContext() antlr.RuleContext
- func (*BlockStatementContext) IsBlockStatementContext()
- func (s *BlockStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BlockStatementsContext
- func (s *BlockStatementsContext) CopyFrom(ctx *BlockStatementsContext)
- func (s *BlockStatementsContext) GetParser() antlr.Parser
- func (s *BlockStatementsContext) GetRuleContext() antlr.RuleContext
- func (*BlockStatementsContext) IsBlockStatementsContext()
- func (s *BlockStatementsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BlockStmContext
- func (s *BlockStmContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockStmContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BlockStmContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BlockStmContext) GetRuleContext() antlr.RuleContext
- func (s *BlockStmContext) Statement() IStatementContext
- type BlockStmsContext
- func (s *BlockStmsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockStmsContext) AllBlockStatement() []IBlockStatementContext
- func (s *BlockStmsContext) BlockStatement(i int) IBlockStatementContext
- func (s *BlockStmsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BlockStmsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BlockStmsContext) GetRuleContext() antlr.RuleContext
- type BlockVarDeclarContext
- func (s *BlockVarDeclarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockVarDeclarContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BlockVarDeclarContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BlockVarDeclarContext) GetRuleContext() antlr.RuleContext
- func (s *BlockVarDeclarContext) VariableDeclarators() IVariableDeclaratorsContext
- type ClassBodyContext
- func (s *ClassBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassBodyContext) AllClassBodyDeclaration() []IClassBodyDeclarationContext
- func (s *ClassBodyContext) ClassBodyDeclaration(i int) IClassBodyDeclarationContext
- func (s *ClassBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassBodyContext) GetParser() antlr.Parser
- func (s *ClassBodyContext) GetRuleContext() antlr.RuleContext
- func (*ClassBodyContext) IsClassBodyContext()
- func (s *ClassBodyContext) LBRACE() antlr.TerminalNode
- func (s *ClassBodyContext) RBRACE() antlr.TerminalNode
- func (s *ClassBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClassBodyDeclarationContext
- func (s *ClassBodyDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassBodyDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassBodyDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassBodyDeclarationContext) GetParser() antlr.Parser
- func (s *ClassBodyDeclarationContext) GetRuleContext() antlr.RuleContext
- func (*ClassBodyDeclarationContext) IsClassBodyDeclarationContext()
- func (s *ClassBodyDeclarationContext) MemberDeclaration() IMemberDeclarationContext
- func (s *ClassBodyDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClassDeclarationContext
- func (s *ClassDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassDeclarationContext) CLASS() antlr.TerminalNode
- func (s *ClassDeclarationContext) ClassBody() IClassBodyContext
- func (s *ClassDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassDeclarationContext) GetParser() antlr.Parser
- func (s *ClassDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *ClassDeclarationContext) IDENTIFIER() antlr.TerminalNode
- func (s *ClassDeclarationContext) IMPLEMENTS() antlr.TerminalNode
- func (*ClassDeclarationContext) IsClassDeclarationContext()
- func (s *ClassDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ClassDeclarationContext) TypeList() ITypeListContext
- type ClassOrInterfaceTypeContext
- func (s *ClassOrInterfaceTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassOrInterfaceTypeContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *ClassOrInterfaceTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassOrInterfaceTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassOrInterfaceTypeContext) GetParser() antlr.Parser
- func (s *ClassOrInterfaceTypeContext) GetRuleContext() antlr.RuleContext
- func (s *ClassOrInterfaceTypeContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*ClassOrInterfaceTypeContext) IsClassOrInterfaceTypeContext()
- func (s *ClassOrInterfaceTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExprContext
- func (s *ExprContext) ADD_ASSIGN() antlr.TerminalNode
- func (s *ExprContext) ASSIGN() antlr.TerminalNode
- func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExprContext) AllExpr() []IExprContext
- func (s *ExprContext) BANG() antlr.TerminalNode
- func (s *ExprContext) DEC() antlr.TerminalNode
- func (s *ExprContext) DIV() antlr.TerminalNode
- func (s *ExprContext) EQUAL() antlr.TerminalNode
- func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) Expr(i int) IExprContext
- func (s *ExprContext) FunctionCall() IFunctionCallContext
- func (s *ExprContext) GE() antlr.TerminalNode
- func (s *ExprContext) GT() antlr.TerminalNode
- func (s *ExprContext) GetBop() antlr.Token
- func (s *ExprContext) GetLhs() IExprContext
- func (s *ExprContext) GetParser() antlr.Parser
- func (s *ExprContext) GetPostfix() antlr.Token
- func (s *ExprContext) GetPrefix() antlr.Token
- func (s *ExprContext) GetRhs() IExprContext
- func (s *ExprContext) GetRuleContext() antlr.RuleContext
- func (s *ExprContext) IDENTIFIER() antlr.TerminalNode
- func (s *ExprContext) INC() antlr.TerminalNode
- func (*ExprContext) IsExprContext()
- func (s *ExprContext) LE() antlr.TerminalNode
- func (s *ExprContext) LT() antlr.TerminalNode
- func (s *ExprContext) MOD() antlr.TerminalNode
- func (s *ExprContext) MULT() antlr.TerminalNode
- func (s *ExprContext) MUL_ASSIGN() antlr.TerminalNode
- func (s *ExprContext) NOTEQUAL() antlr.TerminalNode
- func (s *ExprContext) PLUS() antlr.TerminalNode
- func (s *ExprContext) Primary() IPrimaryContext
- func (s *ExprContext) SUB() antlr.TerminalNode
- func (s *ExprContext) SUB_ASSIGN() antlr.TerminalNode
- func (s *ExprContext) SetBop(v antlr.Token)
- func (s *ExprContext) SetLhs(v IExprContext)
- func (s *ExprContext) SetPostfix(v antlr.Token)
- func (s *ExprContext) SetPrefix(v antlr.Token)
- func (s *ExprContext) SetRhs(v IExprContext)
- func (s *ExprContext) TILDE() antlr.TerminalNode
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionListContext
- func (s *ExpressionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionListContext) AllExpr() []IExprContext
- func (s *ExpressionListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionListContext) Expr(i int) IExprContext
- func (s *ExpressionListContext) GetParser() antlr.Parser
- func (s *ExpressionListContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionListContext) IsExpressionListContext()
- func (s *ExpressionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldDeclarationContext
- func (s *FieldDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FieldDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclarationContext) GetParser() antlr.Parser
- func (s *FieldDeclarationContext) GetRuleContext() antlr.RuleContext
- func (*FieldDeclarationContext) IsFieldDeclarationContext()
- func (s *FieldDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FieldDeclarationContext) VariableDeclarators() IVariableDeclaratorsContext
- type FloatLiteralContext
- func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FloatLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FloatLiteralContext) FLOAT_LITERAL() antlr.TerminalNode
- func (s *FloatLiteralContext) GetParser() antlr.Parser
- func (s *FloatLiteralContext) GetRuleContext() antlr.RuleContext
- func (*FloatLiteralContext) IsFloatLiteralContext()
- func (s *FloatLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForControlContext
- func (s *ForControlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForControlContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ForControlContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ForControlContext) Expr() IExprContext
- func (s *ForControlContext) ExpressionList() IExpressionListContext
- func (s *ForControlContext) ForInit() IForInitContext
- func (s *ForControlContext) GetForUpdate() IExpressionListContext
- func (s *ForControlContext) GetParser() antlr.Parser
- func (s *ForControlContext) GetRuleContext() antlr.RuleContext
- func (*ForControlContext) IsForControlContext()
- func (s *ForControlContext) SetForUpdate(v IExpressionListContext)
- func (s *ForControlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForInitContext
- func (s *ForInitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForInitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ForInitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ForInitContext) ExpressionList() IExpressionListContext
- func (s *ForInitContext) GetParser() antlr.Parser
- func (s *ForInitContext) GetRuleContext() antlr.RuleContext
- func (*ForInitContext) IsForInitContext()
- func (s *ForInitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ForInitContext) VariableDeclarators() IVariableDeclaratorsContext
- type FormalParameterContext
- func (s *FormalParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormalParameterContext) AllVariableModifier() []IVariableModifierContext
- func (s *FormalParameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FormalParameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FormalParameterContext) GetParser() antlr.Parser
- func (s *FormalParameterContext) GetRuleContext() antlr.RuleContext
- func (*FormalParameterContext) IsFormalParameterContext()
- func (s *FormalParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FormalParameterContext) TypeType() ITypeTypeContext
- func (s *FormalParameterContext) VariableDeclaratorId() IVariableDeclaratorIdContext
- func (s *FormalParameterContext) VariableModifier(i int) IVariableModifierContext
- type FormalParameterListContext
- func (s *FormalParameterListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormalParameterListContext) AllFormalParameter() []IFormalParameterContext
- func (s *FormalParameterListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FormalParameterListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FormalParameterListContext) FormalParameter(i int) IFormalParameterContext
- func (s *FormalParameterListContext) GetParser() antlr.Parser
- func (s *FormalParameterListContext) GetRuleContext() antlr.RuleContext
- func (*FormalParameterListContext) IsFormalParameterListContext()
- func (s *FormalParameterListContext) LastFormalParameter() ILastFormalParameterContext
- func (s *FormalParameterListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FormalParametersContext
- func (s *FormalParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormalParametersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FormalParametersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FormalParametersContext) FormalParameterList() IFormalParameterListContext
- func (s *FormalParametersContext) GetParser() antlr.Parser
- func (s *FormalParametersContext) GetRuleContext() antlr.RuleContext
- func (*FormalParametersContext) IsFormalParametersContext()
- func (s *FormalParametersContext) LPAREN() antlr.TerminalNode
- func (s *FormalParametersContext) RPAREN() antlr.TerminalNode
- func (s *FormalParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionBodyContext
- func (s *FunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionBodyContext) Block() IBlockContext
- func (s *FunctionBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionBodyContext) GetParser() antlr.Parser
- func (s *FunctionBodyContext) GetRuleContext() antlr.RuleContext
- func (*FunctionBodyContext) IsFunctionBodyContext()
- func (s *FunctionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionCallContext
- func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionCallContext) ExpressionList() IExpressionListContext
- func (s *FunctionCallContext) GetParser() antlr.Parser
- func (s *FunctionCallContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionCallContext) IDENTIFIER() antlr.TerminalNode
- func (*FunctionCallContext) IsFunctionCallContext()
- func (s *FunctionCallContext) LPAREN() antlr.TerminalNode
- func (s *FunctionCallContext) RPAREN() antlr.TerminalNode
- func (s *FunctionCallContext) SUPER() antlr.TerminalNode
- func (s *FunctionCallContext) THIS() antlr.TerminalNode
- func (s *FunctionCallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionDeclarationContext
- func (s *FunctionDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionDeclarationContext) AllLBRACK() []antlr.TerminalNode
- func (s *FunctionDeclarationContext) AllRBRACK() []antlr.TerminalNode
- func (s *FunctionDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionDeclarationContext) FormalParameters() IFormalParametersContext
- func (s *FunctionDeclarationContext) FunctionBody() IFunctionBodyContext
- func (s *FunctionDeclarationContext) GetParser() antlr.Parser
- func (s *FunctionDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionDeclarationContext) IDENTIFIER() antlr.TerminalNode
- func (*FunctionDeclarationContext) IsFunctionDeclarationContext()
- func (s *FunctionDeclarationContext) LBRACK(i int) antlr.TerminalNode
- func (s *FunctionDeclarationContext) QualifiedNameList() IQualifiedNameListContext
- func (s *FunctionDeclarationContext) RBRACK(i int) antlr.TerminalNode
- func (s *FunctionDeclarationContext) THROWS() antlr.TerminalNode
- func (s *FunctionDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FunctionDeclarationContext) TypeTypeOrVoid() ITypeTypeOrVoidContext
- type FunctionTypeContext
- func (s *FunctionTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionTypeContext) FUNCTION() antlr.TerminalNode
- func (s *FunctionTypeContext) GetParser() antlr.Parser
- func (s *FunctionTypeContext) GetRuleContext() antlr.RuleContext
- func (*FunctionTypeContext) IsFunctionTypeContext()
- func (s *FunctionTypeContext) LPAREN() antlr.TerminalNode
- func (s *FunctionTypeContext) RPAREN() antlr.TerminalNode
- func (s *FunctionTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FunctionTypeContext) TypeList() ITypeListContext
- func (s *FunctionTypeContext) TypeTypeOrVoid() ITypeTypeOrVoidContext
- type GScriptLexer
- type GScriptListener
- type GScriptParser
- func (p *GScriptParser) ArrayInitializer() (localctx IArrayInitializerContext)
- func (p *GScriptParser) Block() (localctx IBlockContext)
- func (p *GScriptParser) BlockStatement() (localctx IBlockStatementContext)
- func (p *GScriptParser) BlockStatements() (localctx IBlockStatementsContext)
- func (p *GScriptParser) ClassBody() (localctx IClassBodyContext)
- func (p *GScriptParser) ClassBodyDeclaration() (localctx IClassBodyDeclarationContext)
- func (p *GScriptParser) ClassDeclaration() (localctx IClassDeclarationContext)
- func (p *GScriptParser) ClassOrInterfaceType() (localctx IClassOrInterfaceTypeContext)
- func (p *GScriptParser) Expr() (localctx IExprContext)
- func (p *GScriptParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *GScriptParser) ExpressionList() (localctx IExpressionListContext)
- func (p *GScriptParser) FieldDeclaration() (localctx IFieldDeclarationContext)
- func (p *GScriptParser) FloatLiteral() (localctx IFloatLiteralContext)
- func (p *GScriptParser) ForControl() (localctx IForControlContext)
- func (p *GScriptParser) ForInit() (localctx IForInitContext)
- func (p *GScriptParser) FormalParameter() (localctx IFormalParameterContext)
- func (p *GScriptParser) FormalParameterList() (localctx IFormalParameterListContext)
- func (p *GScriptParser) FormalParameters() (localctx IFormalParametersContext)
- func (p *GScriptParser) FunctionBody() (localctx IFunctionBodyContext)
- func (p *GScriptParser) FunctionCall() (localctx IFunctionCallContext)
- func (p *GScriptParser) FunctionDeclaration() (localctx IFunctionDeclarationContext)
- func (p *GScriptParser) FunctionType() (localctx IFunctionTypeContext)
- func (p *GScriptParser) IntegerLiteral() (localctx IIntegerLiteralContext)
- func (p *GScriptParser) LastFormalParameter() (localctx ILastFormalParameterContext)
- func (p *GScriptParser) Literal() (localctx ILiteralContext)
- func (p *GScriptParser) MemberDeclaration() (localctx IMemberDeclarationContext)
- func (p *GScriptParser) ParExpression() (localctx IParExpressionContext)
- func (p *GScriptParser) Parse() (localctx IParseContext)
- func (p *GScriptParser) Primary() (localctx IPrimaryContext)
- func (p *GScriptParser) PrimitiveType() (localctx IPrimitiveTypeContext)
- func (p *GScriptParser) Prog() (localctx IProgContext)
- func (p *GScriptParser) QualifiedName() (localctx IQualifiedNameContext)
- func (p *GScriptParser) QualifiedNameList() (localctx IQualifiedNameListContext)
- func (p *GScriptParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *GScriptParser) Statement() (localctx IStatementContext)
- func (p *GScriptParser) TypeList() (localctx ITypeListContext)
- func (p *GScriptParser) TypeType() (localctx ITypeTypeContext)
- func (p *GScriptParser) TypeTypeOrVoid() (localctx ITypeTypeOrVoidContext)
- func (p *GScriptParser) VariableDeclarator() (localctx IVariableDeclaratorContext)
- func (p *GScriptParser) VariableDeclaratorId() (localctx IVariableDeclaratorIdContext)
- func (p *GScriptParser) VariableDeclarators() (localctx IVariableDeclaratorsContext)
- func (p *GScriptParser) VariableInitializer() (localctx IVariableInitializerContext)
- func (p *GScriptParser) VariableModifier() (localctx IVariableModifierContext)
- type GScriptVisitor
- type IArrayInitializerContext
- type IBlockContext
- type IBlockStatementContext
- type IBlockStatementsContext
- type IClassBodyContext
- type IClassBodyDeclarationContext
- type IClassDeclarationContext
- type IClassOrInterfaceTypeContext
- type IExprContext
- type IExpressionListContext
- type IFieldDeclarationContext
- type IFloatLiteralContext
- type IForControlContext
- type IForInitContext
- type IFormalParameterContext
- type IFormalParameterListContext
- type IFormalParametersContext
- type IFunctionBodyContext
- type IFunctionCallContext
- type IFunctionDeclarationContext
- type IFunctionTypeContext
- type IIntegerLiteralContext
- type ILastFormalParameterContext
- type ILiteralContext
- type IMemberDeclarationContext
- type IParExpressionContext
- type IParseContext
- type IPrimaryContext
- type IPrimitiveTypeContext
- type IProgContext
- type IQualifiedNameContext
- type IQualifiedNameListContext
- type IStatementContext
- type ITypeListContext
- type ITypeTypeContext
- type ITypeTypeOrVoidContext
- type IVariableDeclaratorContext
- type IVariableDeclaratorIdContext
- type IVariableDeclaratorsContext
- type IVariableInitializerContext
- type IVariableModifierContext
- type IntegerLiteralContext
- func (s *IntegerLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IntegerLiteralContext) DECIMAL_LITERAL() antlr.TerminalNode
- func (s *IntegerLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IntegerLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IntegerLiteralContext) GetParser() antlr.Parser
- func (s *IntegerLiteralContext) GetRuleContext() antlr.RuleContext
- func (*IntegerLiteralContext) IsIntegerLiteralContext()
- func (s *IntegerLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LastFormalParameterContext
- func (s *LastFormalParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LastFormalParameterContext) AllVariableModifier() []IVariableModifierContext
- func (s *LastFormalParameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LastFormalParameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LastFormalParameterContext) GetParser() antlr.Parser
- func (s *LastFormalParameterContext) GetRuleContext() antlr.RuleContext
- func (*LastFormalParameterContext) IsLastFormalParameterContext()
- func (s *LastFormalParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *LastFormalParameterContext) TypeType() ITypeTypeContext
- func (s *LastFormalParameterContext) VariableDeclaratorId() IVariableDeclaratorIdContext
- func (s *LastFormalParameterContext) VariableModifier(i int) IVariableModifierContext
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralContext) BOOL_LITERAL() antlr.TerminalNode
- func (s *LiteralContext) DECIMAL_LITERAL() antlr.TerminalNode
- func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) FLOAT_LITERAL() antlr.TerminalNode
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) NULL_LITERAL() antlr.TerminalNode
- func (s *LiteralContext) STRING_LITERAL() antlr.TerminalNode
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MemberDeclarationContext
- func (s *MemberDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MemberDeclarationContext) ClassDeclaration() IClassDeclarationContext
- func (s *MemberDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MemberDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MemberDeclarationContext) FieldDeclaration() IFieldDeclarationContext
- func (s *MemberDeclarationContext) FunctionDeclaration() IFunctionDeclarationContext
- func (s *MemberDeclarationContext) GetParser() antlr.Parser
- func (s *MemberDeclarationContext) GetRuleContext() antlr.RuleContext
- func (*MemberDeclarationContext) IsMemberDeclarationContext()
- func (s *MemberDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParExpressionContext
- func (s *ParExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParExpressionContext) Expr() IExprContext
- func (s *ParExpressionContext) GetParser() antlr.Parser
- func (s *ParExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ParExpressionContext) IsParExpressionContext()
- func (s *ParExpressionContext) LPAREN() antlr.TerminalNode
- func (s *ParExpressionContext) RPAREN() antlr.TerminalNode
- func (s *ParExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParseContext
- func (s *ParseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParseContext) AllExpr() []IExprContext
- func (s *ParseContext) EOF() antlr.TerminalNode
- func (s *ParseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParseContext) Expr(i int) IExprContext
- func (s *ParseContext) GetExpr_list() []IExprContext
- func (s *ParseContext) GetParser() antlr.Parser
- func (s *ParseContext) GetRuleContext() antlr.RuleContext
- func (s *ParseContext) Get_expr() IExprContext
- func (*ParseContext) IsParseContext()
- func (s *ParseContext) SetExpr_list(v []IExprContext)
- func (s *ParseContext) Set_expr(v IExprContext)
- func (s *ParseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PrimaryContext
- func (s *PrimaryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PrimaryContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PrimaryContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PrimaryContext) Expr() IExprContext
- func (s *PrimaryContext) GetParser() antlr.Parser
- func (s *PrimaryContext) GetRuleContext() antlr.RuleContext
- func (s *PrimaryContext) IDENTIFIER() antlr.TerminalNode
- func (*PrimaryContext) IsPrimaryContext()
- func (s *PrimaryContext) LPAREN() antlr.TerminalNode
- func (s *PrimaryContext) Literal() ILiteralContext
- func (s *PrimaryContext) RPAREN() antlr.TerminalNode
- func (s *PrimaryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PrimitiveTypeContext
- func (s *PrimitiveTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PrimitiveTypeContext) BOOLEAN() antlr.TerminalNode
- func (s *PrimitiveTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PrimitiveTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PrimitiveTypeContext) FLOAT() antlr.TerminalNode
- func (s *PrimitiveTypeContext) GetParser() antlr.Parser
- func (s *PrimitiveTypeContext) GetRuleContext() antlr.RuleContext
- func (s *PrimitiveTypeContext) INT() antlr.TerminalNode
- func (*PrimitiveTypeContext) IsPrimitiveTypeContext()
- func (s *PrimitiveTypeContext) STRING() antlr.TerminalNode
- func (s *PrimitiveTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProgContext
- func (s *ProgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ProgContext) BlockStatements() IBlockStatementsContext
- func (s *ProgContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgContext) GetParser() antlr.Parser
- func (s *ProgContext) GetRuleContext() antlr.RuleContext
- func (*ProgContext) IsProgContext()
- func (s *ProgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QualifiedNameContext
- func (s *QualifiedNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QualifiedNameContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *QualifiedNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QualifiedNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QualifiedNameContext) GetParser() antlr.Parser
- func (s *QualifiedNameContext) GetRuleContext() antlr.RuleContext
- func (s *QualifiedNameContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*QualifiedNameContext) IsQualifiedNameContext()
- func (s *QualifiedNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QualifiedNameListContext
- func (s *QualifiedNameListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QualifiedNameListContext) AllQualifiedName() []IQualifiedNameContext
- func (s *QualifiedNameListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QualifiedNameListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QualifiedNameListContext) GetParser() antlr.Parser
- func (s *QualifiedNameListContext) GetRuleContext() antlr.RuleContext
- func (*QualifiedNameListContext) IsQualifiedNameListContext()
- func (s *QualifiedNameListContext) QualifiedName(i int) IQualifiedNameContext
- func (s *QualifiedNameListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StatementContext
- func (s *StatementContext) CopyFrom(ctx *StatementContext)
- func (s *StatementContext) GetParser() antlr.Parser
- func (s *StatementContext) GetRuleContext() antlr.RuleContext
- func (*StatementContext) IsStatementContext()
- func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmBlockLabelContext
- func (s *StmBlockLabelContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmBlockLabelContext) Block() IBlockContext
- func (s *StmBlockLabelContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmBlockLabelContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmBlockLabelContext) GetBlockLabel() IBlockContext
- func (s *StmBlockLabelContext) GetRuleContext() antlr.RuleContext
- func (s *StmBlockLabelContext) SetBlockLabel(v IBlockContext)
- type StmExprContext
- func (s *StmExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmExprContext) Expr() IExprContext
- func (s *StmExprContext) GetRuleContext() antlr.RuleContext
- func (s *StmExprContext) GetStatementExpression() IExprContext
- func (s *StmExprContext) SetStatementExpression(v IExprContext)
- type StmForContext
- func (s *StmForContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmForContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmForContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmForContext) FOR() antlr.TerminalNode
- func (s *StmForContext) ForControl() IForControlContext
- func (s *StmForContext) GetRuleContext() antlr.RuleContext
- func (s *StmForContext) LPAREN() antlr.TerminalNode
- func (s *StmForContext) RPAREN() antlr.TerminalNode
- func (s *StmForContext) Statement() IStatementContext
- type StmIfElseContext
- func (s *StmIfElseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmIfElseContext) AllStatement() []IStatementContext
- func (s *StmIfElseContext) ELSE() antlr.TerminalNode
- func (s *StmIfElseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmIfElseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmIfElseContext) GetRuleContext() antlr.RuleContext
- func (s *StmIfElseContext) IF() antlr.TerminalNode
- func (s *StmIfElseContext) ParExpression() IParExpressionContext
- func (s *StmIfElseContext) Statement(i int) IStatementContext
- type StmReturnContext
- func (s *StmReturnContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmReturnContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmReturnContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmReturnContext) Expr() IExprContext
- func (s *StmReturnContext) GetRuleContext() antlr.RuleContext
- func (s *StmReturnContext) RETURN() antlr.TerminalNode
- type TypeListContext
- func (s *TypeListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeListContext) AllTypeType() []ITypeTypeContext
- func (s *TypeListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeListContext) GetParser() antlr.Parser
- func (s *TypeListContext) GetRuleContext() antlr.RuleContext
- func (*TypeListContext) IsTypeListContext()
- func (s *TypeListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeListContext) TypeType(i int) ITypeTypeContext
- type TypeTypeContext
- func (s *TypeTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeTypeContext) AllLBRACK() []antlr.TerminalNode
- func (s *TypeTypeContext) AllRBRACK() []antlr.TerminalNode
- func (s *TypeTypeContext) ClassOrInterfaceType() IClassOrInterfaceTypeContext
- func (s *TypeTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeTypeContext) FunctionType() IFunctionTypeContext
- func (s *TypeTypeContext) GetParser() antlr.Parser
- func (s *TypeTypeContext) GetRuleContext() antlr.RuleContext
- func (*TypeTypeContext) IsTypeTypeContext()
- func (s *TypeTypeContext) LBRACK(i int) antlr.TerminalNode
- func (s *TypeTypeContext) PrimitiveType() IPrimitiveTypeContext
- func (s *TypeTypeContext) RBRACK(i int) antlr.TerminalNode
- func (s *TypeTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeTypeOrVoidContext
- func (s *TypeTypeOrVoidContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeTypeOrVoidContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeTypeOrVoidContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeTypeOrVoidContext) GetParser() antlr.Parser
- func (s *TypeTypeOrVoidContext) GetRuleContext() antlr.RuleContext
- func (*TypeTypeOrVoidContext) IsTypeTypeOrVoidContext()
- func (s *TypeTypeOrVoidContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeTypeOrVoidContext) TypeType() ITypeTypeContext
- func (s *TypeTypeOrVoidContext) VOID() antlr.TerminalNode
- type VariableDeclaratorContext
- func (s *VariableDeclaratorContext) ASSIGN() antlr.TerminalNode
- func (s *VariableDeclaratorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableDeclaratorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorContext) GetParser() antlr.Parser
- func (s *VariableDeclaratorContext) GetRuleContext() antlr.RuleContext
- func (*VariableDeclaratorContext) IsVariableDeclaratorContext()
- func (s *VariableDeclaratorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VariableDeclaratorContext) VariableDeclaratorId() IVariableDeclaratorIdContext
- func (s *VariableDeclaratorContext) VariableInitializer() IVariableInitializerContext
- type VariableDeclaratorIdContext
- func (s *VariableDeclaratorIdContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableDeclaratorIdContext) AllLBRACK() []antlr.TerminalNode
- func (s *VariableDeclaratorIdContext) AllRBRACK() []antlr.TerminalNode
- func (s *VariableDeclaratorIdContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorIdContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorIdContext) GetParser() antlr.Parser
- func (s *VariableDeclaratorIdContext) GetRuleContext() antlr.RuleContext
- func (s *VariableDeclaratorIdContext) IDENTIFIER() antlr.TerminalNode
- func (*VariableDeclaratorIdContext) IsVariableDeclaratorIdContext()
- func (s *VariableDeclaratorIdContext) LBRACK(i int) antlr.TerminalNode
- func (s *VariableDeclaratorIdContext) RBRACK(i int) antlr.TerminalNode
- func (s *VariableDeclaratorIdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VariableDeclaratorsContext
- func (s *VariableDeclaratorsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableDeclaratorsContext) AllVariableDeclarator() []IVariableDeclaratorContext
- func (s *VariableDeclaratorsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableDeclaratorsContext) GetParser() antlr.Parser
- func (s *VariableDeclaratorsContext) GetRuleContext() antlr.RuleContext
- func (*VariableDeclaratorsContext) IsVariableDeclaratorsContext()
- func (s *VariableDeclaratorsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VariableDeclaratorsContext) TypeType() ITypeTypeContext
- func (s *VariableDeclaratorsContext) VariableDeclarator(i int) IVariableDeclaratorContext
- type VariableInitializerContext
- func (s *VariableInitializerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableInitializerContext) ArrayInitializer() IArrayInitializerContext
- func (s *VariableInitializerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableInitializerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableInitializerContext) Expr() IExprContext
- func (s *VariableInitializerContext) GetParser() antlr.Parser
- func (s *VariableInitializerContext) GetRuleContext() antlr.RuleContext
- func (*VariableInitializerContext) IsVariableInitializerContext()
- func (s *VariableInitializerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VariableModifierContext
- func (s *VariableModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableModifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableModifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableModifierContext) FINAL() antlr.TerminalNode
- func (s *VariableModifierContext) GetParser() antlr.Parser
- func (s *VariableModifierContext) GetRuleContext() antlr.RuleContext
- func (*VariableModifierContext) IsVariableModifierContext()
- func (s *VariableModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( GScriptLexerT__0 = 1 GScriptLexerT__1 = 2 GScriptLexerT__2 = 3 GScriptLexerT__3 = 4 GScriptLexerCLASS = 5 GScriptLexerEXTENDS = 6 GScriptLexerIMPLEMENTS = 7 GScriptLexerFINAL = 8 GScriptLexerTHROWS = 9 GScriptLexerINT = 10 GScriptLexerSTRING = 11 GScriptLexerFLOAT = 12 GScriptLexerBOOLEAN = 13 GScriptLexerSUPER = 14 GScriptLexerSWITCH = 15 GScriptLexerSYNCHRONIZED = 16 GScriptLexerTHIS = 17 GScriptLexerLPAREN = 18 GScriptLexerRPAREN = 19 GScriptLexerLBRACE = 20 GScriptLexerRBRACE = 21 GScriptLexerLBRACK = 22 GScriptLexerRBRACK = 23 GScriptLexerASSIGN = 24 GScriptLexerGT = 25 GScriptLexerLT = 26 GScriptLexerBANG = 27 GScriptLexerTILDE = 28 GScriptLexerINC = 29 GScriptLexerDEC = 30 GScriptLexerMULT = 31 GScriptLexerDIV = 32 GScriptLexerPLUS = 33 GScriptLexerSUB = 34 GScriptLexerMOD = 35 GScriptLexerADD_ASSIGN = 36 GScriptLexerSUB_ASSIGN = 37 GScriptLexerMUL_ASSIGN = 38 GScriptLexerDIV_ASSIGN = 39 GScriptLexerEQUAL = 40 GScriptLexerLE = 41 GScriptLexerGE = 42 GScriptLexerNOTEQUAL = 43 GScriptLexerFUNCTION = 44 GScriptLexerVOID = 45 GScriptLexerFOR = 46 GScriptLexerIF = 47 GScriptLexerELSE = 48 GScriptLexerRETURN = 49 GScriptLexerBOOL_LITERAL = 50 GScriptLexerSTRING_LITERAL = 51 GScriptLexerNULL_LITERAL = 52 GScriptLexerDECIMAL_LITERAL = 53 GScriptLexerFLOAT_LITERAL = 54 GScriptLexerIDENTIFIER = 55 GScriptLexerSPACES = 56 )
GScriptLexer tokens.
const ( GScriptParserEOF = antlr.TokenEOF GScriptParserT__0 = 1 GScriptParserT__1 = 2 GScriptParserT__2 = 3 GScriptParserT__3 = 4 GScriptParserCLASS = 5 GScriptParserEXTENDS = 6 GScriptParserIMPLEMENTS = 7 GScriptParserFINAL = 8 GScriptParserTHROWS = 9 GScriptParserINT = 10 GScriptParserSTRING = 11 GScriptParserFLOAT = 12 GScriptParserBOOLEAN = 13 GScriptParserSUPER = 14 GScriptParserSWITCH = 15 GScriptParserSYNCHRONIZED = 16 GScriptParserTHIS = 17 GScriptParserLPAREN = 18 GScriptParserRPAREN = 19 GScriptParserLBRACE = 20 GScriptParserRBRACE = 21 GScriptParserLBRACK = 22 GScriptParserRBRACK = 23 GScriptParserASSIGN = 24 GScriptParserGT = 25 GScriptParserLT = 26 GScriptParserBANG = 27 GScriptParserTILDE = 28 GScriptParserINC = 29 GScriptParserDEC = 30 GScriptParserMULT = 31 GScriptParserDIV = 32 GScriptParserPLUS = 33 GScriptParserSUB = 34 GScriptParserMOD = 35 GScriptParserADD_ASSIGN = 36 GScriptParserSUB_ASSIGN = 37 GScriptParserMUL_ASSIGN = 38 GScriptParserDIV_ASSIGN = 39 GScriptParserEQUAL = 40 GScriptParserLE = 41 GScriptParserGE = 42 GScriptParserNOTEQUAL = 43 GScriptParserFUNCTION = 44 GScriptParserVOID = 45 GScriptParserFOR = 46 GScriptParserIF = 47 GScriptParserELSE = 48 GScriptParserRETURN = 49 GScriptParserBOOL_LITERAL = 50 GScriptParserSTRING_LITERAL = 51 GScriptParserNULL_LITERAL = 52 GScriptParserDECIMAL_LITERAL = 53 GScriptParserFLOAT_LITERAL = 54 GScriptParserIDENTIFIER = 55 GScriptParserSPACES = 56 )
GScriptParser tokens.
const ( GScriptParserRULE_classDeclaration = 0 GScriptParserRULE_classBody = 1 GScriptParserRULE_classBodyDeclaration = 2 GScriptParserRULE_memberDeclaration = 3 GScriptParserRULE_functionDeclaration = 4 GScriptParserRULE_functionBody = 5 GScriptParserRULE_typeTypeOrVoid = 6 GScriptParserRULE_qualifiedNameList = 7 GScriptParserRULE_formalParameters = 8 GScriptParserRULE_formalParameterList = 9 GScriptParserRULE_formalParameter = 10 GScriptParserRULE_lastFormalParameter = 11 GScriptParserRULE_variableModifier = 12 GScriptParserRULE_qualifiedName = 13 GScriptParserRULE_fieldDeclaration = 14 GScriptParserRULE_variableDeclarators = 15 GScriptParserRULE_variableDeclarator = 16 GScriptParserRULE_variableDeclaratorId = 17 GScriptParserRULE_variableInitializer = 18 GScriptParserRULE_arrayInitializer = 19 GScriptParserRULE_classOrInterfaceType = 20 GScriptParserRULE_literal = 21 GScriptParserRULE_prog = 22 GScriptParserRULE_block = 23 GScriptParserRULE_blockStatements = 24 GScriptParserRULE_blockStatement = 25 GScriptParserRULE_statement = 26 GScriptParserRULE_forControl = 27 GScriptParserRULE_forInit = 28 GScriptParserRULE_parExpression = 29 GScriptParserRULE_expressionList = 30 GScriptParserRULE_functionCall = 31 GScriptParserRULE_expr = 32 GScriptParserRULE_primary = 33 GScriptParserRULE_typeList = 34 GScriptParserRULE_typeType = 35 GScriptParserRULE_functionType = 36 GScriptParserRULE_primitiveType = 37 GScriptParserRULE_integerLiteral = 38 GScriptParserRULE_floatLiteral = 39 GScriptParserRULE_parse = 40 )
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) 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) 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 (s *ArrayInitializerContext) LBRACE() antlr.TerminalNode
func (*ArrayInitializerContext) RBRACE ¶ added in v0.0.4
func (s *ArrayInitializerContext) RBRACE() antlr.TerminalNode
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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 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 (s *BlockStatementsContext) CopyFrom(ctx *BlockStatementsContext)
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 (s *ClassBodyDeclarationContext) MemberDeclaration() IMemberDeclarationContext
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 (s *ClassDeclarationContext) CLASS() antlr.TerminalNode
func (*ClassDeclarationContext) ClassBody ¶ added in v0.0.4
func (s *ClassDeclarationContext) ClassBody() IClassBodyContext
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 (s *ClassDeclarationContext) TypeList() ITypeListContext
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) AllIDENTIFIER ¶
func (s *ClassOrInterfaceTypeContext) AllIDENTIFIER() []antlr.TerminalNode
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 (s *ClassOrInterfaceTypeContext) IDENTIFIER(i int) antlr.TerminalNode
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) 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) 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) 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) GetBop ¶ added in v0.0.4
func (s *ExprContext) GetBop() antlr.Token
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) 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) 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) 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) SetBop ¶ added in v0.0.4
func (s *ExprContext) SetBop(v antlr.Token)
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 (s *ExpressionListContext) Expr(i int) IExprContext
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 (s *FormalParameterContext) TypeType() ITypeTypeContext
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 (s *FormalParameterListContext) FormalParameter(i int) IFormalParameterContext
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 (s *FormalParameterListContext) LastFormalParameter() ILastFormalParameterContext
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 (s *FormalParametersContext) LPAREN() antlr.TerminalNode
func (*FormalParametersContext) RPAREN ¶ added in v0.0.4
func (s *FormalParametersContext) RPAREN() antlr.TerminalNode
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 (s *FunctionBodyContext) Block() IBlockContext
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 (s *FunctionCallContext) LPAREN() antlr.TerminalNode
func (*FunctionCallContext) RPAREN ¶ added in v0.0.4
func (s *FunctionCallContext) RPAREN() antlr.TerminalNode
func (*FunctionCallContext) SUPER ¶ added in v0.0.4
func (s *FunctionCallContext) SUPER() antlr.TerminalNode
func (*FunctionCallContext) THIS ¶ added in v0.0.4
func (s *FunctionCallContext) THIS() antlr.TerminalNode
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 (s *FunctionDeclarationContext) AllLBRACK() []antlr.TerminalNode
func (*FunctionDeclarationContext) AllRBRACK ¶ added in v0.0.4
func (s *FunctionDeclarationContext) AllRBRACK() []antlr.TerminalNode
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 (s *FunctionDeclarationContext) FormalParameters() IFormalParametersContext
func (*FunctionDeclarationContext) FunctionBody ¶ added in v0.0.4
func (s *FunctionDeclarationContext) FunctionBody() IFunctionBodyContext
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 (s *FunctionDeclarationContext) IDENTIFIER() antlr.TerminalNode
func (*FunctionDeclarationContext) IsFunctionDeclarationContext ¶ added in v0.0.4
func (*FunctionDeclarationContext) IsFunctionDeclarationContext()
func (*FunctionDeclarationContext) LBRACK ¶ added in v0.0.4
func (s *FunctionDeclarationContext) LBRACK(i int) antlr.TerminalNode
func (*FunctionDeclarationContext) QualifiedNameList ¶ added in v0.0.4
func (s *FunctionDeclarationContext) QualifiedNameList() IQualifiedNameListContext
func (*FunctionDeclarationContext) RBRACK ¶ added in v0.0.4
func (s *FunctionDeclarationContext) RBRACK(i int) antlr.TerminalNode
func (*FunctionDeclarationContext) THROWS ¶ added in v0.0.4
func (s *FunctionDeclarationContext) THROWS() antlr.TerminalNode
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
func (s *FunctionDeclarationContext) TypeTypeOrVoid() ITypeTypeOrVoidContext
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 (s *FunctionTypeContext) LPAREN() antlr.TerminalNode
func (*FunctionTypeContext) RPAREN ¶ added in v0.0.4
func (s *FunctionTypeContext) RPAREN() antlr.TerminalNode
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 ¶
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) // 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) // 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) // 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) // EnterStmReturn is called when entering the StmReturn production. EnterStmReturn(c *StmReturnContext) // 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) // 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) // 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) // 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) // ExitStmReturn is called when exiting the StmReturn production. ExitStmReturn(c *StmReturnContext) // 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) 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) 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#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#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#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#StmReturn. VisitStmReturn(ctx *StmReturnContext) 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) // GetLhs returns the lhs rule contexts. GetLhs() IExprContext // GetRhs returns the rhs rule contexts. GetRhs() IExprContext // SetLhs sets the lhs rule contexts. SetLhs(IExprContext) // SetRhs sets the rhs rule contexts. SetRhs(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 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 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) 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 (s *LastFormalParameterContext) TypeType() ITypeTypeContext
func (*LastFormalParameterContext) VariableDeclaratorId ¶ added in v0.0.4
func (s *LastFormalParameterContext) VariableDeclaratorId() IVariableDeclaratorIdContext
func (*LastFormalParameterContext) VariableModifier ¶ added in v0.0.4
func (s *LastFormalParameterContext) VariableModifier(i int) IVariableModifierContext
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) STRING_LITERAL ¶ added in v0.0.4
func (s *LiteralContext) STRING_LITERAL() antlr.TerminalNode
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) ClassDeclaration ¶ added in v0.0.4
func (s *MemberDeclarationContext) ClassDeclaration() IClassDeclarationContext
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 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 (s *ParExpressionContext) Expr() IExprContext
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 (s *ParExpressionContext) LPAREN() antlr.TerminalNode
func (*ParExpressionContext) RPAREN ¶ added in v0.0.4
func (s *ParExpressionContext) RPAREN() antlr.TerminalNode
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) Accept ¶
func (s *PrimitiveTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PrimitiveTypeContext) BOOLEAN ¶ added in v0.0.4
func (s *PrimitiveTypeContext) BOOLEAN() antlr.TerminalNode
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 (s *PrimitiveTypeContext) FLOAT() antlr.TerminalNode
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 (s *PrimitiveTypeContext) INT() antlr.TerminalNode
func (*PrimitiveTypeContext) IsPrimitiveTypeContext ¶
func (*PrimitiveTypeContext) IsPrimitiveTypeContext()
func (*PrimitiveTypeContext) STRING ¶
func (s *PrimitiveTypeContext) STRING() antlr.TerminalNode
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) AllIDENTIFIER ¶ added in v0.0.4
func (s *QualifiedNameContext) AllIDENTIFIER() []antlr.TerminalNode
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 (s *QualifiedNameListContext) QualifiedName(i int) IQualifiedNameContext
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 (s *StmBlockLabelContext) Block() IBlockContext
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 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 (s *StmIfElseContext) ELSE() antlr.TerminalNode
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 (s *StmIfElseContext) IF() antlr.TerminalNode
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 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 (s *TypeTypeOrVoidContext) TypeType() ITypeTypeContext
func (*TypeTypeOrVoidContext) VOID ¶
func (s *TypeTypeOrVoidContext) VOID() antlr.TerminalNode
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 (s *VariableDeclaratorContext) ASSIGN() antlr.TerminalNode
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 (s *VariableDeclaratorIdContext) AllLBRACK() []antlr.TerminalNode
func (*VariableDeclaratorIdContext) AllRBRACK ¶ added in v0.0.4
func (s *VariableDeclaratorIdContext) AllRBRACK() []antlr.TerminalNode
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 (s *VariableDeclaratorIdContext) IDENTIFIER() antlr.TerminalNode
func (*VariableDeclaratorIdContext) IsVariableDeclaratorIdContext ¶
func (*VariableDeclaratorIdContext) IsVariableDeclaratorIdContext()
func (*VariableDeclaratorIdContext) LBRACK ¶ added in v0.0.4
func (s *VariableDeclaratorIdContext) LBRACK(i int) antlr.TerminalNode
func (*VariableDeclaratorIdContext) RBRACK ¶ added in v0.0.4
func (s *VariableDeclaratorIdContext) RBRACK(i int) antlr.TerminalNode
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 (s *VariableDeclaratorsContext) TypeType() ITypeTypeContext
func (*VariableDeclaratorsContext) VariableDeclarator ¶
func (s *VariableDeclaratorsContext) VariableDeclarator(i int) IVariableDeclaratorContext
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 (s *VariableInitializerContext) ArrayInitializer() IArrayInitializerContext
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 (s *VariableInitializerContext) Expr() IExprContext
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 (s *VariableModifierContext) FINAL() antlr.TerminalNode
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