Documentation ¶
Index ¶
- Constants
- type AdditiveExpressionContext
- func (s *AdditiveExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AdditiveExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *AdditiveExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *AdditiveExpressionContext) Minus() antlr.TerminalNode
- func (s *AdditiveExpressionContext) Plus() antlr.TerminalNode
- func (s *AdditiveExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type AliasNameContext
- func (s *AliasNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AliasNameContext) AllIdentifierName() []IIdentifierNameContext
- func (s *AliasNameContext) As() antlr.TerminalNode
- func (s *AliasNameContext) GetParser() antlr.Parser
- func (s *AliasNameContext) GetRuleContext() antlr.RuleContext
- func (s *AliasNameContext) IdentifierName(i int) IIdentifierNameContext
- func (*AliasNameContext) IsAliasNameContext()
- func (s *AliasNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AnonymousFunctionContext
- func (s *AnonymousFunctionContext) CopyFrom(ctx *AnonymousFunctionContext)
- func (s *AnonymousFunctionContext) GetParser() antlr.Parser
- func (s *AnonymousFunctionContext) GetRuleContext() antlr.RuleContext
- func (*AnonymousFunctionContext) IsAnonymousFunctionContext()
- func (s *AnonymousFunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AnonymousFunctionDeclContext
- func (s *AnonymousFunctionDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AnonymousFunctionDeclContext) Async() antlr.TerminalNode
- func (s *AnonymousFunctionDeclContext) CloseParen() antlr.TerminalNode
- func (s *AnonymousFunctionDeclContext) FormalParameterList() IFormalParameterListContext
- func (s *AnonymousFunctionDeclContext) FunctionBody() IFunctionBodyContext
- func (s *AnonymousFunctionDeclContext) Function_() antlr.TerminalNode
- func (s *AnonymousFunctionDeclContext) GetRuleContext() antlr.RuleContext
- func (s *AnonymousFunctionDeclContext) Multiply() antlr.TerminalNode
- func (s *AnonymousFunctionDeclContext) OpenParen() antlr.TerminalNode
- type ArgumentContext
- func (s *ArgumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgumentContext) Ellipsis() antlr.TerminalNode
- func (s *ArgumentContext) GetParser() antlr.Parser
- func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
- func (s *ArgumentContext) Identifier() IIdentifierContext
- func (*ArgumentContext) IsArgumentContext()
- func (s *ArgumentContext) SingleExpression() ISingleExpressionContext
- func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentsContext
- func (s *ArgumentsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgumentsContext) AllArgument() []IArgumentContext
- func (s *ArgumentsContext) AllComma() []antlr.TerminalNode
- func (s *ArgumentsContext) Argument(i int) IArgumentContext
- func (s *ArgumentsContext) CloseParen() antlr.TerminalNode
- func (s *ArgumentsContext) Comma(i int) antlr.TerminalNode
- func (s *ArgumentsContext) GetParser() antlr.Parser
- func (s *ArgumentsContext) GetRuleContext() antlr.RuleContext
- func (*ArgumentsContext) IsArgumentsContext()
- func (s *ArgumentsContext) OpenParen() antlr.TerminalNode
- func (s *ArgumentsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentsExpressionContext
- func (s *ArgumentsExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgumentsExpressionContext) Arguments() IArgumentsContext
- func (s *ArgumentsExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ArgumentsExpressionContext) SingleExpression() ISingleExpressionContext
- type ArrayElementContext
- func (s *ArrayElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayElementContext) Ellipsis() antlr.TerminalNode
- func (s *ArrayElementContext) GetParser() antlr.Parser
- func (s *ArrayElementContext) GetRuleContext() antlr.RuleContext
- func (*ArrayElementContext) IsArrayElementContext()
- func (s *ArrayElementContext) SingleExpression() ISingleExpressionContext
- func (s *ArrayElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayLiteralContext
- func (s *ArrayLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayLiteralContext) CloseBracket() antlr.TerminalNode
- func (s *ArrayLiteralContext) ElementList() IElementListContext
- func (s *ArrayLiteralContext) GetParser() antlr.Parser
- func (s *ArrayLiteralContext) GetRuleContext() antlr.RuleContext
- func (*ArrayLiteralContext) IsArrayLiteralContext()
- func (s *ArrayLiteralContext) OpenBracket() antlr.TerminalNode
- func (s *ArrayLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayLiteralExpressionContext
- type ArrowFunctionBodyContext
- func (s *ArrowFunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrowFunctionBodyContext) FunctionBody() IFunctionBodyContext
- func (s *ArrowFunctionBodyContext) GetParser() antlr.Parser
- func (s *ArrowFunctionBodyContext) GetRuleContext() antlr.RuleContext
- func (*ArrowFunctionBodyContext) IsArrowFunctionBodyContext()
- func (s *ArrowFunctionBodyContext) SingleExpression() ISingleExpressionContext
- func (s *ArrowFunctionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrowFunctionContext
- func (s *ArrowFunctionContext) ARROW() antlr.TerminalNode
- func (s *ArrowFunctionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrowFunctionContext) ArrowFunctionBody() IArrowFunctionBodyContext
- func (s *ArrowFunctionContext) ArrowFunctionParameters() IArrowFunctionParametersContext
- func (s *ArrowFunctionContext) Async() antlr.TerminalNode
- func (s *ArrowFunctionContext) GetRuleContext() antlr.RuleContext
- type ArrowFunctionParametersContext
- func (s *ArrowFunctionParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrowFunctionParametersContext) CloseParen() antlr.TerminalNode
- func (s *ArrowFunctionParametersContext) FormalParameterList() IFormalParameterListContext
- func (s *ArrowFunctionParametersContext) GetParser() antlr.Parser
- func (s *ArrowFunctionParametersContext) GetRuleContext() antlr.RuleContext
- func (s *ArrowFunctionParametersContext) Identifier() IIdentifierContext
- func (*ArrowFunctionParametersContext) IsArrowFunctionParametersContext()
- func (s *ArrowFunctionParametersContext) OpenParen() antlr.TerminalNode
- func (s *ArrowFunctionParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AssignableContext
- func (s *AssignableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignableContext) ArrayLiteral() IArrayLiteralContext
- func (s *AssignableContext) GetParser() antlr.Parser
- func (s *AssignableContext) GetRuleContext() antlr.RuleContext
- func (s *AssignableContext) Identifier() IIdentifierContext
- func (*AssignableContext) IsAssignableContext()
- func (s *AssignableContext) ObjectLiteral() IObjectLiteralContext
- func (s *AssignableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AssignmentExpressionContext
- func (s *AssignmentExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignmentExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *AssignmentExpressionContext) Assign() antlr.TerminalNode
- func (s *AssignmentExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *AssignmentExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type AssignmentOperatorContext
- func (s *AssignmentOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignmentOperatorContext) BitAndAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) BitOrAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) BitXorAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) DivideAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) GetParser() antlr.Parser
- func (s *AssignmentOperatorContext) GetRuleContext() antlr.RuleContext
- func (*AssignmentOperatorContext) IsAssignmentOperatorContext()
- func (s *AssignmentOperatorContext) LeftShiftArithmeticAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) MinusAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) ModulusAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) MultiplyAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) PlusAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) PowerAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) RightShiftArithmeticAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) RightShiftLogicalAssign() antlr.TerminalNode
- func (s *AssignmentOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AssignmentOperatorExpressionContext
- func (s *AssignmentOperatorExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignmentOperatorExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *AssignmentOperatorExpressionContext) AssignmentOperator() IAssignmentOperatorContext
- func (s *AssignmentOperatorExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *AssignmentOperatorExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type AwaitExpressionContext
- type BigintLiteralContext
- func (s *BigintLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BigintLiteralContext) BigBinaryIntegerLiteral() antlr.TerminalNode
- func (s *BigintLiteralContext) BigDecimalIntegerLiteral() antlr.TerminalNode
- func (s *BigintLiteralContext) BigHexIntegerLiteral() antlr.TerminalNode
- func (s *BigintLiteralContext) BigOctalIntegerLiteral() antlr.TerminalNode
- func (s *BigintLiteralContext) GetParser() antlr.Parser
- func (s *BigintLiteralContext) GetRuleContext() antlr.RuleContext
- func (*BigintLiteralContext) IsBigintLiteralContext()
- func (s *BigintLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BitAndExpressionContext
- func (s *BitAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitAndExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *BitAndExpressionContext) BitAnd() antlr.TerminalNode
- func (s *BitAndExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitAndExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type BitNotExpressionContext
- type BitOrExpressionContext
- func (s *BitOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *BitOrExpressionContext) BitOr() antlr.TerminalNode
- func (s *BitOrExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type BitShiftExpressionContext
- func (s *BitShiftExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitShiftExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *BitShiftExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitShiftExpressionContext) LeftShiftArithmetic() antlr.TerminalNode
- func (s *BitShiftExpressionContext) RightShiftArithmetic() antlr.TerminalNode
- func (s *BitShiftExpressionContext) RightShiftLogical() antlr.TerminalNode
- func (s *BitShiftExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type BitXOrExpressionContext
- func (s *BitXOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitXOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *BitXOrExpressionContext) BitXOr() antlr.TerminalNode
- func (s *BitXOrExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitXOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type BlockContext
- func (s *BlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BlockContext) CloseBrace() antlr.TerminalNode
- func (s *BlockContext) GetParser() antlr.Parser
- func (s *BlockContext) GetRuleContext() antlr.RuleContext
- func (*BlockContext) IsBlockContext()
- func (s *BlockContext) OpenBrace() antlr.TerminalNode
- func (s *BlockContext) StatementList() IStatementListContext
- func (s *BlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BreakStatementContext
- func (s *BreakStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BreakStatementContext) Break() antlr.TerminalNode
- func (s *BreakStatementContext) Eos() IEosContext
- func (s *BreakStatementContext) GetParser() antlr.Parser
- func (s *BreakStatementContext) GetRuleContext() antlr.RuleContext
- func (s *BreakStatementContext) Identifier() IIdentifierContext
- func (*BreakStatementContext) IsBreakStatementContext()
- func (s *BreakStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CaseBlockContext
- func (s *CaseBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CaseBlockContext) AllCaseClauses() []ICaseClausesContext
- func (s *CaseBlockContext) CaseClauses(i int) ICaseClausesContext
- func (s *CaseBlockContext) CloseBrace() antlr.TerminalNode
- func (s *CaseBlockContext) DefaultClause() IDefaultClauseContext
- func (s *CaseBlockContext) GetParser() antlr.Parser
- func (s *CaseBlockContext) GetRuleContext() antlr.RuleContext
- func (*CaseBlockContext) IsCaseBlockContext()
- func (s *CaseBlockContext) OpenBrace() antlr.TerminalNode
- func (s *CaseBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CaseClauseContext
- func (s *CaseClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CaseClauseContext) Case() antlr.TerminalNode
- func (s *CaseClauseContext) Colon() antlr.TerminalNode
- func (s *CaseClauseContext) ExpressionSequence() IExpressionSequenceContext
- func (s *CaseClauseContext) GetParser() antlr.Parser
- func (s *CaseClauseContext) GetRuleContext() antlr.RuleContext
- func (*CaseClauseContext) IsCaseClauseContext()
- func (s *CaseClauseContext) StatementList() IStatementListContext
- func (s *CaseClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CaseClausesContext
- func (s *CaseClausesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CaseClausesContext) AllCaseClause() []ICaseClauseContext
- func (s *CaseClausesContext) CaseClause(i int) ICaseClauseContext
- func (s *CaseClausesContext) GetParser() antlr.Parser
- func (s *CaseClausesContext) GetRuleContext() antlr.RuleContext
- func (*CaseClausesContext) IsCaseClausesContext()
- func (s *CaseClausesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CatchProductionContext
- func (s *CatchProductionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CatchProductionContext) Assignable() IAssignableContext
- func (s *CatchProductionContext) Block() IBlockContext
- func (s *CatchProductionContext) Catch() antlr.TerminalNode
- func (s *CatchProductionContext) CloseParen() antlr.TerminalNode
- func (s *CatchProductionContext) GetParser() antlr.Parser
- func (s *CatchProductionContext) GetRuleContext() antlr.RuleContext
- func (*CatchProductionContext) IsCatchProductionContext()
- func (s *CatchProductionContext) OpenParen() antlr.TerminalNode
- func (s *CatchProductionContext) 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) ClassTail() IClassTailContext
- func (s *ClassDeclarationContext) GetParser() antlr.Parser
- func (s *ClassDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *ClassDeclarationContext) Identifier() IIdentifierContext
- func (*ClassDeclarationContext) IsClassDeclarationContext()
- func (s *ClassDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClassElementContext
- func (s *ClassElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassElementContext) AllAsync() []antlr.TerminalNode
- func (s *ClassElementContext) AllIdentifier() []IIdentifierContext
- func (s *ClassElementContext) AllStatic() []antlr.TerminalNode
- func (s *ClassElementContext) Assign() antlr.TerminalNode
- func (s *ClassElementContext) Assignable() IAssignableContext
- func (s *ClassElementContext) Async(i int) antlr.TerminalNode
- func (s *ClassElementContext) EmptyStatement_() IEmptyStatement_Context
- func (s *ClassElementContext) GetParser() antlr.Parser
- func (s *ClassElementContext) GetRuleContext() antlr.RuleContext
- func (s *ClassElementContext) Hashtag() antlr.TerminalNode
- func (s *ClassElementContext) Identifier(i int) IIdentifierContext
- func (*ClassElementContext) IsClassElementContext()
- func (s *ClassElementContext) MethodDefinition() IMethodDefinitionContext
- func (s *ClassElementContext) ObjectLiteral() IObjectLiteralContext
- func (s *ClassElementContext) PropertyName() IPropertyNameContext
- func (s *ClassElementContext) SemiColon() antlr.TerminalNode
- func (s *ClassElementContext) SingleExpression() ISingleExpressionContext
- func (s *ClassElementContext) Static(i int) antlr.TerminalNode
- func (s *ClassElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClassExpressionContext
- func (s *ClassExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassExpressionContext) Class() antlr.TerminalNode
- func (s *ClassExpressionContext) ClassTail() IClassTailContext
- func (s *ClassExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ClassExpressionContext) Identifier() IIdentifierContext
- type ClassTailContext
- func (s *ClassTailContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassTailContext) AllClassElement() []IClassElementContext
- func (s *ClassTailContext) ClassElement(i int) IClassElementContext
- func (s *ClassTailContext) CloseBrace() antlr.TerminalNode
- func (s *ClassTailContext) Extends() antlr.TerminalNode
- func (s *ClassTailContext) GetParser() antlr.Parser
- func (s *ClassTailContext) GetRuleContext() antlr.RuleContext
- func (*ClassTailContext) IsClassTailContext()
- func (s *ClassTailContext) OpenBrace() antlr.TerminalNode
- func (s *ClassTailContext) SingleExpression() ISingleExpressionContext
- func (s *ClassTailContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CoalesceExpressionContext
- func (s *CoalesceExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CoalesceExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *CoalesceExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *CoalesceExpressionContext) NullCoalesce() antlr.TerminalNode
- func (s *CoalesceExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type ComputedPropertyExpressionAssignmentContext
- func (s *ComputedPropertyExpressionAssignmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComputedPropertyExpressionAssignmentContext) AllSingleExpression() []ISingleExpressionContext
- func (s *ComputedPropertyExpressionAssignmentContext) CloseBracket() antlr.TerminalNode
- func (s *ComputedPropertyExpressionAssignmentContext) Colon() antlr.TerminalNode
- func (s *ComputedPropertyExpressionAssignmentContext) GetRuleContext() antlr.RuleContext
- func (s *ComputedPropertyExpressionAssignmentContext) OpenBracket() antlr.TerminalNode
- func (s *ComputedPropertyExpressionAssignmentContext) SingleExpression(i int) ISingleExpressionContext
- type ContinueStatementContext
- func (s *ContinueStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ContinueStatementContext) Continue() antlr.TerminalNode
- func (s *ContinueStatementContext) Eos() IEosContext
- func (s *ContinueStatementContext) GetParser() antlr.Parser
- func (s *ContinueStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ContinueStatementContext) Identifier() IIdentifierContext
- func (*ContinueStatementContext) IsContinueStatementContext()
- func (s *ContinueStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DebuggerStatementContext
- func (s *DebuggerStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DebuggerStatementContext) Debugger() antlr.TerminalNode
- func (s *DebuggerStatementContext) Eos() IEosContext
- func (s *DebuggerStatementContext) GetParser() antlr.Parser
- func (s *DebuggerStatementContext) GetRuleContext() antlr.RuleContext
- func (*DebuggerStatementContext) IsDebuggerStatementContext()
- func (s *DebuggerStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeclarationContext
- func (s *DeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DeclarationContext) ClassDeclaration() IClassDeclarationContext
- func (s *DeclarationContext) FunctionDeclaration() IFunctionDeclarationContext
- func (s *DeclarationContext) GetParser() antlr.Parser
- func (s *DeclarationContext) GetRuleContext() antlr.RuleContext
- func (*DeclarationContext) IsDeclarationContext()
- func (s *DeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DeclarationContext) VariableStatement() IVariableStatementContext
- type DefaultClauseContext
- func (s *DefaultClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefaultClauseContext) Colon() antlr.TerminalNode
- func (s *DefaultClauseContext) Default() antlr.TerminalNode
- func (s *DefaultClauseContext) GetParser() antlr.Parser
- func (s *DefaultClauseContext) GetRuleContext() antlr.RuleContext
- func (*DefaultClauseContext) IsDefaultClauseContext()
- func (s *DefaultClauseContext) StatementList() IStatementListContext
- func (s *DefaultClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeleteExpressionContext
- type DoStatementContext
- func (s *DoStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DoStatementContext) CloseParen() antlr.TerminalNode
- func (s *DoStatementContext) Do() antlr.TerminalNode
- func (s *DoStatementContext) Eos() IEosContext
- func (s *DoStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *DoStatementContext) GetRuleContext() antlr.RuleContext
- func (s *DoStatementContext) OpenParen() antlr.TerminalNode
- func (s *DoStatementContext) Statement() IStatementContext
- func (s *DoStatementContext) While() antlr.TerminalNode
- type ElementListContext
- func (s *ElementListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElementListContext) AllArrayElement() []IArrayElementContext
- func (s *ElementListContext) AllComma() []antlr.TerminalNode
- func (s *ElementListContext) ArrayElement(i int) IArrayElementContext
- func (s *ElementListContext) Comma(i int) antlr.TerminalNode
- func (s *ElementListContext) GetParser() antlr.Parser
- func (s *ElementListContext) GetRuleContext() antlr.RuleContext
- func (*ElementListContext) IsElementListContext()
- func (s *ElementListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EmptyStatement_Context
- func (s *EmptyStatement_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EmptyStatement_Context) GetParser() antlr.Parser
- func (s *EmptyStatement_Context) GetRuleContext() antlr.RuleContext
- func (*EmptyStatement_Context) IsEmptyStatement_Context()
- func (s *EmptyStatement_Context) SemiColon() antlr.TerminalNode
- func (s *EmptyStatement_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EosContext
- func (s *EosContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EosContext) EOF() antlr.TerminalNode
- func (s *EosContext) GetParser() antlr.Parser
- func (s *EosContext) GetRuleContext() antlr.RuleContext
- func (*EosContext) IsEosContext()
- func (s *EosContext) SemiColon() antlr.TerminalNode
- func (s *EosContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EqualityExpressionContext
- func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EqualityExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *EqualityExpressionContext) Equals_() antlr.TerminalNode
- func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *EqualityExpressionContext) IdentityEquals() antlr.TerminalNode
- func (s *EqualityExpressionContext) IdentityNotEquals() antlr.TerminalNode
- func (s *EqualityExpressionContext) NotEquals() antlr.TerminalNode
- func (s *EqualityExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type ExportDeclarationContext
- func (s *ExportDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExportDeclarationContext) Declaration() IDeclarationContext
- func (s *ExportDeclarationContext) Eos() IEosContext
- func (s *ExportDeclarationContext) Export() antlr.TerminalNode
- func (s *ExportDeclarationContext) ExportFromBlock() IExportFromBlockContext
- func (s *ExportDeclarationContext) GetRuleContext() antlr.RuleContext
- type ExportDefaultDeclarationContext
- func (s *ExportDefaultDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExportDefaultDeclarationContext) Default() antlr.TerminalNode
- func (s *ExportDefaultDeclarationContext) Eos() IEosContext
- func (s *ExportDefaultDeclarationContext) Export() antlr.TerminalNode
- func (s *ExportDefaultDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *ExportDefaultDeclarationContext) SingleExpression() ISingleExpressionContext
- type ExportFromBlockContext
- func (s *ExportFromBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExportFromBlockContext) Eos() IEosContext
- func (s *ExportFromBlockContext) GetParser() antlr.Parser
- func (s *ExportFromBlockContext) GetRuleContext() antlr.RuleContext
- func (s *ExportFromBlockContext) ImportFrom() IImportFromContext
- func (s *ExportFromBlockContext) ImportNamespace() IImportNamespaceContext
- func (*ExportFromBlockContext) IsExportFromBlockContext()
- func (s *ExportFromBlockContext) ModuleItems() IModuleItemsContext
- func (s *ExportFromBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExportStatementContext
- func (s *ExportStatementContext) CopyFrom(ctx *ExportStatementContext)
- func (s *ExportStatementContext) GetParser() antlr.Parser
- func (s *ExportStatementContext) GetRuleContext() antlr.RuleContext
- func (*ExportStatementContext) IsExportStatementContext()
- func (s *ExportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionSequenceContext
- func (s *ExpressionSequenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionSequenceContext) AllComma() []antlr.TerminalNode
- func (s *ExpressionSequenceContext) AllSingleExpression() []ISingleExpressionContext
- func (s *ExpressionSequenceContext) Comma(i int) antlr.TerminalNode
- func (s *ExpressionSequenceContext) GetParser() antlr.Parser
- func (s *ExpressionSequenceContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionSequenceContext) IsExpressionSequenceContext()
- func (s *ExpressionSequenceContext) SingleExpression(i int) ISingleExpressionContext
- func (s *ExpressionSequenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionStatementContext
- func (s *ExpressionStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionStatementContext) Eos() IEosContext
- func (s *ExpressionStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ExpressionStatementContext) GetParser() antlr.Parser
- func (s *ExpressionStatementContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionStatementContext) IsExpressionStatementContext()
- func (s *ExpressionStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FinallyProductionContext
- func (s *FinallyProductionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FinallyProductionContext) Block() IBlockContext
- func (s *FinallyProductionContext) Finally() antlr.TerminalNode
- func (s *FinallyProductionContext) GetParser() antlr.Parser
- func (s *FinallyProductionContext) GetRuleContext() antlr.RuleContext
- func (*FinallyProductionContext) IsFinallyProductionContext()
- func (s *FinallyProductionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForInStatementContext
- func (s *ForInStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForInStatementContext) CloseParen() antlr.TerminalNode
- func (s *ForInStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ForInStatementContext) For() antlr.TerminalNode
- func (s *ForInStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ForInStatementContext) In() antlr.TerminalNode
- func (s *ForInStatementContext) OpenParen() antlr.TerminalNode
- func (s *ForInStatementContext) SingleExpression() ISingleExpressionContext
- func (s *ForInStatementContext) Statement() IStatementContext
- func (s *ForInStatementContext) VariableDeclarationList() IVariableDeclarationListContext
- type ForOfStatementContext
- func (s *ForOfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForOfStatementContext) Await() antlr.TerminalNode
- func (s *ForOfStatementContext) CloseParen() antlr.TerminalNode
- func (s *ForOfStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ForOfStatementContext) For() antlr.TerminalNode
- func (s *ForOfStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ForOfStatementContext) Identifier() IIdentifierContext
- func (s *ForOfStatementContext) OpenParen() antlr.TerminalNode
- func (s *ForOfStatementContext) SingleExpression() ISingleExpressionContext
- func (s *ForOfStatementContext) Statement() IStatementContext
- func (s *ForOfStatementContext) VariableDeclarationList() IVariableDeclarationListContext
- type ForStatementContext
- func (s *ForStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForStatementContext) AllExpressionSequence() []IExpressionSequenceContext
- func (s *ForStatementContext) AllSemiColon() []antlr.TerminalNode
- func (s *ForStatementContext) CloseParen() antlr.TerminalNode
- func (s *ForStatementContext) ExpressionSequence(i int) IExpressionSequenceContext
- func (s *ForStatementContext) For() antlr.TerminalNode
- func (s *ForStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ForStatementContext) OpenParen() antlr.TerminalNode
- func (s *ForStatementContext) SemiColon(i int) antlr.TerminalNode
- func (s *ForStatementContext) Statement() IStatementContext
- func (s *ForStatementContext) VariableDeclarationList() IVariableDeclarationListContext
- type FormalParameterArgContext
- func (s *FormalParameterArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormalParameterArgContext) Assign() antlr.TerminalNode
- func (s *FormalParameterArgContext) Assignable() IAssignableContext
- func (s *FormalParameterArgContext) GetParser() antlr.Parser
- func (s *FormalParameterArgContext) GetRuleContext() antlr.RuleContext
- func (*FormalParameterArgContext) IsFormalParameterArgContext()
- func (s *FormalParameterArgContext) SingleExpression() ISingleExpressionContext
- func (s *FormalParameterArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FormalParameterListContext
- func (s *FormalParameterListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormalParameterListContext) AllComma() []antlr.TerminalNode
- func (s *FormalParameterListContext) AllFormalParameterArg() []IFormalParameterArgContext
- func (s *FormalParameterListContext) Comma(i int) antlr.TerminalNode
- func (s *FormalParameterListContext) FormalParameterArg(i int) IFormalParameterArgContext
- func (s *FormalParameterListContext) GetParser() antlr.Parser
- func (s *FormalParameterListContext) GetRuleContext() antlr.RuleContext
- func (*FormalParameterListContext) IsFormalParameterListContext()
- func (s *FormalParameterListContext) LastFormalParameterArg() ILastFormalParameterArgContext
- func (s *FormalParameterListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionBodyContext
- func (s *FunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionBodyContext) CloseBrace() antlr.TerminalNode
- func (s *FunctionBodyContext) GetParser() antlr.Parser
- func (s *FunctionBodyContext) GetRuleContext() antlr.RuleContext
- func (*FunctionBodyContext) IsFunctionBodyContext()
- func (s *FunctionBodyContext) OpenBrace() antlr.TerminalNode
- func (s *FunctionBodyContext) SourceElements() ISourceElementsContext
- func (s *FunctionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionDeclContext
- type FunctionDeclarationContext
- func (s *FunctionDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionDeclarationContext) Async() antlr.TerminalNode
- func (s *FunctionDeclarationContext) CloseParen() antlr.TerminalNode
- func (s *FunctionDeclarationContext) FormalParameterList() IFormalParameterListContext
- func (s *FunctionDeclarationContext) FunctionBody() IFunctionBodyContext
- func (s *FunctionDeclarationContext) Function_() antlr.TerminalNode
- func (s *FunctionDeclarationContext) GetParser() antlr.Parser
- func (s *FunctionDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionDeclarationContext) Identifier() IIdentifierContext
- func (*FunctionDeclarationContext) IsFunctionDeclarationContext()
- func (s *FunctionDeclarationContext) Multiply() antlr.TerminalNode
- func (s *FunctionDeclarationContext) OpenParen() antlr.TerminalNode
- func (s *FunctionDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionExpressionContext
- type FunctionPropertyContext
- func (s *FunctionPropertyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionPropertyContext) Async() antlr.TerminalNode
- func (s *FunctionPropertyContext) CloseParen() antlr.TerminalNode
- func (s *FunctionPropertyContext) FormalParameterList() IFormalParameterListContext
- func (s *FunctionPropertyContext) FunctionBody() IFunctionBodyContext
- func (s *FunctionPropertyContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionPropertyContext) Multiply() antlr.TerminalNode
- func (s *FunctionPropertyContext) OpenParen() antlr.TerminalNode
- func (s *FunctionPropertyContext) PropertyName() IPropertyNameContext
- type GetterContext
- func (s *GetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GetterContext) GetParser() antlr.Parser
- func (s *GetterContext) GetRuleContext() antlr.RuleContext
- func (s *GetterContext) Identifier() IIdentifierContext
- func (*GetterContext) IsGetterContext()
- func (s *GetterContext) PropertyName() IPropertyNameContext
- func (s *GetterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAliasNameContext
- type IAnonymousFunctionContext
- type IArgumentContext
- type IArgumentsContext
- type IArrayElementContext
- type IArrayLiteralContext
- type IArrowFunctionBodyContext
- type IArrowFunctionParametersContext
- type IAssignableContext
- type IAssignmentOperatorContext
- type IBigintLiteralContext
- type IBlockContext
- type IBreakStatementContext
- type ICaseBlockContext
- type ICaseClauseContext
- type ICaseClausesContext
- type ICatchProductionContext
- type IClassDeclarationContext
- type IClassElementContext
- type IClassTailContext
- type IContinueStatementContext
- type IDebuggerStatementContext
- type IDeclarationContext
- type IDefaultClauseContext
- type IElementListContext
- type IEmptyStatement_Context
- type IEosContext
- type IExportFromBlockContext
- type IExportStatementContext
- type IExpressionSequenceContext
- type IExpressionStatementContext
- type IFinallyProductionContext
- type IFormalParameterArgContext
- type IFormalParameterListContext
- type IFunctionBodyContext
- type IFunctionDeclarationContext
- type IGetterContext
- type IIdentifierContext
- type IIdentifierNameContext
- type IIfStatementContext
- type IImportDefaultContext
- type IImportFromBlockContext
- type IImportFromContext
- type IImportNamespaceContext
- type IImportStatementContext
- type IIterationStatementContext
- type IKeywordContext
- type ILabelledStatementContext
- type ILastFormalParameterArgContext
- type ILet_Context
- type ILiteralContext
- type IMethodDefinitionContext
- type IModuleItemsContext
- type INumericLiteralContext
- type IObjectLiteralContext
- type IProgramContext
- type IPropertyAssignmentContext
- type IPropertyNameContext
- type IReservedWordContext
- type IReturnStatementContext
- type ISetterContext
- type ISingleExpressionContext
- type ISourceElementContext
- type ISourceElementsContext
- type IStatementContext
- type IStatementListContext
- type ISwitchStatementContext
- type IThrowStatementContext
- type ITryStatementContext
- type IVarModifierContext
- type IVariableDeclarationContext
- type IVariableDeclarationListContext
- type IVariableStatementContext
- type IWithStatementContext
- type IYieldStatementContext
- type IdentifierContext
- func (s *IdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierContext) Async() antlr.TerminalNode
- func (s *IdentifierContext) GetParser() antlr.Parser
- func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierContext) Identifier() antlr.TerminalNode
- func (*IdentifierContext) IsIdentifierContext()
- func (s *IdentifierContext) NonStrictLet() antlr.TerminalNode
- func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IdentifierExpressionContext
- type IdentifierNameContext
- func (s *IdentifierNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierNameContext) GetParser() antlr.Parser
- func (s *IdentifierNameContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierNameContext) Identifier() IIdentifierContext
- func (*IdentifierNameContext) IsIdentifierNameContext()
- func (s *IdentifierNameContext) ReservedWord() IReservedWordContext
- func (s *IdentifierNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IfStatementContext
- func (s *IfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IfStatementContext) AllStatement() []IStatementContext
- func (s *IfStatementContext) CloseParen() antlr.TerminalNode
- func (s *IfStatementContext) Else() antlr.TerminalNode
- func (s *IfStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *IfStatementContext) GetParser() antlr.Parser
- func (s *IfStatementContext) GetRuleContext() antlr.RuleContext
- func (s *IfStatementContext) If() antlr.TerminalNode
- func (*IfStatementContext) IsIfStatementContext()
- func (s *IfStatementContext) OpenParen() antlr.TerminalNode
- func (s *IfStatementContext) Statement(i int) IStatementContext
- func (s *IfStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportDefaultContext
- func (s *ImportDefaultContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportDefaultContext) AliasName() IAliasNameContext
- func (s *ImportDefaultContext) Comma() antlr.TerminalNode
- func (s *ImportDefaultContext) GetParser() antlr.Parser
- func (s *ImportDefaultContext) GetRuleContext() antlr.RuleContext
- func (*ImportDefaultContext) IsImportDefaultContext()
- func (s *ImportDefaultContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportExpressionContext
- func (s *ImportExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportExpressionContext) CloseParen() antlr.TerminalNode
- func (s *ImportExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ImportExpressionContext) Import() antlr.TerminalNode
- func (s *ImportExpressionContext) OpenParen() antlr.TerminalNode
- func (s *ImportExpressionContext) SingleExpression() ISingleExpressionContext
- type ImportFromBlockContext
- func (s *ImportFromBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportFromBlockContext) Eos() IEosContext
- func (s *ImportFromBlockContext) GetParser() antlr.Parser
- func (s *ImportFromBlockContext) GetRuleContext() antlr.RuleContext
- func (s *ImportFromBlockContext) ImportDefault() IImportDefaultContext
- func (s *ImportFromBlockContext) ImportFrom() IImportFromContext
- func (s *ImportFromBlockContext) ImportNamespace() IImportNamespaceContext
- func (*ImportFromBlockContext) IsImportFromBlockContext()
- func (s *ImportFromBlockContext) ModuleItems() IModuleItemsContext
- func (s *ImportFromBlockContext) StringLiteral() antlr.TerminalNode
- func (s *ImportFromBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportFromContext
- func (s *ImportFromContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportFromContext) From() antlr.TerminalNode
- func (s *ImportFromContext) GetParser() antlr.Parser
- func (s *ImportFromContext) GetRuleContext() antlr.RuleContext
- func (*ImportFromContext) IsImportFromContext()
- func (s *ImportFromContext) StringLiteral() antlr.TerminalNode
- func (s *ImportFromContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportNamespaceContext
- func (s *ImportNamespaceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportNamespaceContext) AllIdentifierName() []IIdentifierNameContext
- func (s *ImportNamespaceContext) As() antlr.TerminalNode
- func (s *ImportNamespaceContext) GetParser() antlr.Parser
- func (s *ImportNamespaceContext) GetRuleContext() antlr.RuleContext
- func (s *ImportNamespaceContext) IdentifierName(i int) IIdentifierNameContext
- func (*ImportNamespaceContext) IsImportNamespaceContext()
- func (s *ImportNamespaceContext) Multiply() antlr.TerminalNode
- func (s *ImportNamespaceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportStatementContext
- func (s *ImportStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportStatementContext) GetParser() antlr.Parser
- func (s *ImportStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ImportStatementContext) Import() antlr.TerminalNode
- func (s *ImportStatementContext) ImportFromBlock() IImportFromBlockContext
- func (*ImportStatementContext) IsImportStatementContext()
- func (s *ImportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InExpressionContext
- func (s *InExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *InExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *InExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *InExpressionContext) In() antlr.TerminalNode
- func (s *InExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type InstanceofExpressionContext
- func (s *InstanceofExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *InstanceofExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *InstanceofExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *InstanceofExpressionContext) Instanceof() antlr.TerminalNode
- func (s *InstanceofExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type IterationStatementContext
- func (s *IterationStatementContext) CopyFrom(ctx *IterationStatementContext)
- func (s *IterationStatementContext) GetParser() antlr.Parser
- func (s *IterationStatementContext) GetRuleContext() antlr.RuleContext
- func (*IterationStatementContext) IsIterationStatementContext()
- func (s *IterationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type JavaScriptLexer
- func (l *JavaScriptLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
- func (l *JavaScriptLexer) CloseBrace_Action(localctx antlr.RuleContext, actionIndex int)
- func (p *JavaScriptLexer) HashBangLine_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) Implements_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) Interface_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) NonStrictLet_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) OctalIntegerLiteral_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (l *JavaScriptLexer) OpenBrace_Action(localctx antlr.RuleContext, actionIndex int)
- func (p *JavaScriptLexer) Package_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) Private_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) Protected_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) Public_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) RegularExpressionLiteral_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (l *JavaScriptLexer) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *JavaScriptLexer) Static_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptLexer) StrictLet_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (l *JavaScriptLexer) StringLiteral_Action(localctx antlr.RuleContext, actionIndex int)
- func (p *JavaScriptLexer) Yield_Sempred(localctx antlr.RuleContext, predIndex int) bool
- type JavaScriptLexerBase
- func (l *JavaScriptLexerBase) IsRegexPossible() bool
- func (l *JavaScriptLexerBase) IsStartOfFile() bool
- func (l *JavaScriptLexerBase) IsStrictMode() bool
- func (l *JavaScriptLexerBase) NextToken() antlr.Token
- func (l *JavaScriptLexerBase) ProcessCloseBrace()
- func (l *JavaScriptLexerBase) ProcessOpenBrace()
- func (l *JavaScriptLexerBase) ProcessStringLiteral()
- type JavaScriptParser
- func (p *JavaScriptParser) AliasName() (localctx IAliasNameContext)
- func (p *JavaScriptParser) AnonymousFunction() (localctx IAnonymousFunctionContext)
- func (p *JavaScriptParser) Argument() (localctx IArgumentContext)
- func (p *JavaScriptParser) Arguments() (localctx IArgumentsContext)
- func (p *JavaScriptParser) ArrayElement() (localctx IArrayElementContext)
- func (p *JavaScriptParser) ArrayLiteral() (localctx IArrayLiteralContext)
- func (p *JavaScriptParser) ArrowFunctionBody() (localctx IArrowFunctionBodyContext)
- func (p *JavaScriptParser) ArrowFunctionParameters() (localctx IArrowFunctionParametersContext)
- func (p *JavaScriptParser) Assignable() (localctx IAssignableContext)
- func (p *JavaScriptParser) AssignmentOperator() (localctx IAssignmentOperatorContext)
- func (p *JavaScriptParser) BigintLiteral() (localctx IBigintLiteralContext)
- func (p *JavaScriptParser) Block() (localctx IBlockContext)
- func (p *JavaScriptParser) BreakStatement() (localctx IBreakStatementContext)
- func (p *JavaScriptParser) BreakStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) CaseBlock() (localctx ICaseBlockContext)
- func (p *JavaScriptParser) CaseClause() (localctx ICaseClauseContext)
- func (p *JavaScriptParser) CaseClauses() (localctx ICaseClausesContext)
- func (p *JavaScriptParser) CatchProduction() (localctx ICatchProductionContext)
- func (p *JavaScriptParser) ClassDeclaration() (localctx IClassDeclarationContext)
- func (p *JavaScriptParser) ClassElement() (localctx IClassElementContext)
- func (p *JavaScriptParser) ClassElement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) ClassTail() (localctx IClassTailContext)
- func (p *JavaScriptParser) ContinueStatement() (localctx IContinueStatementContext)
- func (p *JavaScriptParser) ContinueStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) DebuggerStatement() (localctx IDebuggerStatementContext)
- func (p *JavaScriptParser) Declaration() (localctx IDeclarationContext)
- func (p *JavaScriptParser) DefaultClause() (localctx IDefaultClauseContext)
- func (p *JavaScriptParser) ElementList() (localctx IElementListContext)
- func (p *JavaScriptParser) EmptyStatement_() (localctx IEmptyStatement_Context)
- func (p *JavaScriptParser) Eos() (localctx IEosContext)
- func (p *JavaScriptParser) Eos_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) ExportFromBlock() (localctx IExportFromBlockContext)
- func (p *JavaScriptParser) ExportStatement() (localctx IExportStatementContext)
- func (p *JavaScriptParser) ExpressionSequence() (localctx IExpressionSequenceContext)
- func (p *JavaScriptParser) ExpressionStatement() (localctx IExpressionStatementContext)
- func (p *JavaScriptParser) ExpressionStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) FinallyProduction() (localctx IFinallyProductionContext)
- func (p *JavaScriptParser) FormalParameterArg() (localctx IFormalParameterArgContext)
- func (p *JavaScriptParser) FormalParameterList() (localctx IFormalParameterListContext)
- func (p *JavaScriptParser) FunctionBody() (localctx IFunctionBodyContext)
- func (p *JavaScriptParser) FunctionDeclaration() (localctx IFunctionDeclarationContext)
- func (p *JavaScriptParser) Getter() (localctx IGetterContext)
- func (p *JavaScriptParser) Getter_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) Identifier() (localctx IIdentifierContext)
- func (p *JavaScriptParser) IdentifierName() (localctx IIdentifierNameContext)
- func (p *JavaScriptParser) IfStatement() (localctx IIfStatementContext)
- func (p *JavaScriptParser) ImportDefault() (localctx IImportDefaultContext)
- func (p *JavaScriptParser) ImportFrom() (localctx IImportFromContext)
- func (p *JavaScriptParser) ImportFromBlock() (localctx IImportFromBlockContext)
- func (p *JavaScriptParser) ImportNamespace() (localctx IImportNamespaceContext)
- func (p *JavaScriptParser) ImportStatement() (localctx IImportStatementContext)
- func (p *JavaScriptParser) IterationStatement() (localctx IIterationStatementContext)
- func (p *JavaScriptParser) IterationStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) Keyword() (localctx IKeywordContext)
- func (p *JavaScriptParser) LabelledStatement() (localctx ILabelledStatementContext)
- func (p *JavaScriptParser) LastFormalParameterArg() (localctx ILastFormalParameterArgContext)
- func (p *JavaScriptParser) Let_() (localctx ILet_Context)
- func (p *JavaScriptParser) Literal() (localctx ILiteralContext)
- func (p *JavaScriptParser) MethodDefinition() (localctx IMethodDefinitionContext)
- func (p *JavaScriptParser) ModuleItems() (localctx IModuleItemsContext)
- func (p *JavaScriptParser) NumericLiteral() (localctx INumericLiteralContext)
- func (p *JavaScriptParser) ObjectLiteral() (localctx IObjectLiteralContext)
- func (p *JavaScriptParser) Program() (localctx IProgramContext)
- func (p *JavaScriptParser) PropertyAssignment() (localctx IPropertyAssignmentContext)
- func (p *JavaScriptParser) PropertyName() (localctx IPropertyNameContext)
- func (p *JavaScriptParser) ReservedWord() (localctx IReservedWordContext)
- func (p *JavaScriptParser) ReturnStatement() (localctx IReturnStatementContext)
- func (p *JavaScriptParser) ReturnStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *JavaScriptParser) Setter() (localctx ISetterContext)
- func (p *JavaScriptParser) Setter_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) SingleExpression() (localctx ISingleExpressionContext)
- func (p *JavaScriptParser) SingleExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) SourceElement() (localctx ISourceElementContext)
- func (p *JavaScriptParser) SourceElements() (localctx ISourceElementsContext)
- func (p *JavaScriptParser) Statement() (localctx IStatementContext)
- func (p *JavaScriptParser) StatementList() (localctx IStatementListContext)
- func (p *JavaScriptParser) SwitchStatement() (localctx ISwitchStatementContext)
- func (p *JavaScriptParser) ThrowStatement() (localctx IThrowStatementContext)
- func (p *JavaScriptParser) ThrowStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JavaScriptParser) TryStatement() (localctx ITryStatementContext)
- func (p *JavaScriptParser) VarModifier() (localctx IVarModifierContext)
- func (p *JavaScriptParser) VariableDeclaration() (localctx IVariableDeclarationContext)
- func (p *JavaScriptParser) VariableDeclarationList() (localctx IVariableDeclarationListContext)
- func (p *JavaScriptParser) VariableStatement() (localctx IVariableStatementContext)
- func (p *JavaScriptParser) WithStatement() (localctx IWithStatementContext)
- func (p *JavaScriptParser) YieldStatement() (localctx IYieldStatementContext)
- func (p *JavaScriptParser) YieldStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
- type JavaScriptParserBase
- type JavaScriptParserVisitor
- type KeywordContext
- func (s *KeywordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *KeywordContext) As() antlr.TerminalNode
- func (s *KeywordContext) Async() antlr.TerminalNode
- func (s *KeywordContext) Await() antlr.TerminalNode
- func (s *KeywordContext) Break() antlr.TerminalNode
- func (s *KeywordContext) Case() antlr.TerminalNode
- func (s *KeywordContext) Catch() antlr.TerminalNode
- func (s *KeywordContext) Class() antlr.TerminalNode
- func (s *KeywordContext) Const() antlr.TerminalNode
- func (s *KeywordContext) Continue() antlr.TerminalNode
- func (s *KeywordContext) Debugger() antlr.TerminalNode
- func (s *KeywordContext) Default() antlr.TerminalNode
- func (s *KeywordContext) Delete() antlr.TerminalNode
- func (s *KeywordContext) Do() antlr.TerminalNode
- func (s *KeywordContext) Else() antlr.TerminalNode
- func (s *KeywordContext) Enum() antlr.TerminalNode
- func (s *KeywordContext) Export() antlr.TerminalNode
- func (s *KeywordContext) Extends() antlr.TerminalNode
- func (s *KeywordContext) Finally() antlr.TerminalNode
- func (s *KeywordContext) For() antlr.TerminalNode
- func (s *KeywordContext) From() antlr.TerminalNode
- func (s *KeywordContext) Function_() antlr.TerminalNode
- func (s *KeywordContext) GetParser() antlr.Parser
- func (s *KeywordContext) GetRuleContext() antlr.RuleContext
- func (s *KeywordContext) If() antlr.TerminalNode
- func (s *KeywordContext) Implements() antlr.TerminalNode
- func (s *KeywordContext) Import() antlr.TerminalNode
- func (s *KeywordContext) In() antlr.TerminalNode
- func (s *KeywordContext) Instanceof() antlr.TerminalNode
- func (s *KeywordContext) Interface() antlr.TerminalNode
- func (*KeywordContext) IsKeywordContext()
- func (s *KeywordContext) Let_() ILet_Context
- func (s *KeywordContext) New() antlr.TerminalNode
- func (s *KeywordContext) Package() antlr.TerminalNode
- func (s *KeywordContext) Private() antlr.TerminalNode
- func (s *KeywordContext) Protected() antlr.TerminalNode
- func (s *KeywordContext) Public() antlr.TerminalNode
- func (s *KeywordContext) Return() antlr.TerminalNode
- func (s *KeywordContext) Static() antlr.TerminalNode
- func (s *KeywordContext) Super() antlr.TerminalNode
- func (s *KeywordContext) Switch() antlr.TerminalNode
- func (s *KeywordContext) This() antlr.TerminalNode
- func (s *KeywordContext) Throw() antlr.TerminalNode
- func (s *KeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *KeywordContext) Try() antlr.TerminalNode
- func (s *KeywordContext) Typeof() antlr.TerminalNode
- func (s *KeywordContext) Var() antlr.TerminalNode
- func (s *KeywordContext) Void() antlr.TerminalNode
- func (s *KeywordContext) While() antlr.TerminalNode
- func (s *KeywordContext) With() antlr.TerminalNode
- func (s *KeywordContext) Yield() antlr.TerminalNode
- type LabelledStatementContext
- func (s *LabelledStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LabelledStatementContext) Colon() antlr.TerminalNode
- func (s *LabelledStatementContext) GetParser() antlr.Parser
- func (s *LabelledStatementContext) GetRuleContext() antlr.RuleContext
- func (s *LabelledStatementContext) Identifier() IIdentifierContext
- func (*LabelledStatementContext) IsLabelledStatementContext()
- func (s *LabelledStatementContext) Statement() IStatementContext
- func (s *LabelledStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LastFormalParameterArgContext
- func (s *LastFormalParameterArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LastFormalParameterArgContext) Ellipsis() antlr.TerminalNode
- func (s *LastFormalParameterArgContext) GetParser() antlr.Parser
- func (s *LastFormalParameterArgContext) GetRuleContext() antlr.RuleContext
- func (*LastFormalParameterArgContext) IsLastFormalParameterArgContext()
- func (s *LastFormalParameterArgContext) SingleExpression() ISingleExpressionContext
- func (s *LastFormalParameterArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Let_Context
- func (s *Let_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Let_Context) GetParser() antlr.Parser
- func (s *Let_Context) GetRuleContext() antlr.RuleContext
- func (*Let_Context) IsLet_Context()
- func (s *Let_Context) NonStrictLet() antlr.TerminalNode
- func (s *Let_Context) StrictLet() antlr.TerminalNode
- func (s *Let_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralContext) BigintLiteral() IBigintLiteralContext
- func (s *LiteralContext) BooleanLiteral() antlr.TerminalNode
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) NullLiteral() antlr.TerminalNode
- func (s *LiteralContext) NumericLiteral() INumericLiteralContext
- func (s *LiteralContext) RegularExpressionLiteral() antlr.TerminalNode
- func (s *LiteralContext) StringLiteral() antlr.TerminalNode
- func (s *LiteralContext) TemplateStringLiteral() antlr.TerminalNode
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralExpressionContext
- type LogicalAndExpressionContext
- func (s *LogicalAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LogicalAndExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *LogicalAndExpressionContext) And() antlr.TerminalNode
- func (s *LogicalAndExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *LogicalAndExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type LogicalOrExpressionContext
- func (s *LogicalOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LogicalOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *LogicalOrExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *LogicalOrExpressionContext) Or() antlr.TerminalNode
- func (s *LogicalOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type MemberDotExpressionContext
- func (s *MemberDotExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MemberDotExpressionContext) Dot() antlr.TerminalNode
- func (s *MemberDotExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MemberDotExpressionContext) Hashtag() antlr.TerminalNode
- func (s *MemberDotExpressionContext) IdentifierName() IIdentifierNameContext
- func (s *MemberDotExpressionContext) QuestionMark() antlr.TerminalNode
- func (s *MemberDotExpressionContext) SingleExpression() ISingleExpressionContext
- type MemberIndexExpressionContext
- func (s *MemberIndexExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MemberIndexExpressionContext) CloseBracket() antlr.TerminalNode
- func (s *MemberIndexExpressionContext) ExpressionSequence() IExpressionSequenceContext
- func (s *MemberIndexExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MemberIndexExpressionContext) OpenBracket() antlr.TerminalNode
- func (s *MemberIndexExpressionContext) SingleExpression() ISingleExpressionContext
- type MememberAccessVisitorResult
- type MetaExpressionContext
- func (s *MetaExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MetaExpressionContext) Dot() antlr.TerminalNode
- func (s *MetaExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MetaExpressionContext) Identifier() IIdentifierContext
- func (s *MetaExpressionContext) New() antlr.TerminalNode
- type MethodDefinitionContext
- func (s *MethodDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MethodDefinitionContext) CloseParen() antlr.TerminalNode
- func (s *MethodDefinitionContext) FormalParameterList() IFormalParameterListContext
- func (s *MethodDefinitionContext) FunctionBody() IFunctionBodyContext
- func (s *MethodDefinitionContext) GetParser() antlr.Parser
- func (s *MethodDefinitionContext) GetRuleContext() antlr.RuleContext
- func (s *MethodDefinitionContext) Getter() IGetterContext
- func (s *MethodDefinitionContext) Hashtag() antlr.TerminalNode
- func (*MethodDefinitionContext) IsMethodDefinitionContext()
- func (s *MethodDefinitionContext) Multiply() antlr.TerminalNode
- func (s *MethodDefinitionContext) OpenParen() antlr.TerminalNode
- func (s *MethodDefinitionContext) PropertyName() IPropertyNameContext
- func (s *MethodDefinitionContext) Setter() ISetterContext
- func (s *MethodDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ModuleItemsContext
- func (s *ModuleItemsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ModuleItemsContext) AliasName(i int) IAliasNameContext
- func (s *ModuleItemsContext) AllAliasName() []IAliasNameContext
- func (s *ModuleItemsContext) AllComma() []antlr.TerminalNode
- func (s *ModuleItemsContext) CloseBrace() antlr.TerminalNode
- func (s *ModuleItemsContext) Comma(i int) antlr.TerminalNode
- func (s *ModuleItemsContext) GetParser() antlr.Parser
- func (s *ModuleItemsContext) GetRuleContext() antlr.RuleContext
- func (*ModuleItemsContext) IsModuleItemsContext()
- func (s *ModuleItemsContext) OpenBrace() antlr.TerminalNode
- func (s *ModuleItemsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MultiplicativeExpressionContext
- func (s *MultiplicativeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MultiplicativeExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *MultiplicativeExpressionContext) Divide() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MultiplicativeExpressionContext) Modulus() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) Multiply() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type NewExpressionContext
- func (s *NewExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NewExpressionContext) Arguments() IArgumentsContext
- func (s *NewExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *NewExpressionContext) New() antlr.TerminalNode
- func (s *NewExpressionContext) SingleExpression() ISingleExpressionContext
- type NotExpressionContext
- type NumericLiteralContext
- func (s *NumericLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NumericLiteralContext) BinaryIntegerLiteral() antlr.TerminalNode
- func (s *NumericLiteralContext) DecimalLiteral() antlr.TerminalNode
- func (s *NumericLiteralContext) GetParser() antlr.Parser
- func (s *NumericLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *NumericLiteralContext) HexIntegerLiteral() antlr.TerminalNode
- func (*NumericLiteralContext) IsNumericLiteralContext()
- func (s *NumericLiteralContext) OctalIntegerLiteral() antlr.TerminalNode
- func (s *NumericLiteralContext) OctalIntegerLiteral2() antlr.TerminalNode
- func (s *NumericLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ObjectLiteralContext
- func (s *ObjectLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ObjectLiteralContext) AllComma() []antlr.TerminalNode
- func (s *ObjectLiteralContext) AllPropertyAssignment() []IPropertyAssignmentContext
- func (s *ObjectLiteralContext) CloseBrace() antlr.TerminalNode
- func (s *ObjectLiteralContext) Comma(i int) antlr.TerminalNode
- func (s *ObjectLiteralContext) GetParser() antlr.Parser
- func (s *ObjectLiteralContext) GetRuleContext() antlr.RuleContext
- func (*ObjectLiteralContext) IsObjectLiteralContext()
- func (s *ObjectLiteralContext) OpenBrace() antlr.TerminalNode
- func (s *ObjectLiteralContext) PropertyAssignment(i int) IPropertyAssignmentContext
- func (s *ObjectLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ObjectLiteralExpressionContext
- type ParenthesizedExpressionContext
- func (s *ParenthesizedExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParenthesizedExpressionContext) CloseParen() antlr.TerminalNode
- func (s *ParenthesizedExpressionContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ParenthesizedExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ParenthesizedExpressionContext) OpenParen() antlr.TerminalNode
- type PostDecreaseExpressionContext
- func (s *PostDecreaseExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PostDecreaseExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PostDecreaseExpressionContext) MinusMinus() antlr.TerminalNode
- func (s *PostDecreaseExpressionContext) SingleExpression() ISingleExpressionContext
- type PostIncrementExpressionContext
- func (s *PostIncrementExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PostIncrementExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PostIncrementExpressionContext) PlusPlus() antlr.TerminalNode
- func (s *PostIncrementExpressionContext) SingleExpression() ISingleExpressionContext
- type PowerExpressionContext
- func (s *PowerExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PowerExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *PowerExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PowerExpressionContext) Power() antlr.TerminalNode
- func (s *PowerExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type PreDecreaseExpressionContext
- func (s *PreDecreaseExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PreDecreaseExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PreDecreaseExpressionContext) MinusMinus() antlr.TerminalNode
- func (s *PreDecreaseExpressionContext) SingleExpression() ISingleExpressionContext
- type PreIncrementExpressionContext
- func (s *PreIncrementExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PreIncrementExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PreIncrementExpressionContext) PlusPlus() antlr.TerminalNode
- func (s *PreIncrementExpressionContext) SingleExpression() ISingleExpressionContext
- type ProgramContext
- func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ProgramContext) EOF() antlr.TerminalNode
- func (s *ProgramContext) GetParser() antlr.Parser
- func (s *ProgramContext) GetRuleContext() antlr.RuleContext
- func (s *ProgramContext) HashBangLine() antlr.TerminalNode
- func (*ProgramContext) IsProgramContext()
- func (s *ProgramContext) SourceElements() ISourceElementsContext
- func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertyAssignmentContext
- func (s *PropertyAssignmentContext) CopyFrom(ctx *PropertyAssignmentContext)
- func (s *PropertyAssignmentContext) GetParser() antlr.Parser
- func (s *PropertyAssignmentContext) GetRuleContext() antlr.RuleContext
- func (*PropertyAssignmentContext) IsPropertyAssignmentContext()
- func (s *PropertyAssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertyExpressionAssignmentContext
- func (s *PropertyExpressionAssignmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PropertyExpressionAssignmentContext) Colon() antlr.TerminalNode
- func (s *PropertyExpressionAssignmentContext) GetRuleContext() antlr.RuleContext
- func (s *PropertyExpressionAssignmentContext) PropertyName() IPropertyNameContext
- func (s *PropertyExpressionAssignmentContext) SingleExpression() ISingleExpressionContext
- type PropertyGetterContext
- func (s *PropertyGetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PropertyGetterContext) CloseParen() antlr.TerminalNode
- func (s *PropertyGetterContext) FunctionBody() IFunctionBodyContext
- func (s *PropertyGetterContext) GetRuleContext() antlr.RuleContext
- func (s *PropertyGetterContext) Getter() IGetterContext
- func (s *PropertyGetterContext) OpenParen() antlr.TerminalNode
- type PropertyNameContext
- func (s *PropertyNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PropertyNameContext) CloseBracket() antlr.TerminalNode
- func (s *PropertyNameContext) GetParser() antlr.Parser
- func (s *PropertyNameContext) GetRuleContext() antlr.RuleContext
- func (s *PropertyNameContext) IdentifierName() IIdentifierNameContext
- func (*PropertyNameContext) IsPropertyNameContext()
- func (s *PropertyNameContext) NumericLiteral() INumericLiteralContext
- func (s *PropertyNameContext) OpenBracket() antlr.TerminalNode
- func (s *PropertyNameContext) SingleExpression() ISingleExpressionContext
- func (s *PropertyNameContext) StringLiteral() antlr.TerminalNode
- func (s *PropertyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertySetterContext
- func (s *PropertySetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PropertySetterContext) CloseParen() antlr.TerminalNode
- func (s *PropertySetterContext) FormalParameterArg() IFormalParameterArgContext
- func (s *PropertySetterContext) FunctionBody() IFunctionBodyContext
- func (s *PropertySetterContext) GetRuleContext() antlr.RuleContext
- func (s *PropertySetterContext) OpenParen() antlr.TerminalNode
- func (s *PropertySetterContext) Setter() ISetterContext
- type PropertyShorthandContext
- type RelationalExpressionContext
- func (s *RelationalExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RelationalExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *RelationalExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *RelationalExpressionContext) GreaterThanEquals() antlr.TerminalNode
- func (s *RelationalExpressionContext) LessThan() antlr.TerminalNode
- func (s *RelationalExpressionContext) LessThanEquals() antlr.TerminalNode
- func (s *RelationalExpressionContext) MoreThan() antlr.TerminalNode
- func (s *RelationalExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type ReservedWordContext
- func (s *ReservedWordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReservedWordContext) BooleanLiteral() antlr.TerminalNode
- func (s *ReservedWordContext) GetParser() antlr.Parser
- func (s *ReservedWordContext) GetRuleContext() antlr.RuleContext
- func (*ReservedWordContext) IsReservedWordContext()
- func (s *ReservedWordContext) Keyword() IKeywordContext
- func (s *ReservedWordContext) NullLiteral() antlr.TerminalNode
- func (s *ReservedWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReturnStatementContext
- func (s *ReturnStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReturnStatementContext) Eos() IEosContext
- func (s *ReturnStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ReturnStatementContext) GetParser() antlr.Parser
- func (s *ReturnStatementContext) GetRuleContext() antlr.RuleContext
- func (*ReturnStatementContext) IsReturnStatementContext()
- func (s *ReturnStatementContext) Return() antlr.TerminalNode
- func (s *ReturnStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SetterContext
- func (s *SetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SetterContext) GetParser() antlr.Parser
- func (s *SetterContext) GetRuleContext() antlr.RuleContext
- func (s *SetterContext) Identifier() IIdentifierContext
- func (*SetterContext) IsSetterContext()
- func (s *SetterContext) PropertyName() IPropertyNameContext
- func (s *SetterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SingleExpressionContext
- func (s *SingleExpressionContext) CopyFrom(ctx *SingleExpressionContext)
- func (s *SingleExpressionContext) GetParser() antlr.Parser
- func (s *SingleExpressionContext) GetRuleContext() antlr.RuleContext
- func (*SingleExpressionContext) IsSingleExpressionContext()
- func (s *SingleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SourceElementContext
- func (s *SourceElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SourceElementContext) GetParser() antlr.Parser
- func (s *SourceElementContext) GetRuleContext() antlr.RuleContext
- func (*SourceElementContext) IsSourceElementContext()
- func (s *SourceElementContext) Statement() IStatementContext
- func (s *SourceElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SourceElementsContext
- func (s *SourceElementsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SourceElementsContext) AllSourceElement() []ISourceElementContext
- func (s *SourceElementsContext) GetParser() antlr.Parser
- func (s *SourceElementsContext) GetRuleContext() antlr.RuleContext
- func (*SourceElementsContext) IsSourceElementsContext()
- func (s *SourceElementsContext) SourceElement(i int) ISourceElementContext
- func (s *SourceElementsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StatementContext
- func (s *StatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StatementContext) Block() IBlockContext
- func (s *StatementContext) BreakStatement() IBreakStatementContext
- func (s *StatementContext) ClassDeclaration() IClassDeclarationContext
- func (s *StatementContext) ContinueStatement() IContinueStatementContext
- func (s *StatementContext) DebuggerStatement() IDebuggerStatementContext
- func (s *StatementContext) EmptyStatement_() IEmptyStatement_Context
- func (s *StatementContext) ExportStatement() IExportStatementContext
- func (s *StatementContext) ExpressionStatement() IExpressionStatementContext
- func (s *StatementContext) FunctionDeclaration() IFunctionDeclarationContext
- func (s *StatementContext) GetParser() antlr.Parser
- func (s *StatementContext) GetRuleContext() antlr.RuleContext
- func (s *StatementContext) IfStatement() IIfStatementContext
- func (s *StatementContext) ImportStatement() IImportStatementContext
- func (*StatementContext) IsStatementContext()
- func (s *StatementContext) IterationStatement() IIterationStatementContext
- func (s *StatementContext) LabelledStatement() ILabelledStatementContext
- func (s *StatementContext) ReturnStatement() IReturnStatementContext
- func (s *StatementContext) SwitchStatement() ISwitchStatementContext
- func (s *StatementContext) ThrowStatement() IThrowStatementContext
- func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StatementContext) TryStatement() ITryStatementContext
- func (s *StatementContext) VariableStatement() IVariableStatementContext
- func (s *StatementContext) WithStatement() IWithStatementContext
- func (s *StatementContext) YieldStatement() IYieldStatementContext
- type StatementListContext
- func (s *StatementListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StatementListContext) AllStatement() []IStatementContext
- func (s *StatementListContext) GetParser() antlr.Parser
- func (s *StatementListContext) GetRuleContext() antlr.RuleContext
- func (*StatementListContext) IsStatementListContext()
- func (s *StatementListContext) Statement(i int) IStatementContext
- func (s *StatementListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringVisitorResult
- type SuperExpressionContext
- type SwitchStatementContext
- func (s *SwitchStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SwitchStatementContext) CaseBlock() ICaseBlockContext
- func (s *SwitchStatementContext) CloseParen() antlr.TerminalNode
- func (s *SwitchStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *SwitchStatementContext) GetParser() antlr.Parser
- func (s *SwitchStatementContext) GetRuleContext() antlr.RuleContext
- func (*SwitchStatementContext) IsSwitchStatementContext()
- func (s *SwitchStatementContext) OpenParen() antlr.TerminalNode
- func (s *SwitchStatementContext) Switch() antlr.TerminalNode
- func (s *SwitchStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TemplateStringExpressionContext
- func (s *TemplateStringExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TemplateStringExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *TemplateStringExpressionContext) SingleExpression() ISingleExpressionContext
- func (s *TemplateStringExpressionContext) TemplateStringLiteral() antlr.TerminalNode
- type TernaryExpressionContext
- func (s *TernaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TernaryExpressionContext) AllSingleExpression() []ISingleExpressionContext
- func (s *TernaryExpressionContext) Colon() antlr.TerminalNode
- func (s *TernaryExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *TernaryExpressionContext) QuestionMark() antlr.TerminalNode
- func (s *TernaryExpressionContext) SingleExpression(i int) ISingleExpressionContext
- type ThisExpressionContext
- type ThrowStatementContext
- func (s *ThrowStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ThrowStatementContext) Eos() IEosContext
- func (s *ThrowStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *ThrowStatementContext) GetParser() antlr.Parser
- func (s *ThrowStatementContext) GetRuleContext() antlr.RuleContext
- func (*ThrowStatementContext) IsThrowStatementContext()
- func (s *ThrowStatementContext) Throw() antlr.TerminalNode
- func (s *ThrowStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TryStatementContext
- func (s *TryStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TryStatementContext) Block() IBlockContext
- func (s *TryStatementContext) CatchProduction() ICatchProductionContext
- func (s *TryStatementContext) FinallyProduction() IFinallyProductionContext
- func (s *TryStatementContext) GetParser() antlr.Parser
- func (s *TryStatementContext) GetRuleContext() antlr.RuleContext
- func (*TryStatementContext) IsTryStatementContext()
- func (s *TryStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TryStatementContext) Try() antlr.TerminalNode
- type TypeofExpressionContext
- type UnaryMinusExpressionContext
- func (s *UnaryMinusExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UnaryMinusExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *UnaryMinusExpressionContext) Minus() antlr.TerminalNode
- func (s *UnaryMinusExpressionContext) SingleExpression() ISingleExpressionContext
- type UnaryPlusExpressionContext
- func (s *UnaryPlusExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UnaryPlusExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *UnaryPlusExpressionContext) Plus() antlr.TerminalNode
- func (s *UnaryPlusExpressionContext) SingleExpression() ISingleExpressionContext
- type VarModifierContext
- func (s *VarModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VarModifierContext) Const() antlr.TerminalNode
- func (s *VarModifierContext) GetParser() antlr.Parser
- func (s *VarModifierContext) GetRuleContext() antlr.RuleContext
- func (*VarModifierContext) IsVarModifierContext()
- func (s *VarModifierContext) Let_() ILet_Context
- func (s *VarModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VarModifierContext) Var() antlr.TerminalNode
- type VariableDeclarationContext
- func (s *VariableDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableDeclarationContext) Assign() antlr.TerminalNode
- func (s *VariableDeclarationContext) Assignable() IAssignableContext
- func (s *VariableDeclarationContext) GetParser() antlr.Parser
- func (s *VariableDeclarationContext) GetRuleContext() antlr.RuleContext
- func (*VariableDeclarationContext) IsVariableDeclarationContext()
- func (s *VariableDeclarationContext) SingleExpression() ISingleExpressionContext
- func (s *VariableDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VariableDeclarationListContext
- func (s *VariableDeclarationListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableDeclarationListContext) AllComma() []antlr.TerminalNode
- func (s *VariableDeclarationListContext) AllVariableDeclaration() []IVariableDeclarationContext
- func (s *VariableDeclarationListContext) Comma(i int) antlr.TerminalNode
- func (s *VariableDeclarationListContext) GetParser() antlr.Parser
- func (s *VariableDeclarationListContext) GetRuleContext() antlr.RuleContext
- func (*VariableDeclarationListContext) IsVariableDeclarationListContext()
- func (s *VariableDeclarationListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VariableDeclarationListContext) VarModifier() IVarModifierContext
- func (s *VariableDeclarationListContext) VariableDeclaration(i int) IVariableDeclarationContext
- type VariableStatementContext
- func (s *VariableStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableStatementContext) Eos() IEosContext
- func (s *VariableStatementContext) GetParser() antlr.Parser
- func (s *VariableStatementContext) GetRuleContext() antlr.RuleContext
- func (*VariableStatementContext) IsVariableStatementContext()
- func (s *VariableStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VariableStatementContext) VariableDeclarationList() IVariableDeclarationListContext
- type VisitorResult
- type VoidExpressionContext
- type WhileStatementContext
- func (s *WhileStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *WhileStatementContext) CloseParen() antlr.TerminalNode
- func (s *WhileStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *WhileStatementContext) GetRuleContext() antlr.RuleContext
- func (s *WhileStatementContext) OpenParen() antlr.TerminalNode
- func (s *WhileStatementContext) Statement() IStatementContext
- func (s *WhileStatementContext) While() antlr.TerminalNode
- type WithStatementContext
- func (s *WithStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *WithStatementContext) CloseParen() antlr.TerminalNode
- func (s *WithStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *WithStatementContext) GetParser() antlr.Parser
- func (s *WithStatementContext) GetRuleContext() antlr.RuleContext
- func (*WithStatementContext) IsWithStatementContext()
- func (s *WithStatementContext) OpenParen() antlr.TerminalNode
- func (s *WithStatementContext) Statement() IStatementContext
- func (s *WithStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WithStatementContext) With() antlr.TerminalNode
- type YieldExpressionContext
- type YieldStatementContext
- func (s *YieldStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *YieldStatementContext) Eos() IEosContext
- func (s *YieldStatementContext) ExpressionSequence() IExpressionSequenceContext
- func (s *YieldStatementContext) GetParser() antlr.Parser
- func (s *YieldStatementContext) GetRuleContext() antlr.RuleContext
- func (*YieldStatementContext) IsYieldStatementContext()
- func (s *YieldStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *YieldStatementContext) Yield() antlr.TerminalNode
Constants ¶
const ( JavaScriptLexerHashBangLine = 1 JavaScriptLexerMultiLineComment = 2 JavaScriptLexerSingleLineComment = 3 JavaScriptLexerRegularExpressionLiteral = 4 JavaScriptLexerOpenBracket = 5 JavaScriptLexerCloseBracket = 6 JavaScriptLexerOpenParen = 7 JavaScriptLexerCloseParen = 8 JavaScriptLexerOpenBrace = 9 JavaScriptLexerCloseBrace = 10 JavaScriptLexerSemiColon = 11 JavaScriptLexerComma = 12 JavaScriptLexerAssign = 13 JavaScriptLexerQuestionMark = 14 JavaScriptLexerColon = 15 JavaScriptLexerEllipsis = 16 JavaScriptLexerDot = 17 JavaScriptLexerPlusPlus = 18 JavaScriptLexerMinusMinus = 19 JavaScriptLexerPlus = 20 JavaScriptLexerMinus = 21 JavaScriptLexerBitNot = 22 JavaScriptLexerNot = 23 JavaScriptLexerMultiply = 24 JavaScriptLexerDivide = 25 JavaScriptLexerModulus = 26 JavaScriptLexerPower = 27 JavaScriptLexerNullCoalesce = 28 JavaScriptLexerHashtag = 29 JavaScriptLexerRightShiftArithmetic = 30 JavaScriptLexerLeftShiftArithmetic = 31 JavaScriptLexerRightShiftLogical = 32 JavaScriptLexerLessThan = 33 JavaScriptLexerMoreThan = 34 JavaScriptLexerLessThanEquals = 35 JavaScriptLexerGreaterThanEquals = 36 JavaScriptLexerEquals_ = 37 JavaScriptLexerNotEquals = 38 JavaScriptLexerIdentityEquals = 39 JavaScriptLexerIdentityNotEquals = 40 JavaScriptLexerBitAnd = 41 JavaScriptLexerBitXOr = 42 JavaScriptLexerBitOr = 43 JavaScriptLexerAnd = 44 JavaScriptLexerOr = 45 JavaScriptLexerMultiplyAssign = 46 JavaScriptLexerDivideAssign = 47 JavaScriptLexerModulusAssign = 48 JavaScriptLexerPlusAssign = 49 JavaScriptLexerMinusAssign = 50 JavaScriptLexerLeftShiftArithmeticAssign = 51 JavaScriptLexerRightShiftArithmeticAssign = 52 JavaScriptLexerRightShiftLogicalAssign = 53 JavaScriptLexerBitAndAssign = 54 JavaScriptLexerBitXorAssign = 55 JavaScriptLexerBitOrAssign = 56 JavaScriptLexerPowerAssign = 57 JavaScriptLexerARROW = 58 JavaScriptLexerNullLiteral = 59 JavaScriptLexerBooleanLiteral = 60 JavaScriptLexerDecimalLiteral = 61 JavaScriptLexerHexIntegerLiteral = 62 JavaScriptLexerOctalIntegerLiteral = 63 JavaScriptLexerOctalIntegerLiteral2 = 64 JavaScriptLexerBinaryIntegerLiteral = 65 JavaScriptLexerBigHexIntegerLiteral = 66 JavaScriptLexerBigOctalIntegerLiteral = 67 JavaScriptLexerBigBinaryIntegerLiteral = 68 JavaScriptLexerBigDecimalIntegerLiteral = 69 JavaScriptLexerBreak = 70 JavaScriptLexerDo = 71 JavaScriptLexerInstanceof = 72 JavaScriptLexerTypeof = 73 JavaScriptLexerCase = 74 JavaScriptLexerElse = 75 JavaScriptLexerNew = 76 JavaScriptLexerVar = 77 JavaScriptLexerCatch = 78 JavaScriptLexerFinally = 79 JavaScriptLexerReturn = 80 JavaScriptLexerVoid = 81 JavaScriptLexerContinue = 82 JavaScriptLexerFor = 83 JavaScriptLexerSwitch = 84 JavaScriptLexerWhile = 85 JavaScriptLexerDebugger = 86 JavaScriptLexerFunction_ = 87 JavaScriptLexerThis = 88 JavaScriptLexerWith = 89 JavaScriptLexerDefault = 90 JavaScriptLexerIf = 91 JavaScriptLexerThrow = 92 JavaScriptLexerDelete = 93 JavaScriptLexerIn = 94 JavaScriptLexerTry = 95 JavaScriptLexerAs = 96 JavaScriptLexerFrom = 97 JavaScriptLexerClass = 98 JavaScriptLexerEnum = 99 JavaScriptLexerExtends = 100 JavaScriptLexerSuper = 101 JavaScriptLexerConst = 102 JavaScriptLexerExport = 103 JavaScriptLexerImport = 104 JavaScriptLexerAsync = 105 JavaScriptLexerAwait = 106 JavaScriptLexerImplements = 107 JavaScriptLexerStrictLet = 108 JavaScriptLexerNonStrictLet = 109 JavaScriptLexerPrivate = 110 JavaScriptLexerPublic = 111 JavaScriptLexerInterface = 112 JavaScriptLexerPackage = 113 JavaScriptLexerProtected = 114 JavaScriptLexerStatic = 115 JavaScriptLexerYield = 116 JavaScriptLexerIdentifier = 117 JavaScriptLexerStringLiteral = 118 JavaScriptLexerTemplateStringLiteral = 119 JavaScriptLexerWhiteSpaces = 120 JavaScriptLexerLineTerminator = 121 JavaScriptLexerHtmlComment = 122 JavaScriptLexerCDataComment = 123 JavaScriptLexerUnexpectedCharacter = 124 )
JavaScriptLexer tokens.
const ( JavaScriptParserEOF = antlr.TokenEOF JavaScriptParserHashBangLine = 1 JavaScriptParserMultiLineComment = 2 JavaScriptParserSingleLineComment = 3 JavaScriptParserRegularExpressionLiteral = 4 JavaScriptParserOpenBracket = 5 JavaScriptParserCloseBracket = 6 JavaScriptParserOpenParen = 7 JavaScriptParserCloseParen = 8 JavaScriptParserOpenBrace = 9 JavaScriptParserCloseBrace = 10 JavaScriptParserSemiColon = 11 JavaScriptParserComma = 12 JavaScriptParserAssign = 13 JavaScriptParserQuestionMark = 14 JavaScriptParserColon = 15 JavaScriptParserEllipsis = 16 JavaScriptParserDot = 17 JavaScriptParserPlusPlus = 18 JavaScriptParserMinusMinus = 19 JavaScriptParserPlus = 20 JavaScriptParserMinus = 21 JavaScriptParserBitNot = 22 JavaScriptParserNot = 23 JavaScriptParserMultiply = 24 JavaScriptParserDivide = 25 JavaScriptParserModulus = 26 JavaScriptParserPower = 27 JavaScriptParserNullCoalesce = 28 JavaScriptParserHashtag = 29 JavaScriptParserRightShiftArithmetic = 30 JavaScriptParserLeftShiftArithmetic = 31 JavaScriptParserRightShiftLogical = 32 JavaScriptParserLessThan = 33 JavaScriptParserMoreThan = 34 JavaScriptParserLessThanEquals = 35 JavaScriptParserGreaterThanEquals = 36 JavaScriptParserEquals_ = 37 JavaScriptParserNotEquals = 38 JavaScriptParserIdentityEquals = 39 JavaScriptParserIdentityNotEquals = 40 JavaScriptParserBitAnd = 41 JavaScriptParserBitXOr = 42 JavaScriptParserBitOr = 43 JavaScriptParserAnd = 44 JavaScriptParserOr = 45 JavaScriptParserMultiplyAssign = 46 JavaScriptParserDivideAssign = 47 JavaScriptParserModulusAssign = 48 JavaScriptParserPlusAssign = 49 JavaScriptParserMinusAssign = 50 JavaScriptParserLeftShiftArithmeticAssign = 51 JavaScriptParserRightShiftArithmeticAssign = 52 JavaScriptParserRightShiftLogicalAssign = 53 JavaScriptParserBitAndAssign = 54 JavaScriptParserBitXorAssign = 55 JavaScriptParserBitOrAssign = 56 JavaScriptParserPowerAssign = 57 JavaScriptParserARROW = 58 JavaScriptParserNullLiteral = 59 JavaScriptParserBooleanLiteral = 60 JavaScriptParserDecimalLiteral = 61 JavaScriptParserHexIntegerLiteral = 62 JavaScriptParserOctalIntegerLiteral = 63 JavaScriptParserOctalIntegerLiteral2 = 64 JavaScriptParserBinaryIntegerLiteral = 65 JavaScriptParserBigHexIntegerLiteral = 66 JavaScriptParserBigOctalIntegerLiteral = 67 JavaScriptParserBigBinaryIntegerLiteral = 68 JavaScriptParserBigDecimalIntegerLiteral = 69 JavaScriptParserBreak = 70 JavaScriptParserDo = 71 JavaScriptParserInstanceof = 72 JavaScriptParserTypeof = 73 JavaScriptParserCase = 74 JavaScriptParserElse = 75 JavaScriptParserNew = 76 JavaScriptParserVar = 77 JavaScriptParserCatch = 78 JavaScriptParserFinally = 79 JavaScriptParserReturn = 80 JavaScriptParserVoid = 81 JavaScriptParserContinue = 82 JavaScriptParserFor = 83 JavaScriptParserSwitch = 84 JavaScriptParserWhile = 85 JavaScriptParserDebugger = 86 JavaScriptParserFunction_ = 87 JavaScriptParserThis = 88 JavaScriptParserWith = 89 JavaScriptParserDefault = 90 JavaScriptParserIf = 91 JavaScriptParserThrow = 92 JavaScriptParserDelete = 93 JavaScriptParserIn = 94 JavaScriptParserTry = 95 JavaScriptParserAs = 96 JavaScriptParserFrom = 97 JavaScriptParserClass = 98 JavaScriptParserEnum = 99 JavaScriptParserExtends = 100 JavaScriptParserSuper = 101 JavaScriptParserConst = 102 JavaScriptParserExport = 103 JavaScriptParserImport = 104 JavaScriptParserAsync = 105 JavaScriptParserAwait = 106 JavaScriptParserImplements = 107 JavaScriptParserStrictLet = 108 JavaScriptParserNonStrictLet = 109 JavaScriptParserPrivate = 110 JavaScriptParserPublic = 111 JavaScriptParserInterface = 112 JavaScriptParserPackage = 113 JavaScriptParserProtected = 114 JavaScriptParserStatic = 115 JavaScriptParserYield = 116 JavaScriptParserIdentifier = 117 JavaScriptParserStringLiteral = 118 JavaScriptParserTemplateStringLiteral = 119 JavaScriptParserWhiteSpaces = 120 JavaScriptParserLineTerminator = 121 JavaScriptParserHtmlComment = 122 JavaScriptParserCDataComment = 123 JavaScriptParserUnexpectedCharacter = 124 )
JavaScriptParser tokens.
const ( JavaScriptParserRULE_program = 0 JavaScriptParserRULE_sourceElement = 1 JavaScriptParserRULE_statement = 2 JavaScriptParserRULE_block = 3 JavaScriptParserRULE_statementList = 4 JavaScriptParserRULE_importStatement = 5 JavaScriptParserRULE_importFromBlock = 6 JavaScriptParserRULE_moduleItems = 7 JavaScriptParserRULE_importDefault = 8 JavaScriptParserRULE_importNamespace = 9 JavaScriptParserRULE_importFrom = 10 JavaScriptParserRULE_aliasName = 11 JavaScriptParserRULE_exportStatement = 12 JavaScriptParserRULE_exportFromBlock = 13 JavaScriptParserRULE_declaration = 14 JavaScriptParserRULE_variableStatement = 15 JavaScriptParserRULE_variableDeclarationList = 16 JavaScriptParserRULE_variableDeclaration = 17 JavaScriptParserRULE_emptyStatement_ = 18 JavaScriptParserRULE_expressionStatement = 19 JavaScriptParserRULE_ifStatement = 20 JavaScriptParserRULE_iterationStatement = 21 JavaScriptParserRULE_varModifier = 22 JavaScriptParserRULE_continueStatement = 23 JavaScriptParserRULE_breakStatement = 24 JavaScriptParserRULE_returnStatement = 25 JavaScriptParserRULE_yieldStatement = 26 JavaScriptParserRULE_withStatement = 27 JavaScriptParserRULE_switchStatement = 28 JavaScriptParserRULE_caseBlock = 29 JavaScriptParserRULE_caseClauses = 30 JavaScriptParserRULE_caseClause = 31 JavaScriptParserRULE_defaultClause = 32 JavaScriptParserRULE_labelledStatement = 33 JavaScriptParserRULE_throwStatement = 34 JavaScriptParserRULE_tryStatement = 35 JavaScriptParserRULE_catchProduction = 36 JavaScriptParserRULE_finallyProduction = 37 JavaScriptParserRULE_debuggerStatement = 38 JavaScriptParserRULE_functionDeclaration = 39 JavaScriptParserRULE_classDeclaration = 40 JavaScriptParserRULE_classTail = 41 JavaScriptParserRULE_classElement = 42 JavaScriptParserRULE_methodDefinition = 43 JavaScriptParserRULE_formalParameterList = 44 JavaScriptParserRULE_formalParameterArg = 45 JavaScriptParserRULE_lastFormalParameterArg = 46 JavaScriptParserRULE_functionBody = 47 JavaScriptParserRULE_sourceElements = 48 JavaScriptParserRULE_arrayLiteral = 49 JavaScriptParserRULE_elementList = 50 JavaScriptParserRULE_arrayElement = 51 JavaScriptParserRULE_propertyAssignment = 52 JavaScriptParserRULE_propertyName = 53 JavaScriptParserRULE_arguments = 54 JavaScriptParserRULE_argument = 55 JavaScriptParserRULE_expressionSequence = 56 JavaScriptParserRULE_singleExpression = 57 JavaScriptParserRULE_assignable = 58 JavaScriptParserRULE_objectLiteral = 59 JavaScriptParserRULE_anonymousFunction = 60 JavaScriptParserRULE_arrowFunctionParameters = 61 JavaScriptParserRULE_arrowFunctionBody = 62 JavaScriptParserRULE_assignmentOperator = 63 JavaScriptParserRULE_literal = 64 JavaScriptParserRULE_numericLiteral = 65 JavaScriptParserRULE_bigintLiteral = 66 JavaScriptParserRULE_getter = 67 JavaScriptParserRULE_setter = 68 JavaScriptParserRULE_identifierName = 69 JavaScriptParserRULE_identifier = 70 JavaScriptParserRULE_reservedWord = 71 JavaScriptParserRULE_keyword = 72 JavaScriptParserRULE_let_ = 73 JavaScriptParserRULE_eos = 74 )
JavaScriptParser rules.
const JavaScriptLexerERROR = 2
JavaScriptLexerERROR is the JavaScriptLexer channel.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditiveExpressionContext ¶
type AdditiveExpressionContext struct {
*SingleExpressionContext
}
func NewAdditiveExpressionContext ¶
func NewAdditiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditiveExpressionContext
func (*AdditiveExpressionContext) Accept ¶
func (s *AdditiveExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AdditiveExpressionContext) AllSingleExpression ¶
func (s *AdditiveExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*AdditiveExpressionContext) GetRuleContext ¶
func (s *AdditiveExpressionContext) GetRuleContext() antlr.RuleContext
func (*AdditiveExpressionContext) Minus ¶
func (s *AdditiveExpressionContext) Minus() antlr.TerminalNode
func (*AdditiveExpressionContext) Plus ¶
func (s *AdditiveExpressionContext) Plus() antlr.TerminalNode
func (*AdditiveExpressionContext) SingleExpression ¶
func (s *AdditiveExpressionContext) SingleExpression(i int) ISingleExpressionContext
type AliasNameContext ¶
type AliasNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAliasNameContext ¶
func NewAliasNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AliasNameContext
func NewEmptyAliasNameContext ¶
func NewEmptyAliasNameContext() *AliasNameContext
func (*AliasNameContext) Accept ¶
func (s *AliasNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AliasNameContext) AllIdentifierName ¶
func (s *AliasNameContext) AllIdentifierName() []IIdentifierNameContext
func (*AliasNameContext) As ¶
func (s *AliasNameContext) As() antlr.TerminalNode
func (*AliasNameContext) GetParser ¶
func (s *AliasNameContext) GetParser() antlr.Parser
func (*AliasNameContext) GetRuleContext ¶
func (s *AliasNameContext) GetRuleContext() antlr.RuleContext
func (*AliasNameContext) IdentifierName ¶
func (s *AliasNameContext) IdentifierName(i int) IIdentifierNameContext
func (*AliasNameContext) IsAliasNameContext ¶
func (*AliasNameContext) IsAliasNameContext()
func (*AliasNameContext) ToStringTree ¶
func (s *AliasNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AnonymousFunctionContext ¶
type AnonymousFunctionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAnonymousFunctionContext ¶
func NewAnonymousFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnonymousFunctionContext
func NewEmptyAnonymousFunctionContext ¶
func NewEmptyAnonymousFunctionContext() *AnonymousFunctionContext
func (*AnonymousFunctionContext) CopyFrom ¶
func (s *AnonymousFunctionContext) CopyFrom(ctx *AnonymousFunctionContext)
func (*AnonymousFunctionContext) GetParser ¶
func (s *AnonymousFunctionContext) GetParser() antlr.Parser
func (*AnonymousFunctionContext) GetRuleContext ¶
func (s *AnonymousFunctionContext) GetRuleContext() antlr.RuleContext
func (*AnonymousFunctionContext) IsAnonymousFunctionContext ¶
func (*AnonymousFunctionContext) IsAnonymousFunctionContext()
func (*AnonymousFunctionContext) ToStringTree ¶
func (s *AnonymousFunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AnonymousFunctionDeclContext ¶
type AnonymousFunctionDeclContext struct {
*AnonymousFunctionContext
}
func NewAnonymousFunctionDeclContext ¶
func NewAnonymousFunctionDeclContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AnonymousFunctionDeclContext
func (*AnonymousFunctionDeclContext) Accept ¶
func (s *AnonymousFunctionDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AnonymousFunctionDeclContext) Async ¶
func (s *AnonymousFunctionDeclContext) Async() antlr.TerminalNode
func (*AnonymousFunctionDeclContext) CloseParen ¶
func (s *AnonymousFunctionDeclContext) CloseParen() antlr.TerminalNode
func (*AnonymousFunctionDeclContext) FormalParameterList ¶
func (s *AnonymousFunctionDeclContext) FormalParameterList() IFormalParameterListContext
func (*AnonymousFunctionDeclContext) FunctionBody ¶
func (s *AnonymousFunctionDeclContext) FunctionBody() IFunctionBodyContext
func (*AnonymousFunctionDeclContext) Function_ ¶
func (s *AnonymousFunctionDeclContext) Function_() antlr.TerminalNode
func (*AnonymousFunctionDeclContext) GetRuleContext ¶
func (s *AnonymousFunctionDeclContext) GetRuleContext() antlr.RuleContext
func (*AnonymousFunctionDeclContext) Multiply ¶
func (s *AnonymousFunctionDeclContext) Multiply() antlr.TerminalNode
func (*AnonymousFunctionDeclContext) OpenParen ¶
func (s *AnonymousFunctionDeclContext) OpenParen() antlr.TerminalNode
type ArgumentContext ¶
type ArgumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentContext ¶
func NewArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentContext
func NewEmptyArgumentContext ¶
func NewEmptyArgumentContext() *ArgumentContext
func (*ArgumentContext) Accept ¶
func (s *ArgumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgumentContext) Ellipsis ¶
func (s *ArgumentContext) Ellipsis() antlr.TerminalNode
func (*ArgumentContext) GetParser ¶
func (s *ArgumentContext) GetParser() antlr.Parser
func (*ArgumentContext) GetRuleContext ¶
func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
func (*ArgumentContext) Identifier ¶
func (s *ArgumentContext) Identifier() IIdentifierContext
func (*ArgumentContext) IsArgumentContext ¶
func (*ArgumentContext) IsArgumentContext()
func (*ArgumentContext) SingleExpression ¶
func (s *ArgumentContext) SingleExpression() ISingleExpressionContext
func (*ArgumentContext) ToStringTree ¶
func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentsContext ¶
type ArgumentsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentsContext ¶
func NewArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentsContext
func NewEmptyArgumentsContext ¶
func NewEmptyArgumentsContext() *ArgumentsContext
func (*ArgumentsContext) Accept ¶
func (s *ArgumentsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgumentsContext) AllArgument ¶
func (s *ArgumentsContext) AllArgument() []IArgumentContext
func (*ArgumentsContext) AllComma ¶
func (s *ArgumentsContext) AllComma() []antlr.TerminalNode
func (*ArgumentsContext) Argument ¶
func (s *ArgumentsContext) Argument(i int) IArgumentContext
func (*ArgumentsContext) CloseParen ¶
func (s *ArgumentsContext) CloseParen() antlr.TerminalNode
func (*ArgumentsContext) Comma ¶
func (s *ArgumentsContext) Comma(i int) antlr.TerminalNode
func (*ArgumentsContext) GetParser ¶
func (s *ArgumentsContext) GetParser() antlr.Parser
func (*ArgumentsContext) GetRuleContext ¶
func (s *ArgumentsContext) GetRuleContext() antlr.RuleContext
func (*ArgumentsContext) IsArgumentsContext ¶
func (*ArgumentsContext) IsArgumentsContext()
func (*ArgumentsContext) OpenParen ¶
func (s *ArgumentsContext) OpenParen() antlr.TerminalNode
func (*ArgumentsContext) ToStringTree ¶
func (s *ArgumentsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentsExpressionContext ¶
type ArgumentsExpressionContext struct {
*SingleExpressionContext
}
func NewArgumentsExpressionContext ¶
func NewArgumentsExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArgumentsExpressionContext
func (*ArgumentsExpressionContext) Accept ¶
func (s *ArgumentsExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgumentsExpressionContext) Arguments ¶
func (s *ArgumentsExpressionContext) Arguments() IArgumentsContext
func (*ArgumentsExpressionContext) GetRuleContext ¶
func (s *ArgumentsExpressionContext) GetRuleContext() antlr.RuleContext
func (*ArgumentsExpressionContext) SingleExpression ¶
func (s *ArgumentsExpressionContext) SingleExpression() ISingleExpressionContext
type ArrayElementContext ¶
type ArrayElementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayElementContext ¶
func NewArrayElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayElementContext
func NewEmptyArrayElementContext ¶
func NewEmptyArrayElementContext() *ArrayElementContext
func (*ArrayElementContext) Accept ¶
func (s *ArrayElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayElementContext) Ellipsis ¶
func (s *ArrayElementContext) Ellipsis() antlr.TerminalNode
func (*ArrayElementContext) GetParser ¶
func (s *ArrayElementContext) GetParser() antlr.Parser
func (*ArrayElementContext) GetRuleContext ¶
func (s *ArrayElementContext) GetRuleContext() antlr.RuleContext
func (*ArrayElementContext) IsArrayElementContext ¶
func (*ArrayElementContext) IsArrayElementContext()
func (*ArrayElementContext) SingleExpression ¶
func (s *ArrayElementContext) SingleExpression() ISingleExpressionContext
func (*ArrayElementContext) ToStringTree ¶
func (s *ArrayElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayLiteralContext ¶
type ArrayLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayLiteralContext ¶
func NewArrayLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLiteralContext
func NewEmptyArrayLiteralContext ¶
func NewEmptyArrayLiteralContext() *ArrayLiteralContext
func (*ArrayLiteralContext) Accept ¶
func (s *ArrayLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayLiteralContext) CloseBracket ¶
func (s *ArrayLiteralContext) CloseBracket() antlr.TerminalNode
func (*ArrayLiteralContext) ElementList ¶
func (s *ArrayLiteralContext) ElementList() IElementListContext
func (*ArrayLiteralContext) GetParser ¶
func (s *ArrayLiteralContext) GetParser() antlr.Parser
func (*ArrayLiteralContext) GetRuleContext ¶
func (s *ArrayLiteralContext) GetRuleContext() antlr.RuleContext
func (*ArrayLiteralContext) IsArrayLiteralContext ¶
func (*ArrayLiteralContext) IsArrayLiteralContext()
func (*ArrayLiteralContext) OpenBracket ¶
func (s *ArrayLiteralContext) OpenBracket() antlr.TerminalNode
func (*ArrayLiteralContext) ToStringTree ¶
func (s *ArrayLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayLiteralExpressionContext ¶
type ArrayLiteralExpressionContext struct {
*SingleExpressionContext
}
func NewArrayLiteralExpressionContext ¶
func NewArrayLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayLiteralExpressionContext
func (*ArrayLiteralExpressionContext) Accept ¶
func (s *ArrayLiteralExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayLiteralExpressionContext) ArrayLiteral ¶
func (s *ArrayLiteralExpressionContext) ArrayLiteral() IArrayLiteralContext
func (*ArrayLiteralExpressionContext) GetRuleContext ¶
func (s *ArrayLiteralExpressionContext) GetRuleContext() antlr.RuleContext
type ArrowFunctionBodyContext ¶
type ArrowFunctionBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrowFunctionBodyContext ¶
func NewArrowFunctionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrowFunctionBodyContext
func NewEmptyArrowFunctionBodyContext ¶
func NewEmptyArrowFunctionBodyContext() *ArrowFunctionBodyContext
func (*ArrowFunctionBodyContext) Accept ¶
func (s *ArrowFunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrowFunctionBodyContext) FunctionBody ¶
func (s *ArrowFunctionBodyContext) FunctionBody() IFunctionBodyContext
func (*ArrowFunctionBodyContext) GetParser ¶
func (s *ArrowFunctionBodyContext) GetParser() antlr.Parser
func (*ArrowFunctionBodyContext) GetRuleContext ¶
func (s *ArrowFunctionBodyContext) GetRuleContext() antlr.RuleContext
func (*ArrowFunctionBodyContext) IsArrowFunctionBodyContext ¶
func (*ArrowFunctionBodyContext) IsArrowFunctionBodyContext()
func (*ArrowFunctionBodyContext) SingleExpression ¶
func (s *ArrowFunctionBodyContext) SingleExpression() ISingleExpressionContext
func (*ArrowFunctionBodyContext) ToStringTree ¶
func (s *ArrowFunctionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrowFunctionContext ¶
type ArrowFunctionContext struct {
*AnonymousFunctionContext
}
func NewArrowFunctionContext ¶
func NewArrowFunctionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrowFunctionContext
func (*ArrowFunctionContext) ARROW ¶
func (s *ArrowFunctionContext) ARROW() antlr.TerminalNode
func (*ArrowFunctionContext) Accept ¶
func (s *ArrowFunctionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrowFunctionContext) ArrowFunctionBody ¶
func (s *ArrowFunctionContext) ArrowFunctionBody() IArrowFunctionBodyContext
func (*ArrowFunctionContext) ArrowFunctionParameters ¶
func (s *ArrowFunctionContext) ArrowFunctionParameters() IArrowFunctionParametersContext
func (*ArrowFunctionContext) Async ¶
func (s *ArrowFunctionContext) Async() antlr.TerminalNode
func (*ArrowFunctionContext) GetRuleContext ¶
func (s *ArrowFunctionContext) GetRuleContext() antlr.RuleContext
type ArrowFunctionParametersContext ¶
type ArrowFunctionParametersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrowFunctionParametersContext ¶
func NewArrowFunctionParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrowFunctionParametersContext
func NewEmptyArrowFunctionParametersContext ¶
func NewEmptyArrowFunctionParametersContext() *ArrowFunctionParametersContext
func (*ArrowFunctionParametersContext) Accept ¶
func (s *ArrowFunctionParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrowFunctionParametersContext) CloseParen ¶
func (s *ArrowFunctionParametersContext) CloseParen() antlr.TerminalNode
func (*ArrowFunctionParametersContext) FormalParameterList ¶
func (s *ArrowFunctionParametersContext) FormalParameterList() IFormalParameterListContext
func (*ArrowFunctionParametersContext) GetParser ¶
func (s *ArrowFunctionParametersContext) GetParser() antlr.Parser
func (*ArrowFunctionParametersContext) GetRuleContext ¶
func (s *ArrowFunctionParametersContext) GetRuleContext() antlr.RuleContext
func (*ArrowFunctionParametersContext) Identifier ¶
func (s *ArrowFunctionParametersContext) Identifier() IIdentifierContext
func (*ArrowFunctionParametersContext) IsArrowFunctionParametersContext ¶
func (*ArrowFunctionParametersContext) IsArrowFunctionParametersContext()
func (*ArrowFunctionParametersContext) OpenParen ¶
func (s *ArrowFunctionParametersContext) OpenParen() antlr.TerminalNode
func (*ArrowFunctionParametersContext) ToStringTree ¶
func (s *ArrowFunctionParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AssignableContext ¶
type AssignableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignableContext ¶
func NewAssignableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignableContext
func NewEmptyAssignableContext ¶
func NewEmptyAssignableContext() *AssignableContext
func (*AssignableContext) Accept ¶
func (s *AssignableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignableContext) ArrayLiteral ¶
func (s *AssignableContext) ArrayLiteral() IArrayLiteralContext
func (*AssignableContext) GetParser ¶
func (s *AssignableContext) GetParser() antlr.Parser
func (*AssignableContext) GetRuleContext ¶
func (s *AssignableContext) GetRuleContext() antlr.RuleContext
func (*AssignableContext) Identifier ¶
func (s *AssignableContext) Identifier() IIdentifierContext
func (*AssignableContext) IsAssignableContext ¶
func (*AssignableContext) IsAssignableContext()
func (*AssignableContext) ObjectLiteral ¶
func (s *AssignableContext) ObjectLiteral() IObjectLiteralContext
func (*AssignableContext) ToStringTree ¶
func (s *AssignableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AssignmentExpressionContext ¶
type AssignmentExpressionContext struct {
*SingleExpressionContext
}
func NewAssignmentExpressionContext ¶
func NewAssignmentExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignmentExpressionContext
func (*AssignmentExpressionContext) Accept ¶
func (s *AssignmentExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignmentExpressionContext) AllSingleExpression ¶
func (s *AssignmentExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*AssignmentExpressionContext) Assign ¶
func (s *AssignmentExpressionContext) Assign() antlr.TerminalNode
func (*AssignmentExpressionContext) GetRuleContext ¶
func (s *AssignmentExpressionContext) GetRuleContext() antlr.RuleContext
func (*AssignmentExpressionContext) SingleExpression ¶
func (s *AssignmentExpressionContext) SingleExpression(i int) ISingleExpressionContext
type AssignmentOperatorContext ¶
type AssignmentOperatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignmentOperatorContext ¶
func NewAssignmentOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentOperatorContext
func NewEmptyAssignmentOperatorContext ¶
func NewEmptyAssignmentOperatorContext() *AssignmentOperatorContext
func (*AssignmentOperatorContext) Accept ¶
func (s *AssignmentOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignmentOperatorContext) BitAndAssign ¶
func (s *AssignmentOperatorContext) BitAndAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) BitOrAssign ¶
func (s *AssignmentOperatorContext) BitOrAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) BitXorAssign ¶
func (s *AssignmentOperatorContext) BitXorAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) DivideAssign ¶
func (s *AssignmentOperatorContext) DivideAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) GetParser ¶
func (s *AssignmentOperatorContext) GetParser() antlr.Parser
func (*AssignmentOperatorContext) GetRuleContext ¶
func (s *AssignmentOperatorContext) GetRuleContext() antlr.RuleContext
func (*AssignmentOperatorContext) IsAssignmentOperatorContext ¶
func (*AssignmentOperatorContext) IsAssignmentOperatorContext()
func (*AssignmentOperatorContext) LeftShiftArithmeticAssign ¶
func (s *AssignmentOperatorContext) LeftShiftArithmeticAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) MinusAssign ¶
func (s *AssignmentOperatorContext) MinusAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) ModulusAssign ¶
func (s *AssignmentOperatorContext) ModulusAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) MultiplyAssign ¶
func (s *AssignmentOperatorContext) MultiplyAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) PlusAssign ¶
func (s *AssignmentOperatorContext) PlusAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) PowerAssign ¶
func (s *AssignmentOperatorContext) PowerAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) RightShiftArithmeticAssign ¶
func (s *AssignmentOperatorContext) RightShiftArithmeticAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) RightShiftLogicalAssign ¶
func (s *AssignmentOperatorContext) RightShiftLogicalAssign() antlr.TerminalNode
func (*AssignmentOperatorContext) ToStringTree ¶
func (s *AssignmentOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AssignmentOperatorExpressionContext ¶
type AssignmentOperatorExpressionContext struct {
*SingleExpressionContext
}
func NewAssignmentOperatorExpressionContext ¶
func NewAssignmentOperatorExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignmentOperatorExpressionContext
func (*AssignmentOperatorExpressionContext) Accept ¶
func (s *AssignmentOperatorExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignmentOperatorExpressionContext) AllSingleExpression ¶
func (s *AssignmentOperatorExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*AssignmentOperatorExpressionContext) AssignmentOperator ¶
func (s *AssignmentOperatorExpressionContext) AssignmentOperator() IAssignmentOperatorContext
func (*AssignmentOperatorExpressionContext) GetRuleContext ¶
func (s *AssignmentOperatorExpressionContext) GetRuleContext() antlr.RuleContext
func (*AssignmentOperatorExpressionContext) SingleExpression ¶
func (s *AssignmentOperatorExpressionContext) SingleExpression(i int) ISingleExpressionContext
type AwaitExpressionContext ¶
type AwaitExpressionContext struct {
*SingleExpressionContext
}
func NewAwaitExpressionContext ¶
func NewAwaitExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AwaitExpressionContext
func (*AwaitExpressionContext) Accept ¶
func (s *AwaitExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AwaitExpressionContext) Await ¶
func (s *AwaitExpressionContext) Await() antlr.TerminalNode
func (*AwaitExpressionContext) GetRuleContext ¶
func (s *AwaitExpressionContext) GetRuleContext() antlr.RuleContext
func (*AwaitExpressionContext) SingleExpression ¶
func (s *AwaitExpressionContext) SingleExpression() ISingleExpressionContext
type BigintLiteralContext ¶
type BigintLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBigintLiteralContext ¶
func NewBigintLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BigintLiteralContext
func NewEmptyBigintLiteralContext ¶
func NewEmptyBigintLiteralContext() *BigintLiteralContext
func (*BigintLiteralContext) Accept ¶
func (s *BigintLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BigintLiteralContext) BigBinaryIntegerLiteral ¶
func (s *BigintLiteralContext) BigBinaryIntegerLiteral() antlr.TerminalNode
func (*BigintLiteralContext) BigDecimalIntegerLiteral ¶
func (s *BigintLiteralContext) BigDecimalIntegerLiteral() antlr.TerminalNode
func (*BigintLiteralContext) BigHexIntegerLiteral ¶
func (s *BigintLiteralContext) BigHexIntegerLiteral() antlr.TerminalNode
func (*BigintLiteralContext) BigOctalIntegerLiteral ¶
func (s *BigintLiteralContext) BigOctalIntegerLiteral() antlr.TerminalNode
func (*BigintLiteralContext) GetParser ¶
func (s *BigintLiteralContext) GetParser() antlr.Parser
func (*BigintLiteralContext) GetRuleContext ¶
func (s *BigintLiteralContext) GetRuleContext() antlr.RuleContext
func (*BigintLiteralContext) IsBigintLiteralContext ¶
func (*BigintLiteralContext) IsBigintLiteralContext()
func (*BigintLiteralContext) ToStringTree ¶
func (s *BigintLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BitAndExpressionContext ¶
type BitAndExpressionContext struct {
*SingleExpressionContext
}
func NewBitAndExpressionContext ¶
func NewBitAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitAndExpressionContext
func (*BitAndExpressionContext) Accept ¶
func (s *BitAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitAndExpressionContext) AllSingleExpression ¶
func (s *BitAndExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*BitAndExpressionContext) BitAnd ¶
func (s *BitAndExpressionContext) BitAnd() antlr.TerminalNode
func (*BitAndExpressionContext) GetRuleContext ¶
func (s *BitAndExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitAndExpressionContext) SingleExpression ¶
func (s *BitAndExpressionContext) SingleExpression(i int) ISingleExpressionContext
type BitNotExpressionContext ¶
type BitNotExpressionContext struct {
*SingleExpressionContext
}
func NewBitNotExpressionContext ¶
func NewBitNotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitNotExpressionContext
func (*BitNotExpressionContext) Accept ¶
func (s *BitNotExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitNotExpressionContext) BitNot ¶
func (s *BitNotExpressionContext) BitNot() antlr.TerminalNode
func (*BitNotExpressionContext) GetRuleContext ¶
func (s *BitNotExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitNotExpressionContext) SingleExpression ¶
func (s *BitNotExpressionContext) SingleExpression() ISingleExpressionContext
type BitOrExpressionContext ¶
type BitOrExpressionContext struct {
*SingleExpressionContext
}
func NewBitOrExpressionContext ¶
func NewBitOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitOrExpressionContext
func (*BitOrExpressionContext) Accept ¶
func (s *BitOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitOrExpressionContext) AllSingleExpression ¶
func (s *BitOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*BitOrExpressionContext) BitOr ¶
func (s *BitOrExpressionContext) BitOr() antlr.TerminalNode
func (*BitOrExpressionContext) GetRuleContext ¶
func (s *BitOrExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitOrExpressionContext) SingleExpression ¶
func (s *BitOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
type BitShiftExpressionContext ¶
type BitShiftExpressionContext struct {
*SingleExpressionContext
}
func NewBitShiftExpressionContext ¶
func NewBitShiftExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitShiftExpressionContext
func (*BitShiftExpressionContext) Accept ¶
func (s *BitShiftExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitShiftExpressionContext) AllSingleExpression ¶
func (s *BitShiftExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*BitShiftExpressionContext) GetRuleContext ¶
func (s *BitShiftExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitShiftExpressionContext) LeftShiftArithmetic ¶
func (s *BitShiftExpressionContext) LeftShiftArithmetic() antlr.TerminalNode
func (*BitShiftExpressionContext) RightShiftArithmetic ¶
func (s *BitShiftExpressionContext) RightShiftArithmetic() antlr.TerminalNode
func (*BitShiftExpressionContext) RightShiftLogical ¶
func (s *BitShiftExpressionContext) RightShiftLogical() antlr.TerminalNode
func (*BitShiftExpressionContext) SingleExpression ¶
func (s *BitShiftExpressionContext) SingleExpression(i int) ISingleExpressionContext
type BitXOrExpressionContext ¶
type BitXOrExpressionContext struct {
*SingleExpressionContext
}
func NewBitXOrExpressionContext ¶
func NewBitXOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitXOrExpressionContext
func (*BitXOrExpressionContext) Accept ¶
func (s *BitXOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitXOrExpressionContext) AllSingleExpression ¶
func (s *BitXOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*BitXOrExpressionContext) BitXOr ¶
func (s *BitXOrExpressionContext) BitXOr() antlr.TerminalNode
func (*BitXOrExpressionContext) GetRuleContext ¶
func (s *BitXOrExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitXOrExpressionContext) SingleExpression ¶
func (s *BitXOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
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) CloseBrace ¶
func (s *BlockContext) CloseBrace() antlr.TerminalNode
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) OpenBrace ¶
func (s *BlockContext) OpenBrace() antlr.TerminalNode
func (*BlockContext) StatementList ¶
func (s *BlockContext) StatementList() IStatementListContext
func (*BlockContext) ToStringTree ¶
func (s *BlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BreakStatementContext ¶
type BreakStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBreakStatementContext ¶
func NewBreakStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BreakStatementContext
func NewEmptyBreakStatementContext ¶
func NewEmptyBreakStatementContext() *BreakStatementContext
func (*BreakStatementContext) Accept ¶
func (s *BreakStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BreakStatementContext) Break ¶
func (s *BreakStatementContext) Break() antlr.TerminalNode
func (*BreakStatementContext) Eos ¶
func (s *BreakStatementContext) Eos() IEosContext
func (*BreakStatementContext) GetParser ¶
func (s *BreakStatementContext) GetParser() antlr.Parser
func (*BreakStatementContext) GetRuleContext ¶
func (s *BreakStatementContext) GetRuleContext() antlr.RuleContext
func (*BreakStatementContext) Identifier ¶
func (s *BreakStatementContext) Identifier() IIdentifierContext
func (*BreakStatementContext) IsBreakStatementContext ¶
func (*BreakStatementContext) IsBreakStatementContext()
func (*BreakStatementContext) ToStringTree ¶
func (s *BreakStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CaseBlockContext ¶
type CaseBlockContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCaseBlockContext ¶
func NewCaseBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CaseBlockContext
func NewEmptyCaseBlockContext ¶
func NewEmptyCaseBlockContext() *CaseBlockContext
func (*CaseBlockContext) Accept ¶
func (s *CaseBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CaseBlockContext) AllCaseClauses ¶
func (s *CaseBlockContext) AllCaseClauses() []ICaseClausesContext
func (*CaseBlockContext) CaseClauses ¶
func (s *CaseBlockContext) CaseClauses(i int) ICaseClausesContext
func (*CaseBlockContext) CloseBrace ¶
func (s *CaseBlockContext) CloseBrace() antlr.TerminalNode
func (*CaseBlockContext) DefaultClause ¶
func (s *CaseBlockContext) DefaultClause() IDefaultClauseContext
func (*CaseBlockContext) GetParser ¶
func (s *CaseBlockContext) GetParser() antlr.Parser
func (*CaseBlockContext) GetRuleContext ¶
func (s *CaseBlockContext) GetRuleContext() antlr.RuleContext
func (*CaseBlockContext) IsCaseBlockContext ¶
func (*CaseBlockContext) IsCaseBlockContext()
func (*CaseBlockContext) OpenBrace ¶
func (s *CaseBlockContext) OpenBrace() antlr.TerminalNode
func (*CaseBlockContext) ToStringTree ¶
func (s *CaseBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CaseClauseContext ¶
type CaseClauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCaseClauseContext ¶
func NewCaseClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CaseClauseContext
func NewEmptyCaseClauseContext ¶
func NewEmptyCaseClauseContext() *CaseClauseContext
func (*CaseClauseContext) Accept ¶
func (s *CaseClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CaseClauseContext) Case ¶
func (s *CaseClauseContext) Case() antlr.TerminalNode
func (*CaseClauseContext) Colon ¶
func (s *CaseClauseContext) Colon() antlr.TerminalNode
func (*CaseClauseContext) ExpressionSequence ¶
func (s *CaseClauseContext) ExpressionSequence() IExpressionSequenceContext
func (*CaseClauseContext) GetParser ¶
func (s *CaseClauseContext) GetParser() antlr.Parser
func (*CaseClauseContext) GetRuleContext ¶
func (s *CaseClauseContext) GetRuleContext() antlr.RuleContext
func (*CaseClauseContext) IsCaseClauseContext ¶
func (*CaseClauseContext) IsCaseClauseContext()
func (*CaseClauseContext) StatementList ¶
func (s *CaseClauseContext) StatementList() IStatementListContext
func (*CaseClauseContext) ToStringTree ¶
func (s *CaseClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CaseClausesContext ¶
type CaseClausesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCaseClausesContext ¶
func NewCaseClausesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CaseClausesContext
func NewEmptyCaseClausesContext ¶
func NewEmptyCaseClausesContext() *CaseClausesContext
func (*CaseClausesContext) Accept ¶
func (s *CaseClausesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CaseClausesContext) AllCaseClause ¶
func (s *CaseClausesContext) AllCaseClause() []ICaseClauseContext
func (*CaseClausesContext) CaseClause ¶
func (s *CaseClausesContext) CaseClause(i int) ICaseClauseContext
func (*CaseClausesContext) GetParser ¶
func (s *CaseClausesContext) GetParser() antlr.Parser
func (*CaseClausesContext) GetRuleContext ¶
func (s *CaseClausesContext) GetRuleContext() antlr.RuleContext
func (*CaseClausesContext) IsCaseClausesContext ¶
func (*CaseClausesContext) IsCaseClausesContext()
func (*CaseClausesContext) ToStringTree ¶
func (s *CaseClausesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CatchProductionContext ¶
type CatchProductionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCatchProductionContext ¶
func NewCatchProductionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CatchProductionContext
func NewEmptyCatchProductionContext ¶
func NewEmptyCatchProductionContext() *CatchProductionContext
func (*CatchProductionContext) Accept ¶
func (s *CatchProductionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CatchProductionContext) Assignable ¶
func (s *CatchProductionContext) Assignable() IAssignableContext
func (*CatchProductionContext) Block ¶
func (s *CatchProductionContext) Block() IBlockContext
func (*CatchProductionContext) Catch ¶
func (s *CatchProductionContext) Catch() antlr.TerminalNode
func (*CatchProductionContext) CloseParen ¶
func (s *CatchProductionContext) CloseParen() antlr.TerminalNode
func (*CatchProductionContext) GetParser ¶
func (s *CatchProductionContext) GetParser() antlr.Parser
func (*CatchProductionContext) GetRuleContext ¶
func (s *CatchProductionContext) GetRuleContext() antlr.RuleContext
func (*CatchProductionContext) IsCatchProductionContext ¶
func (*CatchProductionContext) IsCatchProductionContext()
func (*CatchProductionContext) OpenParen ¶
func (s *CatchProductionContext) OpenParen() antlr.TerminalNode
func (*CatchProductionContext) ToStringTree ¶
func (s *CatchProductionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ClassDeclarationContext ¶
type ClassDeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClassDeclarationContext ¶
func NewClassDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassDeclarationContext
func NewEmptyClassDeclarationContext ¶
func NewEmptyClassDeclarationContext() *ClassDeclarationContext
func (*ClassDeclarationContext) Accept ¶
func (s *ClassDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClassDeclarationContext) Class ¶
func (s *ClassDeclarationContext) Class() antlr.TerminalNode
func (*ClassDeclarationContext) ClassTail ¶
func (s *ClassDeclarationContext) ClassTail() IClassTailContext
func (*ClassDeclarationContext) GetParser ¶
func (s *ClassDeclarationContext) GetParser() antlr.Parser
func (*ClassDeclarationContext) GetRuleContext ¶
func (s *ClassDeclarationContext) GetRuleContext() antlr.RuleContext
func (*ClassDeclarationContext) Identifier ¶
func (s *ClassDeclarationContext) Identifier() IIdentifierContext
func (*ClassDeclarationContext) IsClassDeclarationContext ¶
func (*ClassDeclarationContext) IsClassDeclarationContext()
func (*ClassDeclarationContext) ToStringTree ¶
func (s *ClassDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ClassElementContext ¶
type ClassElementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClassElementContext ¶
func NewClassElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassElementContext
func NewEmptyClassElementContext ¶
func NewEmptyClassElementContext() *ClassElementContext
func (*ClassElementContext) Accept ¶
func (s *ClassElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClassElementContext) AllAsync ¶
func (s *ClassElementContext) AllAsync() []antlr.TerminalNode
func (*ClassElementContext) AllIdentifier ¶
func (s *ClassElementContext) AllIdentifier() []IIdentifierContext
func (*ClassElementContext) AllStatic ¶
func (s *ClassElementContext) AllStatic() []antlr.TerminalNode
func (*ClassElementContext) Assign ¶
func (s *ClassElementContext) Assign() antlr.TerminalNode
func (*ClassElementContext) Assignable ¶
func (s *ClassElementContext) Assignable() IAssignableContext
func (*ClassElementContext) Async ¶
func (s *ClassElementContext) Async(i int) antlr.TerminalNode
func (*ClassElementContext) EmptyStatement_ ¶
func (s *ClassElementContext) EmptyStatement_() IEmptyStatement_Context
func (*ClassElementContext) GetParser ¶
func (s *ClassElementContext) GetParser() antlr.Parser
func (*ClassElementContext) GetRuleContext ¶
func (s *ClassElementContext) GetRuleContext() antlr.RuleContext
func (*ClassElementContext) Hashtag ¶
func (s *ClassElementContext) Hashtag() antlr.TerminalNode
func (*ClassElementContext) Identifier ¶
func (s *ClassElementContext) Identifier(i int) IIdentifierContext
func (*ClassElementContext) IsClassElementContext ¶
func (*ClassElementContext) IsClassElementContext()
func (*ClassElementContext) MethodDefinition ¶
func (s *ClassElementContext) MethodDefinition() IMethodDefinitionContext
func (*ClassElementContext) ObjectLiteral ¶
func (s *ClassElementContext) ObjectLiteral() IObjectLiteralContext
func (*ClassElementContext) PropertyName ¶
func (s *ClassElementContext) PropertyName() IPropertyNameContext
func (*ClassElementContext) SemiColon ¶
func (s *ClassElementContext) SemiColon() antlr.TerminalNode
func (*ClassElementContext) SingleExpression ¶
func (s *ClassElementContext) SingleExpression() ISingleExpressionContext
func (*ClassElementContext) Static ¶
func (s *ClassElementContext) Static(i int) antlr.TerminalNode
func (*ClassElementContext) ToStringTree ¶
func (s *ClassElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ClassExpressionContext ¶
type ClassExpressionContext struct {
*SingleExpressionContext
}
func NewClassExpressionContext ¶
func NewClassExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ClassExpressionContext
func (*ClassExpressionContext) Accept ¶
func (s *ClassExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClassExpressionContext) Class ¶
func (s *ClassExpressionContext) Class() antlr.TerminalNode
func (*ClassExpressionContext) ClassTail ¶
func (s *ClassExpressionContext) ClassTail() IClassTailContext
func (*ClassExpressionContext) GetRuleContext ¶
func (s *ClassExpressionContext) GetRuleContext() antlr.RuleContext
func (*ClassExpressionContext) Identifier ¶
func (s *ClassExpressionContext) Identifier() IIdentifierContext
type ClassTailContext ¶
type ClassTailContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClassTailContext ¶
func NewClassTailContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassTailContext
func NewEmptyClassTailContext ¶
func NewEmptyClassTailContext() *ClassTailContext
func (*ClassTailContext) Accept ¶
func (s *ClassTailContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClassTailContext) AllClassElement ¶
func (s *ClassTailContext) AllClassElement() []IClassElementContext
func (*ClassTailContext) ClassElement ¶
func (s *ClassTailContext) ClassElement(i int) IClassElementContext
func (*ClassTailContext) CloseBrace ¶
func (s *ClassTailContext) CloseBrace() antlr.TerminalNode
func (*ClassTailContext) Extends ¶
func (s *ClassTailContext) Extends() antlr.TerminalNode
func (*ClassTailContext) GetParser ¶
func (s *ClassTailContext) GetParser() antlr.Parser
func (*ClassTailContext) GetRuleContext ¶
func (s *ClassTailContext) GetRuleContext() antlr.RuleContext
func (*ClassTailContext) IsClassTailContext ¶
func (*ClassTailContext) IsClassTailContext()
func (*ClassTailContext) OpenBrace ¶
func (s *ClassTailContext) OpenBrace() antlr.TerminalNode
func (*ClassTailContext) SingleExpression ¶
func (s *ClassTailContext) SingleExpression() ISingleExpressionContext
func (*ClassTailContext) ToStringTree ¶
func (s *ClassTailContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CoalesceExpressionContext ¶
type CoalesceExpressionContext struct {
*SingleExpressionContext
}
func NewCoalesceExpressionContext ¶
func NewCoalesceExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CoalesceExpressionContext
func (*CoalesceExpressionContext) Accept ¶
func (s *CoalesceExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CoalesceExpressionContext) AllSingleExpression ¶
func (s *CoalesceExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*CoalesceExpressionContext) GetRuleContext ¶
func (s *CoalesceExpressionContext) GetRuleContext() antlr.RuleContext
func (*CoalesceExpressionContext) NullCoalesce ¶
func (s *CoalesceExpressionContext) NullCoalesce() antlr.TerminalNode
func (*CoalesceExpressionContext) SingleExpression ¶
func (s *CoalesceExpressionContext) SingleExpression(i int) ISingleExpressionContext
type ComputedPropertyExpressionAssignmentContext ¶
type ComputedPropertyExpressionAssignmentContext struct {
*PropertyAssignmentContext
}
func NewComputedPropertyExpressionAssignmentContext ¶
func NewComputedPropertyExpressionAssignmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ComputedPropertyExpressionAssignmentContext
func (*ComputedPropertyExpressionAssignmentContext) Accept ¶
func (s *ComputedPropertyExpressionAssignmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComputedPropertyExpressionAssignmentContext) AllSingleExpression ¶
func (s *ComputedPropertyExpressionAssignmentContext) AllSingleExpression() []ISingleExpressionContext
func (*ComputedPropertyExpressionAssignmentContext) CloseBracket ¶
func (s *ComputedPropertyExpressionAssignmentContext) CloseBracket() antlr.TerminalNode
func (*ComputedPropertyExpressionAssignmentContext) Colon ¶
func (s *ComputedPropertyExpressionAssignmentContext) Colon() antlr.TerminalNode
func (*ComputedPropertyExpressionAssignmentContext) GetRuleContext ¶
func (s *ComputedPropertyExpressionAssignmentContext) GetRuleContext() antlr.RuleContext
func (*ComputedPropertyExpressionAssignmentContext) OpenBracket ¶
func (s *ComputedPropertyExpressionAssignmentContext) OpenBracket() antlr.TerminalNode
func (*ComputedPropertyExpressionAssignmentContext) SingleExpression ¶
func (s *ComputedPropertyExpressionAssignmentContext) SingleExpression(i int) ISingleExpressionContext
type ContinueStatementContext ¶
type ContinueStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewContinueStatementContext ¶
func NewContinueStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContinueStatementContext
func NewEmptyContinueStatementContext ¶
func NewEmptyContinueStatementContext() *ContinueStatementContext
func (*ContinueStatementContext) Accept ¶
func (s *ContinueStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ContinueStatementContext) Continue ¶
func (s *ContinueStatementContext) Continue() antlr.TerminalNode
func (*ContinueStatementContext) Eos ¶
func (s *ContinueStatementContext) Eos() IEosContext
func (*ContinueStatementContext) GetParser ¶
func (s *ContinueStatementContext) GetParser() antlr.Parser
func (*ContinueStatementContext) GetRuleContext ¶
func (s *ContinueStatementContext) GetRuleContext() antlr.RuleContext
func (*ContinueStatementContext) Identifier ¶
func (s *ContinueStatementContext) Identifier() IIdentifierContext
func (*ContinueStatementContext) IsContinueStatementContext ¶
func (*ContinueStatementContext) IsContinueStatementContext()
func (*ContinueStatementContext) ToStringTree ¶
func (s *ContinueStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DebuggerStatementContext ¶
type DebuggerStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDebuggerStatementContext ¶
func NewDebuggerStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DebuggerStatementContext
func NewEmptyDebuggerStatementContext ¶
func NewEmptyDebuggerStatementContext() *DebuggerStatementContext
func (*DebuggerStatementContext) Accept ¶
func (s *DebuggerStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DebuggerStatementContext) Debugger ¶
func (s *DebuggerStatementContext) Debugger() antlr.TerminalNode
func (*DebuggerStatementContext) Eos ¶
func (s *DebuggerStatementContext) Eos() IEosContext
func (*DebuggerStatementContext) GetParser ¶
func (s *DebuggerStatementContext) GetParser() antlr.Parser
func (*DebuggerStatementContext) GetRuleContext ¶
func (s *DebuggerStatementContext) GetRuleContext() antlr.RuleContext
func (*DebuggerStatementContext) IsDebuggerStatementContext ¶
func (*DebuggerStatementContext) IsDebuggerStatementContext()
func (*DebuggerStatementContext) ToStringTree ¶
func (s *DebuggerStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeclarationContext ¶
type DeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclarationContext ¶
func NewDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationContext
func NewEmptyDeclarationContext ¶
func NewEmptyDeclarationContext() *DeclarationContext
func (*DeclarationContext) Accept ¶
func (s *DeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DeclarationContext) ClassDeclaration ¶
func (s *DeclarationContext) ClassDeclaration() IClassDeclarationContext
func (*DeclarationContext) FunctionDeclaration ¶
func (s *DeclarationContext) FunctionDeclaration() IFunctionDeclarationContext
func (*DeclarationContext) GetParser ¶
func (s *DeclarationContext) GetParser() antlr.Parser
func (*DeclarationContext) GetRuleContext ¶
func (s *DeclarationContext) GetRuleContext() antlr.RuleContext
func (*DeclarationContext) IsDeclarationContext ¶
func (*DeclarationContext) IsDeclarationContext()
func (*DeclarationContext) ToStringTree ¶
func (s *DeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DeclarationContext) VariableStatement ¶
func (s *DeclarationContext) VariableStatement() IVariableStatementContext
type DefaultClauseContext ¶
type DefaultClauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefaultClauseContext ¶
func NewDefaultClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefaultClauseContext
func NewEmptyDefaultClauseContext ¶
func NewEmptyDefaultClauseContext() *DefaultClauseContext
func (*DefaultClauseContext) Accept ¶
func (s *DefaultClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefaultClauseContext) Colon ¶
func (s *DefaultClauseContext) Colon() antlr.TerminalNode
func (*DefaultClauseContext) Default ¶
func (s *DefaultClauseContext) Default() antlr.TerminalNode
func (*DefaultClauseContext) GetParser ¶
func (s *DefaultClauseContext) GetParser() antlr.Parser
func (*DefaultClauseContext) GetRuleContext ¶
func (s *DefaultClauseContext) GetRuleContext() antlr.RuleContext
func (*DefaultClauseContext) IsDefaultClauseContext ¶
func (*DefaultClauseContext) IsDefaultClauseContext()
func (*DefaultClauseContext) StatementList ¶
func (s *DefaultClauseContext) StatementList() IStatementListContext
func (*DefaultClauseContext) ToStringTree ¶
func (s *DefaultClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeleteExpressionContext ¶
type DeleteExpressionContext struct {
*SingleExpressionContext
}
func NewDeleteExpressionContext ¶
func NewDeleteExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DeleteExpressionContext
func (*DeleteExpressionContext) Accept ¶
func (s *DeleteExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DeleteExpressionContext) Delete ¶
func (s *DeleteExpressionContext) Delete() antlr.TerminalNode
func (*DeleteExpressionContext) GetRuleContext ¶
func (s *DeleteExpressionContext) GetRuleContext() antlr.RuleContext
func (*DeleteExpressionContext) SingleExpression ¶
func (s *DeleteExpressionContext) SingleExpression() ISingleExpressionContext
type DoStatementContext ¶
type DoStatementContext struct {
*IterationStatementContext
}
func NewDoStatementContext ¶
func NewDoStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DoStatementContext
func (*DoStatementContext) Accept ¶
func (s *DoStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DoStatementContext) CloseParen ¶
func (s *DoStatementContext) CloseParen() antlr.TerminalNode
func (*DoStatementContext) Do ¶
func (s *DoStatementContext) Do() antlr.TerminalNode
func (*DoStatementContext) Eos ¶
func (s *DoStatementContext) Eos() IEosContext
func (*DoStatementContext) ExpressionSequence ¶
func (s *DoStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*DoStatementContext) GetRuleContext ¶
func (s *DoStatementContext) GetRuleContext() antlr.RuleContext
func (*DoStatementContext) OpenParen ¶
func (s *DoStatementContext) OpenParen() antlr.TerminalNode
func (*DoStatementContext) Statement ¶
func (s *DoStatementContext) Statement() IStatementContext
func (*DoStatementContext) While ¶
func (s *DoStatementContext) While() antlr.TerminalNode
type ElementListContext ¶
type ElementListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElementListContext ¶
func NewElementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementListContext
func NewEmptyElementListContext ¶
func NewEmptyElementListContext() *ElementListContext
func (*ElementListContext) Accept ¶
func (s *ElementListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ElementListContext) AllArrayElement ¶
func (s *ElementListContext) AllArrayElement() []IArrayElementContext
func (*ElementListContext) AllComma ¶
func (s *ElementListContext) AllComma() []antlr.TerminalNode
func (*ElementListContext) ArrayElement ¶
func (s *ElementListContext) ArrayElement(i int) IArrayElementContext
func (*ElementListContext) Comma ¶
func (s *ElementListContext) Comma(i int) antlr.TerminalNode
func (*ElementListContext) GetParser ¶
func (s *ElementListContext) GetParser() antlr.Parser
func (*ElementListContext) GetRuleContext ¶
func (s *ElementListContext) GetRuleContext() antlr.RuleContext
func (*ElementListContext) IsElementListContext ¶
func (*ElementListContext) IsElementListContext()
func (*ElementListContext) ToStringTree ¶
func (s *ElementListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EmptyStatement_Context ¶
type EmptyStatement_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEmptyStatement_Context ¶
func NewEmptyEmptyStatement_Context() *EmptyStatement_Context
func NewEmptyStatement_Context ¶
func NewEmptyStatement_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmptyStatement_Context
func (*EmptyStatement_Context) Accept ¶
func (s *EmptyStatement_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EmptyStatement_Context) GetParser ¶
func (s *EmptyStatement_Context) GetParser() antlr.Parser
func (*EmptyStatement_Context) GetRuleContext ¶
func (s *EmptyStatement_Context) GetRuleContext() antlr.RuleContext
func (*EmptyStatement_Context) IsEmptyStatement_Context ¶
func (*EmptyStatement_Context) IsEmptyStatement_Context()
func (*EmptyStatement_Context) SemiColon ¶
func (s *EmptyStatement_Context) SemiColon() antlr.TerminalNode
func (*EmptyStatement_Context) ToStringTree ¶
func (s *EmptyStatement_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EosContext ¶
type EosContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEosContext ¶
func NewEmptyEosContext() *EosContext
func NewEosContext ¶
func NewEosContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EosContext
func (*EosContext) Accept ¶
func (s *EosContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EosContext) EOF ¶
func (s *EosContext) EOF() antlr.TerminalNode
func (*EosContext) GetParser ¶
func (s *EosContext) GetParser() antlr.Parser
func (*EosContext) GetRuleContext ¶
func (s *EosContext) GetRuleContext() antlr.RuleContext
func (*EosContext) IsEosContext ¶
func (*EosContext) IsEosContext()
func (*EosContext) SemiColon ¶
func (s *EosContext) SemiColon() antlr.TerminalNode
func (*EosContext) ToStringTree ¶
func (s *EosContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EqualityExpressionContext ¶
type EqualityExpressionContext struct {
*SingleExpressionContext
}
func NewEqualityExpressionContext ¶
func NewEqualityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityExpressionContext
func (*EqualityExpressionContext) Accept ¶
func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EqualityExpressionContext) AllSingleExpression ¶
func (s *EqualityExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*EqualityExpressionContext) Equals_ ¶
func (s *EqualityExpressionContext) Equals_() antlr.TerminalNode
func (*EqualityExpressionContext) GetRuleContext ¶
func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
func (*EqualityExpressionContext) IdentityEquals ¶
func (s *EqualityExpressionContext) IdentityEquals() antlr.TerminalNode
func (*EqualityExpressionContext) IdentityNotEquals ¶
func (s *EqualityExpressionContext) IdentityNotEquals() antlr.TerminalNode
func (*EqualityExpressionContext) NotEquals ¶
func (s *EqualityExpressionContext) NotEquals() antlr.TerminalNode
func (*EqualityExpressionContext) SingleExpression ¶
func (s *EqualityExpressionContext) SingleExpression(i int) ISingleExpressionContext
type ExportDeclarationContext ¶
type ExportDeclarationContext struct {
*ExportStatementContext
}
func NewExportDeclarationContext ¶
func NewExportDeclarationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExportDeclarationContext
func (*ExportDeclarationContext) Accept ¶
func (s *ExportDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExportDeclarationContext) Declaration ¶
func (s *ExportDeclarationContext) Declaration() IDeclarationContext
func (*ExportDeclarationContext) Eos ¶
func (s *ExportDeclarationContext) Eos() IEosContext
func (*ExportDeclarationContext) Export ¶
func (s *ExportDeclarationContext) Export() antlr.TerminalNode
func (*ExportDeclarationContext) ExportFromBlock ¶
func (s *ExportDeclarationContext) ExportFromBlock() IExportFromBlockContext
func (*ExportDeclarationContext) GetRuleContext ¶
func (s *ExportDeclarationContext) GetRuleContext() antlr.RuleContext
type ExportDefaultDeclarationContext ¶
type ExportDefaultDeclarationContext struct {
*ExportStatementContext
}
func NewExportDefaultDeclarationContext ¶
func NewExportDefaultDeclarationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExportDefaultDeclarationContext
func (*ExportDefaultDeclarationContext) Accept ¶
func (s *ExportDefaultDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExportDefaultDeclarationContext) Default ¶
func (s *ExportDefaultDeclarationContext) Default() antlr.TerminalNode
func (*ExportDefaultDeclarationContext) Eos ¶
func (s *ExportDefaultDeclarationContext) Eos() IEosContext
func (*ExportDefaultDeclarationContext) Export ¶
func (s *ExportDefaultDeclarationContext) Export() antlr.TerminalNode
func (*ExportDefaultDeclarationContext) GetRuleContext ¶
func (s *ExportDefaultDeclarationContext) GetRuleContext() antlr.RuleContext
func (*ExportDefaultDeclarationContext) SingleExpression ¶
func (s *ExportDefaultDeclarationContext) SingleExpression() ISingleExpressionContext
type ExportFromBlockContext ¶
type ExportFromBlockContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExportFromBlockContext ¶
func NewEmptyExportFromBlockContext() *ExportFromBlockContext
func NewExportFromBlockContext ¶
func NewExportFromBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExportFromBlockContext
func (*ExportFromBlockContext) Accept ¶
func (s *ExportFromBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExportFromBlockContext) Eos ¶
func (s *ExportFromBlockContext) Eos() IEosContext
func (*ExportFromBlockContext) GetParser ¶
func (s *ExportFromBlockContext) GetParser() antlr.Parser
func (*ExportFromBlockContext) GetRuleContext ¶
func (s *ExportFromBlockContext) GetRuleContext() antlr.RuleContext
func (*ExportFromBlockContext) ImportFrom ¶
func (s *ExportFromBlockContext) ImportFrom() IImportFromContext
func (*ExportFromBlockContext) ImportNamespace ¶
func (s *ExportFromBlockContext) ImportNamespace() IImportNamespaceContext
func (*ExportFromBlockContext) IsExportFromBlockContext ¶
func (*ExportFromBlockContext) IsExportFromBlockContext()
func (*ExportFromBlockContext) ModuleItems ¶
func (s *ExportFromBlockContext) ModuleItems() IModuleItemsContext
func (*ExportFromBlockContext) ToStringTree ¶
func (s *ExportFromBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExportStatementContext ¶
type ExportStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExportStatementContext ¶
func NewEmptyExportStatementContext() *ExportStatementContext
func NewExportStatementContext ¶
func NewExportStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExportStatementContext
func (*ExportStatementContext) CopyFrom ¶
func (s *ExportStatementContext) CopyFrom(ctx *ExportStatementContext)
func (*ExportStatementContext) GetParser ¶
func (s *ExportStatementContext) GetParser() antlr.Parser
func (*ExportStatementContext) GetRuleContext ¶
func (s *ExportStatementContext) GetRuleContext() antlr.RuleContext
func (*ExportStatementContext) IsExportStatementContext ¶
func (*ExportStatementContext) IsExportStatementContext()
func (*ExportStatementContext) ToStringTree ¶
func (s *ExportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionSequenceContext ¶
type ExpressionSequenceContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionSequenceContext ¶
func NewEmptyExpressionSequenceContext() *ExpressionSequenceContext
func NewExpressionSequenceContext ¶
func NewExpressionSequenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionSequenceContext
func (*ExpressionSequenceContext) Accept ¶
func (s *ExpressionSequenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionSequenceContext) AllComma ¶
func (s *ExpressionSequenceContext) AllComma() []antlr.TerminalNode
func (*ExpressionSequenceContext) AllSingleExpression ¶
func (s *ExpressionSequenceContext) AllSingleExpression() []ISingleExpressionContext
func (*ExpressionSequenceContext) Comma ¶
func (s *ExpressionSequenceContext) Comma(i int) antlr.TerminalNode
func (*ExpressionSequenceContext) GetParser ¶
func (s *ExpressionSequenceContext) GetParser() antlr.Parser
func (*ExpressionSequenceContext) GetRuleContext ¶
func (s *ExpressionSequenceContext) GetRuleContext() antlr.RuleContext
func (*ExpressionSequenceContext) IsExpressionSequenceContext ¶
func (*ExpressionSequenceContext) IsExpressionSequenceContext()
func (*ExpressionSequenceContext) SingleExpression ¶
func (s *ExpressionSequenceContext) SingleExpression(i int) ISingleExpressionContext
func (*ExpressionSequenceContext) ToStringTree ¶
func (s *ExpressionSequenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionStatementContext ¶
type ExpressionStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionStatementContext ¶
func NewEmptyExpressionStatementContext() *ExpressionStatementContext
func NewExpressionStatementContext ¶
func NewExpressionStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionStatementContext
func (*ExpressionStatementContext) Accept ¶
func (s *ExpressionStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionStatementContext) Eos ¶
func (s *ExpressionStatementContext) Eos() IEosContext
func (*ExpressionStatementContext) ExpressionSequence ¶
func (s *ExpressionStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*ExpressionStatementContext) GetParser ¶
func (s *ExpressionStatementContext) GetParser() antlr.Parser
func (*ExpressionStatementContext) GetRuleContext ¶
func (s *ExpressionStatementContext) GetRuleContext() antlr.RuleContext
func (*ExpressionStatementContext) IsExpressionStatementContext ¶
func (*ExpressionStatementContext) IsExpressionStatementContext()
func (*ExpressionStatementContext) ToStringTree ¶
func (s *ExpressionStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FinallyProductionContext ¶
type FinallyProductionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFinallyProductionContext ¶
func NewEmptyFinallyProductionContext() *FinallyProductionContext
func NewFinallyProductionContext ¶
func NewFinallyProductionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FinallyProductionContext
func (*FinallyProductionContext) Accept ¶
func (s *FinallyProductionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FinallyProductionContext) Block ¶
func (s *FinallyProductionContext) Block() IBlockContext
func (*FinallyProductionContext) Finally ¶
func (s *FinallyProductionContext) Finally() antlr.TerminalNode
func (*FinallyProductionContext) GetParser ¶
func (s *FinallyProductionContext) GetParser() antlr.Parser
func (*FinallyProductionContext) GetRuleContext ¶
func (s *FinallyProductionContext) GetRuleContext() antlr.RuleContext
func (*FinallyProductionContext) IsFinallyProductionContext ¶
func (*FinallyProductionContext) IsFinallyProductionContext()
func (*FinallyProductionContext) ToStringTree ¶
func (s *FinallyProductionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ForInStatementContext ¶
type ForInStatementContext struct {
*IterationStatementContext
}
func NewForInStatementContext ¶
func NewForInStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ForInStatementContext
func (*ForInStatementContext) Accept ¶
func (s *ForInStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ForInStatementContext) CloseParen ¶
func (s *ForInStatementContext) CloseParen() antlr.TerminalNode
func (*ForInStatementContext) ExpressionSequence ¶
func (s *ForInStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*ForInStatementContext) For ¶
func (s *ForInStatementContext) For() antlr.TerminalNode
func (*ForInStatementContext) GetRuleContext ¶
func (s *ForInStatementContext) GetRuleContext() antlr.RuleContext
func (*ForInStatementContext) In ¶
func (s *ForInStatementContext) In() antlr.TerminalNode
func (*ForInStatementContext) OpenParen ¶
func (s *ForInStatementContext) OpenParen() antlr.TerminalNode
func (*ForInStatementContext) SingleExpression ¶
func (s *ForInStatementContext) SingleExpression() ISingleExpressionContext
func (*ForInStatementContext) Statement ¶
func (s *ForInStatementContext) Statement() IStatementContext
func (*ForInStatementContext) VariableDeclarationList ¶
func (s *ForInStatementContext) VariableDeclarationList() IVariableDeclarationListContext
type ForOfStatementContext ¶
type ForOfStatementContext struct {
*IterationStatementContext
}
func NewForOfStatementContext ¶
func NewForOfStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ForOfStatementContext
func (*ForOfStatementContext) Accept ¶
func (s *ForOfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ForOfStatementContext) Await ¶
func (s *ForOfStatementContext) Await() antlr.TerminalNode
func (*ForOfStatementContext) CloseParen ¶
func (s *ForOfStatementContext) CloseParen() antlr.TerminalNode
func (*ForOfStatementContext) ExpressionSequence ¶
func (s *ForOfStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*ForOfStatementContext) For ¶
func (s *ForOfStatementContext) For() antlr.TerminalNode
func (*ForOfStatementContext) GetRuleContext ¶
func (s *ForOfStatementContext) GetRuleContext() antlr.RuleContext
func (*ForOfStatementContext) Identifier ¶
func (s *ForOfStatementContext) Identifier() IIdentifierContext
func (*ForOfStatementContext) OpenParen ¶
func (s *ForOfStatementContext) OpenParen() antlr.TerminalNode
func (*ForOfStatementContext) SingleExpression ¶
func (s *ForOfStatementContext) SingleExpression() ISingleExpressionContext
func (*ForOfStatementContext) Statement ¶
func (s *ForOfStatementContext) Statement() IStatementContext
func (*ForOfStatementContext) VariableDeclarationList ¶
func (s *ForOfStatementContext) VariableDeclarationList() IVariableDeclarationListContext
type ForStatementContext ¶
type ForStatementContext struct {
*IterationStatementContext
}
func NewForStatementContext ¶
func NewForStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ForStatementContext
func (*ForStatementContext) Accept ¶
func (s *ForStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ForStatementContext) AllExpressionSequence ¶
func (s *ForStatementContext) AllExpressionSequence() []IExpressionSequenceContext
func (*ForStatementContext) AllSemiColon ¶
func (s *ForStatementContext) AllSemiColon() []antlr.TerminalNode
func (*ForStatementContext) CloseParen ¶
func (s *ForStatementContext) CloseParen() antlr.TerminalNode
func (*ForStatementContext) ExpressionSequence ¶
func (s *ForStatementContext) ExpressionSequence(i int) IExpressionSequenceContext
func (*ForStatementContext) For ¶
func (s *ForStatementContext) For() antlr.TerminalNode
func (*ForStatementContext) GetRuleContext ¶
func (s *ForStatementContext) GetRuleContext() antlr.RuleContext
func (*ForStatementContext) OpenParen ¶
func (s *ForStatementContext) OpenParen() antlr.TerminalNode
func (*ForStatementContext) SemiColon ¶
func (s *ForStatementContext) SemiColon(i int) antlr.TerminalNode
func (*ForStatementContext) Statement ¶
func (s *ForStatementContext) Statement() IStatementContext
func (*ForStatementContext) VariableDeclarationList ¶
func (s *ForStatementContext) VariableDeclarationList() IVariableDeclarationListContext
type FormalParameterArgContext ¶
type FormalParameterArgContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFormalParameterArgContext ¶
func NewEmptyFormalParameterArgContext() *FormalParameterArgContext
func NewFormalParameterArgContext ¶
func NewFormalParameterArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParameterArgContext
func (*FormalParameterArgContext) Accept ¶
func (s *FormalParameterArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FormalParameterArgContext) Assign ¶
func (s *FormalParameterArgContext) Assign() antlr.TerminalNode
func (*FormalParameterArgContext) Assignable ¶
func (s *FormalParameterArgContext) Assignable() IAssignableContext
func (*FormalParameterArgContext) GetParser ¶
func (s *FormalParameterArgContext) GetParser() antlr.Parser
func (*FormalParameterArgContext) GetRuleContext ¶
func (s *FormalParameterArgContext) GetRuleContext() antlr.RuleContext
func (*FormalParameterArgContext) IsFormalParameterArgContext ¶
func (*FormalParameterArgContext) IsFormalParameterArgContext()
func (*FormalParameterArgContext) SingleExpression ¶
func (s *FormalParameterArgContext) SingleExpression() ISingleExpressionContext
func (*FormalParameterArgContext) ToStringTree ¶
func (s *FormalParameterArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FormalParameterListContext ¶
type FormalParameterListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFormalParameterListContext ¶
func NewEmptyFormalParameterListContext() *FormalParameterListContext
func NewFormalParameterListContext ¶
func NewFormalParameterListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormalParameterListContext
func (*FormalParameterListContext) Accept ¶
func (s *FormalParameterListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FormalParameterListContext) AllComma ¶
func (s *FormalParameterListContext) AllComma() []antlr.TerminalNode
func (*FormalParameterListContext) AllFormalParameterArg ¶
func (s *FormalParameterListContext) AllFormalParameterArg() []IFormalParameterArgContext
func (*FormalParameterListContext) Comma ¶
func (s *FormalParameterListContext) Comma(i int) antlr.TerminalNode
func (*FormalParameterListContext) FormalParameterArg ¶
func (s *FormalParameterListContext) FormalParameterArg(i int) IFormalParameterArgContext
func (*FormalParameterListContext) GetParser ¶
func (s *FormalParameterListContext) GetParser() antlr.Parser
func (*FormalParameterListContext) GetRuleContext ¶
func (s *FormalParameterListContext) GetRuleContext() antlr.RuleContext
func (*FormalParameterListContext) IsFormalParameterListContext ¶
func (*FormalParameterListContext) IsFormalParameterListContext()
func (*FormalParameterListContext) LastFormalParameterArg ¶
func (s *FormalParameterListContext) LastFormalParameterArg() ILastFormalParameterArgContext
func (*FormalParameterListContext) ToStringTree ¶
func (s *FormalParameterListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunctionBodyContext ¶
type FunctionBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunctionBodyContext ¶
func NewEmptyFunctionBodyContext() *FunctionBodyContext
func NewFunctionBodyContext ¶
func NewFunctionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionBodyContext
func (*FunctionBodyContext) Accept ¶
func (s *FunctionBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionBodyContext) CloseBrace ¶
func (s *FunctionBodyContext) CloseBrace() antlr.TerminalNode
func (*FunctionBodyContext) GetParser ¶
func (s *FunctionBodyContext) GetParser() antlr.Parser
func (*FunctionBodyContext) GetRuleContext ¶
func (s *FunctionBodyContext) GetRuleContext() antlr.RuleContext
func (*FunctionBodyContext) IsFunctionBodyContext ¶
func (*FunctionBodyContext) IsFunctionBodyContext()
func (*FunctionBodyContext) OpenBrace ¶
func (s *FunctionBodyContext) OpenBrace() antlr.TerminalNode
func (*FunctionBodyContext) SourceElements ¶
func (s *FunctionBodyContext) SourceElements() ISourceElementsContext
func (*FunctionBodyContext) ToStringTree ¶
func (s *FunctionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunctionDeclContext ¶
type FunctionDeclContext struct {
*AnonymousFunctionContext
}
func NewFunctionDeclContext ¶
func NewFunctionDeclContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionDeclContext
func (*FunctionDeclContext) Accept ¶
func (s *FunctionDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionDeclContext) FunctionDeclaration ¶
func (s *FunctionDeclContext) FunctionDeclaration() IFunctionDeclarationContext
func (*FunctionDeclContext) GetRuleContext ¶
func (s *FunctionDeclContext) GetRuleContext() antlr.RuleContext
type FunctionDeclarationContext ¶
type FunctionDeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunctionDeclarationContext ¶
func NewEmptyFunctionDeclarationContext() *FunctionDeclarationContext
func NewFunctionDeclarationContext ¶
func NewFunctionDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionDeclarationContext
func (*FunctionDeclarationContext) Accept ¶
func (s *FunctionDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionDeclarationContext) Async ¶
func (s *FunctionDeclarationContext) Async() antlr.TerminalNode
func (*FunctionDeclarationContext) CloseParen ¶
func (s *FunctionDeclarationContext) CloseParen() antlr.TerminalNode
func (*FunctionDeclarationContext) FormalParameterList ¶
func (s *FunctionDeclarationContext) FormalParameterList() IFormalParameterListContext
func (*FunctionDeclarationContext) FunctionBody ¶
func (s *FunctionDeclarationContext) FunctionBody() IFunctionBodyContext
func (*FunctionDeclarationContext) Function_ ¶
func (s *FunctionDeclarationContext) Function_() antlr.TerminalNode
func (*FunctionDeclarationContext) GetParser ¶
func (s *FunctionDeclarationContext) GetParser() antlr.Parser
func (*FunctionDeclarationContext) GetRuleContext ¶
func (s *FunctionDeclarationContext) GetRuleContext() antlr.RuleContext
func (*FunctionDeclarationContext) Identifier ¶
func (s *FunctionDeclarationContext) Identifier() IIdentifierContext
func (*FunctionDeclarationContext) IsFunctionDeclarationContext ¶
func (*FunctionDeclarationContext) IsFunctionDeclarationContext()
func (*FunctionDeclarationContext) Multiply ¶
func (s *FunctionDeclarationContext) Multiply() antlr.TerminalNode
func (*FunctionDeclarationContext) OpenParen ¶
func (s *FunctionDeclarationContext) OpenParen() antlr.TerminalNode
func (*FunctionDeclarationContext) ToStringTree ¶
func (s *FunctionDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunctionExpressionContext ¶
type FunctionExpressionContext struct {
*SingleExpressionContext
}
func NewFunctionExpressionContext ¶
func NewFunctionExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionExpressionContext
func (*FunctionExpressionContext) Accept ¶
func (s *FunctionExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionExpressionContext) AnonymousFunction ¶
func (s *FunctionExpressionContext) AnonymousFunction() IAnonymousFunctionContext
func (*FunctionExpressionContext) GetRuleContext ¶
func (s *FunctionExpressionContext) GetRuleContext() antlr.RuleContext
type FunctionPropertyContext ¶
type FunctionPropertyContext struct {
*PropertyAssignmentContext
}
func NewFunctionPropertyContext ¶
func NewFunctionPropertyContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionPropertyContext
func (*FunctionPropertyContext) Accept ¶
func (s *FunctionPropertyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionPropertyContext) Async ¶
func (s *FunctionPropertyContext) Async() antlr.TerminalNode
func (*FunctionPropertyContext) CloseParen ¶
func (s *FunctionPropertyContext) CloseParen() antlr.TerminalNode
func (*FunctionPropertyContext) FormalParameterList ¶
func (s *FunctionPropertyContext) FormalParameterList() IFormalParameterListContext
func (*FunctionPropertyContext) FunctionBody ¶
func (s *FunctionPropertyContext) FunctionBody() IFunctionBodyContext
func (*FunctionPropertyContext) GetRuleContext ¶
func (s *FunctionPropertyContext) GetRuleContext() antlr.RuleContext
func (*FunctionPropertyContext) Multiply ¶
func (s *FunctionPropertyContext) Multiply() antlr.TerminalNode
func (*FunctionPropertyContext) OpenParen ¶
func (s *FunctionPropertyContext) OpenParen() antlr.TerminalNode
func (*FunctionPropertyContext) PropertyName ¶
func (s *FunctionPropertyContext) PropertyName() IPropertyNameContext
type GetterContext ¶
type GetterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGetterContext ¶
func NewEmptyGetterContext() *GetterContext
func NewGetterContext ¶
func NewGetterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GetterContext
func (*GetterContext) Accept ¶
func (s *GetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GetterContext) GetParser ¶
func (s *GetterContext) GetParser() antlr.Parser
func (*GetterContext) GetRuleContext ¶
func (s *GetterContext) GetRuleContext() antlr.RuleContext
func (*GetterContext) Identifier ¶
func (s *GetterContext) Identifier() IIdentifierContext
func (*GetterContext) IsGetterContext ¶
func (*GetterContext) IsGetterContext()
func (*GetterContext) PropertyName ¶
func (s *GetterContext) PropertyName() IPropertyNameContext
func (*GetterContext) ToStringTree ¶
func (s *GetterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAliasNameContext ¶
type IAliasNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAliasNameContext differentiates from other interfaces. IsAliasNameContext() }
IAliasNameContext is an interface to support dynamic dispatch.
type IAnonymousFunctionContext ¶
type IAnonymousFunctionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAnonymousFunctionContext differentiates from other interfaces. IsAnonymousFunctionContext() }
IAnonymousFunctionContext is an interface to support dynamic dispatch.
type IArgumentContext ¶
type IArgumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgumentContext differentiates from other interfaces. IsArgumentContext() }
IArgumentContext is an interface to support dynamic dispatch.
type IArgumentsContext ¶
type IArgumentsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgumentsContext differentiates from other interfaces. IsArgumentsContext() }
IArgumentsContext is an interface to support dynamic dispatch.
type IArrayElementContext ¶
type IArrayElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrayElementContext differentiates from other interfaces. IsArrayElementContext() }
IArrayElementContext is an interface to support dynamic dispatch.
type IArrayLiteralContext ¶
type IArrayLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrayLiteralContext differentiates from other interfaces. IsArrayLiteralContext() }
IArrayLiteralContext is an interface to support dynamic dispatch.
type IArrowFunctionBodyContext ¶
type IArrowFunctionBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrowFunctionBodyContext differentiates from other interfaces. IsArrowFunctionBodyContext() }
IArrowFunctionBodyContext is an interface to support dynamic dispatch.
type IArrowFunctionParametersContext ¶
type IArrowFunctionParametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrowFunctionParametersContext differentiates from other interfaces. IsArrowFunctionParametersContext() }
IArrowFunctionParametersContext is an interface to support dynamic dispatch.
type IAssignableContext ¶
type IAssignableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignableContext differentiates from other interfaces. IsAssignableContext() }
IAssignableContext is an interface to support dynamic dispatch.
type IAssignmentOperatorContext ¶
type IAssignmentOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignmentOperatorContext differentiates from other interfaces. IsAssignmentOperatorContext() }
IAssignmentOperatorContext is an interface to support dynamic dispatch.
type IBigintLiteralContext ¶
type IBigintLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBigintLiteralContext differentiates from other interfaces. IsBigintLiteralContext() }
IBigintLiteralContext 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 IBreakStatementContext ¶
type IBreakStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBreakStatementContext differentiates from other interfaces. IsBreakStatementContext() }
IBreakStatementContext is an interface to support dynamic dispatch.
type ICaseBlockContext ¶
type ICaseBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCaseBlockContext differentiates from other interfaces. IsCaseBlockContext() }
ICaseBlockContext is an interface to support dynamic dispatch.
type ICaseClauseContext ¶
type ICaseClauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCaseClauseContext differentiates from other interfaces. IsCaseClauseContext() }
ICaseClauseContext is an interface to support dynamic dispatch.
type ICaseClausesContext ¶
type ICaseClausesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCaseClausesContext differentiates from other interfaces. IsCaseClausesContext() }
ICaseClausesContext is an interface to support dynamic dispatch.
type ICatchProductionContext ¶
type ICatchProductionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCatchProductionContext differentiates from other interfaces. IsCatchProductionContext() }
ICatchProductionContext is an interface to support dynamic dispatch.
type IClassDeclarationContext ¶
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 IClassElementContext ¶
type IClassElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsClassElementContext differentiates from other interfaces. IsClassElementContext() }
IClassElementContext is an interface to support dynamic dispatch.
type IClassTailContext ¶
type IClassTailContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsClassTailContext differentiates from other interfaces. IsClassTailContext() }
IClassTailContext is an interface to support dynamic dispatch.
type IContinueStatementContext ¶
type IContinueStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsContinueStatementContext differentiates from other interfaces. IsContinueStatementContext() }
IContinueStatementContext is an interface to support dynamic dispatch.
type IDebuggerStatementContext ¶
type IDebuggerStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDebuggerStatementContext differentiates from other interfaces. IsDebuggerStatementContext() }
IDebuggerStatementContext is an interface to support dynamic dispatch.
type IDeclarationContext ¶
type IDeclarationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDeclarationContext differentiates from other interfaces. IsDeclarationContext() }
IDeclarationContext is an interface to support dynamic dispatch.
type IDefaultClauseContext ¶
type IDefaultClauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDefaultClauseContext differentiates from other interfaces. IsDefaultClauseContext() }
IDefaultClauseContext is an interface to support dynamic dispatch.
type IElementListContext ¶
type IElementListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsElementListContext differentiates from other interfaces. IsElementListContext() }
IElementListContext is an interface to support dynamic dispatch.
type IEmptyStatement_Context ¶
type IEmptyStatement_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEmptyStatement_Context differentiates from other interfaces. IsEmptyStatement_Context() }
IEmptyStatement_Context is an interface to support dynamic dispatch.
type IEosContext ¶
type IEosContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEosContext differentiates from other interfaces. IsEosContext() }
IEosContext is an interface to support dynamic dispatch.
type IExportFromBlockContext ¶
type IExportFromBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExportFromBlockContext differentiates from other interfaces. IsExportFromBlockContext() }
IExportFromBlockContext is an interface to support dynamic dispatch.
type IExportStatementContext ¶
type IExportStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExportStatementContext differentiates from other interfaces. IsExportStatementContext() }
IExportStatementContext is an interface to support dynamic dispatch.
type IExpressionSequenceContext ¶
type IExpressionSequenceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionSequenceContext differentiates from other interfaces. IsExpressionSequenceContext() }
IExpressionSequenceContext is an interface to support dynamic dispatch.
type IExpressionStatementContext ¶
type IExpressionStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionStatementContext differentiates from other interfaces. IsExpressionStatementContext() }
IExpressionStatementContext is an interface to support dynamic dispatch.
type IFinallyProductionContext ¶
type IFinallyProductionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFinallyProductionContext differentiates from other interfaces. IsFinallyProductionContext() }
IFinallyProductionContext is an interface to support dynamic dispatch.
type IFormalParameterArgContext ¶
type IFormalParameterArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFormalParameterArgContext differentiates from other interfaces. IsFormalParameterArgContext() }
IFormalParameterArgContext is an interface to support dynamic dispatch.
type IFormalParameterListContext ¶
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 IFunctionBodyContext ¶
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 IFunctionDeclarationContext ¶
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 IGetterContext ¶
type IGetterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsGetterContext differentiates from other interfaces. IsGetterContext() }
IGetterContext is an interface to support dynamic dispatch.
type IIdentifierContext ¶
type IIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIdentifierContext differentiates from other interfaces. IsIdentifierContext() }
IIdentifierContext is an interface to support dynamic dispatch.
type IIdentifierNameContext ¶
type IIdentifierNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIdentifierNameContext differentiates from other interfaces. IsIdentifierNameContext() }
IIdentifierNameContext is an interface to support dynamic dispatch.
type IIfStatementContext ¶
type IIfStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIfStatementContext differentiates from other interfaces. IsIfStatementContext() }
IIfStatementContext is an interface to support dynamic dispatch.
type IImportDefaultContext ¶
type IImportDefaultContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportDefaultContext differentiates from other interfaces. IsImportDefaultContext() }
IImportDefaultContext is an interface to support dynamic dispatch.
type IImportFromBlockContext ¶
type IImportFromBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportFromBlockContext differentiates from other interfaces. IsImportFromBlockContext() }
IImportFromBlockContext is an interface to support dynamic dispatch.
type IImportFromContext ¶
type IImportFromContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportFromContext differentiates from other interfaces. IsImportFromContext() }
IImportFromContext is an interface to support dynamic dispatch.
type IImportNamespaceContext ¶
type IImportNamespaceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportNamespaceContext differentiates from other interfaces. IsImportNamespaceContext() }
IImportNamespaceContext is an interface to support dynamic dispatch.
type IImportStatementContext ¶
type IImportStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportStatementContext differentiates from other interfaces. IsImportStatementContext() }
IImportStatementContext is an interface to support dynamic dispatch.
type IIterationStatementContext ¶
type IIterationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIterationStatementContext differentiates from other interfaces. IsIterationStatementContext() }
IIterationStatementContext is an interface to support dynamic dispatch.
type IKeywordContext ¶
type IKeywordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsKeywordContext differentiates from other interfaces. IsKeywordContext() }
IKeywordContext is an interface to support dynamic dispatch.
type ILabelledStatementContext ¶
type ILabelledStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLabelledStatementContext differentiates from other interfaces. IsLabelledStatementContext() }
ILabelledStatementContext is an interface to support dynamic dispatch.
type ILastFormalParameterArgContext ¶
type ILastFormalParameterArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLastFormalParameterArgContext differentiates from other interfaces. IsLastFormalParameterArgContext() }
ILastFormalParameterArgContext is an interface to support dynamic dispatch.
type ILet_Context ¶
type ILet_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLet_Context differentiates from other interfaces. IsLet_Context() }
ILet_Context 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 IMethodDefinitionContext ¶
type IMethodDefinitionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMethodDefinitionContext differentiates from other interfaces. IsMethodDefinitionContext() }
IMethodDefinitionContext is an interface to support dynamic dispatch.
type IModuleItemsContext ¶
type IModuleItemsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsModuleItemsContext differentiates from other interfaces. IsModuleItemsContext() }
IModuleItemsContext is an interface to support dynamic dispatch.
type INumericLiteralContext ¶
type INumericLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNumericLiteralContext differentiates from other interfaces. IsNumericLiteralContext() }
INumericLiteralContext is an interface to support dynamic dispatch.
type IObjectLiteralContext ¶
type IObjectLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsObjectLiteralContext differentiates from other interfaces. IsObjectLiteralContext() }
IObjectLiteralContext is an interface to support dynamic dispatch.
type IProgramContext ¶
type IProgramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsProgramContext differentiates from other interfaces. IsProgramContext() }
IProgramContext is an interface to support dynamic dispatch.
type IPropertyAssignmentContext ¶
type IPropertyAssignmentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPropertyAssignmentContext differentiates from other interfaces. IsPropertyAssignmentContext() }
IPropertyAssignmentContext is an interface to support dynamic dispatch.
type IPropertyNameContext ¶
type IPropertyNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPropertyNameContext differentiates from other interfaces. IsPropertyNameContext() }
IPropertyNameContext is an interface to support dynamic dispatch.
type IReservedWordContext ¶
type IReservedWordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsReservedWordContext differentiates from other interfaces. IsReservedWordContext() }
IReservedWordContext is an interface to support dynamic dispatch.
type IReturnStatementContext ¶
type IReturnStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsReturnStatementContext differentiates from other interfaces. IsReturnStatementContext() }
IReturnStatementContext is an interface to support dynamic dispatch.
type ISetterContext ¶
type ISetterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSetterContext differentiates from other interfaces. IsSetterContext() }
ISetterContext is an interface to support dynamic dispatch.
type ISingleExpressionContext ¶
type ISingleExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSingleExpressionContext differentiates from other interfaces. IsSingleExpressionContext() }
ISingleExpressionContext is an interface to support dynamic dispatch.
type ISourceElementContext ¶
type ISourceElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSourceElementContext differentiates from other interfaces. IsSourceElementContext() }
ISourceElementContext is an interface to support dynamic dispatch.
type ISourceElementsContext ¶
type ISourceElementsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSourceElementsContext differentiates from other interfaces. IsSourceElementsContext() }
ISourceElementsContext is an interface to support dynamic dispatch.
type IStatementContext ¶
type IStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStatementContext differentiates from other interfaces. IsStatementContext() }
IStatementContext is an interface to support dynamic dispatch.
type IStatementListContext ¶
type IStatementListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStatementListContext differentiates from other interfaces. IsStatementListContext() }
IStatementListContext is an interface to support dynamic dispatch.
type ISwitchStatementContext ¶
type ISwitchStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSwitchStatementContext differentiates from other interfaces. IsSwitchStatementContext() }
ISwitchStatementContext is an interface to support dynamic dispatch.
type IThrowStatementContext ¶
type IThrowStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsThrowStatementContext differentiates from other interfaces. IsThrowStatementContext() }
IThrowStatementContext is an interface to support dynamic dispatch.
type ITryStatementContext ¶
type ITryStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTryStatementContext differentiates from other interfaces. IsTryStatementContext() }
ITryStatementContext is an interface to support dynamic dispatch.
type IVarModifierContext ¶
type IVarModifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVarModifierContext differentiates from other interfaces. IsVarModifierContext() }
IVarModifierContext is an interface to support dynamic dispatch.
type IVariableDeclarationContext ¶
type IVariableDeclarationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVariableDeclarationContext differentiates from other interfaces. IsVariableDeclarationContext() }
IVariableDeclarationContext is an interface to support dynamic dispatch.
type IVariableDeclarationListContext ¶
type IVariableDeclarationListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVariableDeclarationListContext differentiates from other interfaces. IsVariableDeclarationListContext() }
IVariableDeclarationListContext is an interface to support dynamic dispatch.
type IVariableStatementContext ¶
type IVariableStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVariableStatementContext differentiates from other interfaces. IsVariableStatementContext() }
IVariableStatementContext is an interface to support dynamic dispatch.
type IWithStatementContext ¶
type IWithStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWithStatementContext differentiates from other interfaces. IsWithStatementContext() }
IWithStatementContext is an interface to support dynamic dispatch.
type IYieldStatementContext ¶
type IYieldStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsYieldStatementContext differentiates from other interfaces. IsYieldStatementContext() }
IYieldStatementContext is an interface to support dynamic dispatch.
type IdentifierContext ¶
type IdentifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentifierContext ¶
func NewEmptyIdentifierContext() *IdentifierContext
func NewIdentifierContext ¶
func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext
func (*IdentifierContext) Accept ¶
func (s *IdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentifierContext) Async ¶
func (s *IdentifierContext) Async() antlr.TerminalNode
func (*IdentifierContext) GetParser ¶
func (s *IdentifierContext) GetParser() antlr.Parser
func (*IdentifierContext) GetRuleContext ¶
func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
func (*IdentifierContext) Identifier ¶
func (s *IdentifierContext) Identifier() antlr.TerminalNode
func (*IdentifierContext) IsIdentifierContext ¶
func (*IdentifierContext) IsIdentifierContext()
func (*IdentifierContext) NonStrictLet ¶
func (s *IdentifierContext) NonStrictLet() antlr.TerminalNode
func (*IdentifierContext) ToStringTree ¶
func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IdentifierExpressionContext ¶
type IdentifierExpressionContext struct {
*SingleExpressionContext
}
func NewIdentifierExpressionContext ¶
func NewIdentifierExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierExpressionContext
func (*IdentifierExpressionContext) Accept ¶
func (s *IdentifierExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentifierExpressionContext) GetRuleContext ¶
func (s *IdentifierExpressionContext) GetRuleContext() antlr.RuleContext
func (*IdentifierExpressionContext) Identifier ¶
func (s *IdentifierExpressionContext) Identifier() IIdentifierContext
type IdentifierNameContext ¶
type IdentifierNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentifierNameContext ¶
func NewEmptyIdentifierNameContext() *IdentifierNameContext
func NewIdentifierNameContext ¶
func NewIdentifierNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierNameContext
func (*IdentifierNameContext) Accept ¶
func (s *IdentifierNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentifierNameContext) GetParser ¶
func (s *IdentifierNameContext) GetParser() antlr.Parser
func (*IdentifierNameContext) GetRuleContext ¶
func (s *IdentifierNameContext) GetRuleContext() antlr.RuleContext
func (*IdentifierNameContext) Identifier ¶
func (s *IdentifierNameContext) Identifier() IIdentifierContext
func (*IdentifierNameContext) IsIdentifierNameContext ¶
func (*IdentifierNameContext) IsIdentifierNameContext()
func (*IdentifierNameContext) ReservedWord ¶
func (s *IdentifierNameContext) ReservedWord() IReservedWordContext
func (*IdentifierNameContext) ToStringTree ¶
func (s *IdentifierNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IfStatementContext ¶
type IfStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIfStatementContext ¶
func NewEmptyIfStatementContext() *IfStatementContext
func NewIfStatementContext ¶
func NewIfStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfStatementContext
func (*IfStatementContext) Accept ¶
func (s *IfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IfStatementContext) AllStatement ¶
func (s *IfStatementContext) AllStatement() []IStatementContext
func (*IfStatementContext) CloseParen ¶
func (s *IfStatementContext) CloseParen() antlr.TerminalNode
func (*IfStatementContext) Else ¶
func (s *IfStatementContext) Else() antlr.TerminalNode
func (*IfStatementContext) ExpressionSequence ¶
func (s *IfStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*IfStatementContext) GetParser ¶
func (s *IfStatementContext) GetParser() antlr.Parser
func (*IfStatementContext) GetRuleContext ¶
func (s *IfStatementContext) GetRuleContext() antlr.RuleContext
func (*IfStatementContext) If ¶
func (s *IfStatementContext) If() antlr.TerminalNode
func (*IfStatementContext) IsIfStatementContext ¶
func (*IfStatementContext) IsIfStatementContext()
func (*IfStatementContext) OpenParen ¶
func (s *IfStatementContext) OpenParen() antlr.TerminalNode
func (*IfStatementContext) Statement ¶
func (s *IfStatementContext) Statement(i int) IStatementContext
func (*IfStatementContext) ToStringTree ¶
func (s *IfStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportDefaultContext ¶
type ImportDefaultContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportDefaultContext ¶
func NewEmptyImportDefaultContext() *ImportDefaultContext
func NewImportDefaultContext ¶
func NewImportDefaultContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportDefaultContext
func (*ImportDefaultContext) Accept ¶
func (s *ImportDefaultContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportDefaultContext) AliasName ¶
func (s *ImportDefaultContext) AliasName() IAliasNameContext
func (*ImportDefaultContext) Comma ¶
func (s *ImportDefaultContext) Comma() antlr.TerminalNode
func (*ImportDefaultContext) GetParser ¶
func (s *ImportDefaultContext) GetParser() antlr.Parser
func (*ImportDefaultContext) GetRuleContext ¶
func (s *ImportDefaultContext) GetRuleContext() antlr.RuleContext
func (*ImportDefaultContext) IsImportDefaultContext ¶
func (*ImportDefaultContext) IsImportDefaultContext()
func (*ImportDefaultContext) ToStringTree ¶
func (s *ImportDefaultContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportExpressionContext ¶
type ImportExpressionContext struct {
*SingleExpressionContext
}
func NewImportExpressionContext ¶
func NewImportExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ImportExpressionContext
func (*ImportExpressionContext) Accept ¶
func (s *ImportExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportExpressionContext) CloseParen ¶
func (s *ImportExpressionContext) CloseParen() antlr.TerminalNode
func (*ImportExpressionContext) GetRuleContext ¶
func (s *ImportExpressionContext) GetRuleContext() antlr.RuleContext
func (*ImportExpressionContext) Import ¶
func (s *ImportExpressionContext) Import() antlr.TerminalNode
func (*ImportExpressionContext) OpenParen ¶
func (s *ImportExpressionContext) OpenParen() antlr.TerminalNode
func (*ImportExpressionContext) SingleExpression ¶
func (s *ImportExpressionContext) SingleExpression() ISingleExpressionContext
type ImportFromBlockContext ¶
type ImportFromBlockContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportFromBlockContext ¶
func NewEmptyImportFromBlockContext() *ImportFromBlockContext
func NewImportFromBlockContext ¶
func NewImportFromBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportFromBlockContext
func (*ImportFromBlockContext) Accept ¶
func (s *ImportFromBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportFromBlockContext) Eos ¶
func (s *ImportFromBlockContext) Eos() IEosContext
func (*ImportFromBlockContext) GetParser ¶
func (s *ImportFromBlockContext) GetParser() antlr.Parser
func (*ImportFromBlockContext) GetRuleContext ¶
func (s *ImportFromBlockContext) GetRuleContext() antlr.RuleContext
func (*ImportFromBlockContext) ImportDefault ¶
func (s *ImportFromBlockContext) ImportDefault() IImportDefaultContext
func (*ImportFromBlockContext) ImportFrom ¶
func (s *ImportFromBlockContext) ImportFrom() IImportFromContext
func (*ImportFromBlockContext) ImportNamespace ¶
func (s *ImportFromBlockContext) ImportNamespace() IImportNamespaceContext
func (*ImportFromBlockContext) IsImportFromBlockContext ¶
func (*ImportFromBlockContext) IsImportFromBlockContext()
func (*ImportFromBlockContext) ModuleItems ¶
func (s *ImportFromBlockContext) ModuleItems() IModuleItemsContext
func (*ImportFromBlockContext) StringLiteral ¶
func (s *ImportFromBlockContext) StringLiteral() antlr.TerminalNode
func (*ImportFromBlockContext) ToStringTree ¶
func (s *ImportFromBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportFromContext ¶
type ImportFromContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportFromContext ¶
func NewEmptyImportFromContext() *ImportFromContext
func NewImportFromContext ¶
func NewImportFromContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportFromContext
func (*ImportFromContext) Accept ¶
func (s *ImportFromContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportFromContext) From ¶
func (s *ImportFromContext) From() antlr.TerminalNode
func (*ImportFromContext) GetParser ¶
func (s *ImportFromContext) GetParser() antlr.Parser
func (*ImportFromContext) GetRuleContext ¶
func (s *ImportFromContext) GetRuleContext() antlr.RuleContext
func (*ImportFromContext) IsImportFromContext ¶
func (*ImportFromContext) IsImportFromContext()
func (*ImportFromContext) StringLiteral ¶
func (s *ImportFromContext) StringLiteral() antlr.TerminalNode
func (*ImportFromContext) ToStringTree ¶
func (s *ImportFromContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportNamespaceContext ¶
type ImportNamespaceContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportNamespaceContext ¶
func NewEmptyImportNamespaceContext() *ImportNamespaceContext
func NewImportNamespaceContext ¶
func NewImportNamespaceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportNamespaceContext
func (*ImportNamespaceContext) Accept ¶
func (s *ImportNamespaceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportNamespaceContext) AllIdentifierName ¶
func (s *ImportNamespaceContext) AllIdentifierName() []IIdentifierNameContext
func (*ImportNamespaceContext) As ¶
func (s *ImportNamespaceContext) As() antlr.TerminalNode
func (*ImportNamespaceContext) GetParser ¶
func (s *ImportNamespaceContext) GetParser() antlr.Parser
func (*ImportNamespaceContext) GetRuleContext ¶
func (s *ImportNamespaceContext) GetRuleContext() antlr.RuleContext
func (*ImportNamespaceContext) IdentifierName ¶
func (s *ImportNamespaceContext) IdentifierName(i int) IIdentifierNameContext
func (*ImportNamespaceContext) IsImportNamespaceContext ¶
func (*ImportNamespaceContext) IsImportNamespaceContext()
func (*ImportNamespaceContext) Multiply ¶
func (s *ImportNamespaceContext) Multiply() antlr.TerminalNode
func (*ImportNamespaceContext) ToStringTree ¶
func (s *ImportNamespaceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportStatementContext ¶
type ImportStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportStatementContext ¶
func NewEmptyImportStatementContext() *ImportStatementContext
func NewImportStatementContext ¶
func NewImportStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportStatementContext
func (*ImportStatementContext) Accept ¶
func (s *ImportStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportStatementContext) GetParser ¶
func (s *ImportStatementContext) GetParser() antlr.Parser
func (*ImportStatementContext) GetRuleContext ¶
func (s *ImportStatementContext) GetRuleContext() antlr.RuleContext
func (*ImportStatementContext) Import ¶
func (s *ImportStatementContext) Import() antlr.TerminalNode
func (*ImportStatementContext) ImportFromBlock ¶
func (s *ImportStatementContext) ImportFromBlock() IImportFromBlockContext
func (*ImportStatementContext) IsImportStatementContext ¶
func (*ImportStatementContext) IsImportStatementContext()
func (*ImportStatementContext) ToStringTree ¶
func (s *ImportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InExpressionContext ¶
type InExpressionContext struct {
*SingleExpressionContext
}
func NewInExpressionContext ¶
func NewInExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InExpressionContext
func (*InExpressionContext) Accept ¶
func (s *InExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*InExpressionContext) AllSingleExpression ¶
func (s *InExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*InExpressionContext) GetRuleContext ¶
func (s *InExpressionContext) GetRuleContext() antlr.RuleContext
func (*InExpressionContext) In ¶
func (s *InExpressionContext) In() antlr.TerminalNode
func (*InExpressionContext) SingleExpression ¶
func (s *InExpressionContext) SingleExpression(i int) ISingleExpressionContext
type InstanceofExpressionContext ¶
type InstanceofExpressionContext struct {
*SingleExpressionContext
}
func NewInstanceofExpressionContext ¶
func NewInstanceofExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InstanceofExpressionContext
func (*InstanceofExpressionContext) Accept ¶
func (s *InstanceofExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*InstanceofExpressionContext) AllSingleExpression ¶
func (s *InstanceofExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*InstanceofExpressionContext) GetRuleContext ¶
func (s *InstanceofExpressionContext) GetRuleContext() antlr.RuleContext
func (*InstanceofExpressionContext) Instanceof ¶
func (s *InstanceofExpressionContext) Instanceof() antlr.TerminalNode
func (*InstanceofExpressionContext) SingleExpression ¶
func (s *InstanceofExpressionContext) SingleExpression(i int) ISingleExpressionContext
type IterationStatementContext ¶
type IterationStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIterationStatementContext ¶
func NewEmptyIterationStatementContext() *IterationStatementContext
func NewIterationStatementContext ¶
func NewIterationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IterationStatementContext
func (*IterationStatementContext) CopyFrom ¶
func (s *IterationStatementContext) CopyFrom(ctx *IterationStatementContext)
func (*IterationStatementContext) GetParser ¶
func (s *IterationStatementContext) GetParser() antlr.Parser
func (*IterationStatementContext) GetRuleContext ¶
func (s *IterationStatementContext) GetRuleContext() antlr.RuleContext
func (*IterationStatementContext) IsIterationStatementContext ¶
func (*IterationStatementContext) IsIterationStatementContext()
func (*IterationStatementContext) ToStringTree ¶
func (s *IterationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type JavaScriptLexer ¶
type JavaScriptLexer struct { JavaScriptLexerBase // contains filtered or unexported fields }
func NewJavaScriptLexer ¶
func NewJavaScriptLexer(input antlr.CharStream) *JavaScriptLexer
NewJavaScriptLexer produces a new lexer instance for the optional input antlr.CharStream.
The *JavaScriptLexer 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.
func (*JavaScriptLexer) Action ¶
func (l *JavaScriptLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
func (*JavaScriptLexer) CloseBrace_Action ¶
func (l *JavaScriptLexer) CloseBrace_Action(localctx antlr.RuleContext, actionIndex int)
func (*JavaScriptLexer) HashBangLine_Sempred ¶
func (p *JavaScriptLexer) HashBangLine_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Implements_Sempred ¶
func (p *JavaScriptLexer) Implements_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Interface_Sempred ¶
func (p *JavaScriptLexer) Interface_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) NonStrictLet_Sempred ¶
func (p *JavaScriptLexer) NonStrictLet_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) OctalIntegerLiteral_Sempred ¶
func (p *JavaScriptLexer) OctalIntegerLiteral_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) OpenBrace_Action ¶
func (l *JavaScriptLexer) OpenBrace_Action(localctx antlr.RuleContext, actionIndex int)
func (*JavaScriptLexer) Package_Sempred ¶
func (p *JavaScriptLexer) Package_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Private_Sempred ¶
func (p *JavaScriptLexer) Private_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Protected_Sempred ¶
func (p *JavaScriptLexer) Protected_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Public_Sempred ¶
func (p *JavaScriptLexer) Public_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) RegularExpressionLiteral_Sempred ¶
func (p *JavaScriptLexer) RegularExpressionLiteral_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) Sempred ¶
func (l *JavaScriptLexer) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*JavaScriptLexer) Static_Sempred ¶
func (p *JavaScriptLexer) Static_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) StrictLet_Sempred ¶
func (p *JavaScriptLexer) StrictLet_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptLexer) StringLiteral_Action ¶
func (l *JavaScriptLexer) StringLiteral_Action(localctx antlr.RuleContext, actionIndex int)
func (*JavaScriptLexer) Yield_Sempred ¶
func (p *JavaScriptLexer) Yield_Sempred(localctx antlr.RuleContext, predIndex int) bool
type JavaScriptLexerBase ¶
JavaScriptLexerBase state
func (*JavaScriptLexerBase) IsRegexPossible ¶
func (l *JavaScriptLexerBase) IsRegexPossible() bool
IsRegexPossible returns true if the lexer can match a regex literal.
func (*JavaScriptLexerBase) IsStartOfFile ¶
func (l *JavaScriptLexerBase) IsStartOfFile() bool
func (*JavaScriptLexerBase) IsStrictMode ¶
func (l *JavaScriptLexerBase) IsStrictMode() bool
IsStrictMode is self explanatory.
func (*JavaScriptLexerBase) NextToken ¶
func (l *JavaScriptLexerBase) NextToken() antlr.Token
NextToken from the character stream.
func (*JavaScriptLexerBase) ProcessCloseBrace ¶
func (l *JavaScriptLexerBase) ProcessCloseBrace()
ProcessCloseBrace is called when a } is encountered during lexing, we pop a scope unless we're inside global scope.
func (*JavaScriptLexerBase) ProcessOpenBrace ¶
func (l *JavaScriptLexerBase) ProcessOpenBrace()
ProcessOpenBrace is called when a { is encountered during lexing, we push a new scope everytime.
func (*JavaScriptLexerBase) ProcessStringLiteral ¶
func (l *JavaScriptLexerBase) ProcessStringLiteral()
ProcessStringLiteral is called when lexing a string literal.
type JavaScriptParser ¶
type JavaScriptParser struct {
JavaScriptParserBase
}
func NewJavaScriptParser ¶
func NewJavaScriptParser(input antlr.TokenStream) *JavaScriptParser
NewJavaScriptParser produces a new parser instance for the optional input antlr.TokenStream.
The *JavaScriptParser 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 (*JavaScriptParser) AliasName ¶
func (p *JavaScriptParser) AliasName() (localctx IAliasNameContext)
func (*JavaScriptParser) AnonymousFunction ¶
func (p *JavaScriptParser) AnonymousFunction() (localctx IAnonymousFunctionContext)
func (*JavaScriptParser) Argument ¶
func (p *JavaScriptParser) Argument() (localctx IArgumentContext)
func (*JavaScriptParser) Arguments ¶
func (p *JavaScriptParser) Arguments() (localctx IArgumentsContext)
func (*JavaScriptParser) ArrayElement ¶
func (p *JavaScriptParser) ArrayElement() (localctx IArrayElementContext)
func (*JavaScriptParser) ArrayLiteral ¶
func (p *JavaScriptParser) ArrayLiteral() (localctx IArrayLiteralContext)
func (*JavaScriptParser) ArrowFunctionBody ¶
func (p *JavaScriptParser) ArrowFunctionBody() (localctx IArrowFunctionBodyContext)
func (*JavaScriptParser) ArrowFunctionParameters ¶
func (p *JavaScriptParser) ArrowFunctionParameters() (localctx IArrowFunctionParametersContext)
func (*JavaScriptParser) Assignable ¶
func (p *JavaScriptParser) Assignable() (localctx IAssignableContext)
func (*JavaScriptParser) AssignmentOperator ¶
func (p *JavaScriptParser) AssignmentOperator() (localctx IAssignmentOperatorContext)
func (*JavaScriptParser) BigintLiteral ¶
func (p *JavaScriptParser) BigintLiteral() (localctx IBigintLiteralContext)
func (*JavaScriptParser) Block ¶
func (p *JavaScriptParser) Block() (localctx IBlockContext)
func (*JavaScriptParser) BreakStatement ¶
func (p *JavaScriptParser) BreakStatement() (localctx IBreakStatementContext)
func (*JavaScriptParser) BreakStatement_Sempred ¶
func (p *JavaScriptParser) BreakStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) CaseBlock ¶
func (p *JavaScriptParser) CaseBlock() (localctx ICaseBlockContext)
func (*JavaScriptParser) CaseClause ¶
func (p *JavaScriptParser) CaseClause() (localctx ICaseClauseContext)
func (*JavaScriptParser) CaseClauses ¶
func (p *JavaScriptParser) CaseClauses() (localctx ICaseClausesContext)
func (*JavaScriptParser) CatchProduction ¶
func (p *JavaScriptParser) CatchProduction() (localctx ICatchProductionContext)
func (*JavaScriptParser) ClassDeclaration ¶
func (p *JavaScriptParser) ClassDeclaration() (localctx IClassDeclarationContext)
func (*JavaScriptParser) ClassElement ¶
func (p *JavaScriptParser) ClassElement() (localctx IClassElementContext)
func (*JavaScriptParser) ClassElement_Sempred ¶
func (p *JavaScriptParser) ClassElement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) ClassTail ¶
func (p *JavaScriptParser) ClassTail() (localctx IClassTailContext)
func (*JavaScriptParser) ContinueStatement ¶
func (p *JavaScriptParser) ContinueStatement() (localctx IContinueStatementContext)
func (*JavaScriptParser) ContinueStatement_Sempred ¶
func (p *JavaScriptParser) ContinueStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) DebuggerStatement ¶
func (p *JavaScriptParser) DebuggerStatement() (localctx IDebuggerStatementContext)
func (*JavaScriptParser) Declaration ¶
func (p *JavaScriptParser) Declaration() (localctx IDeclarationContext)
func (*JavaScriptParser) DefaultClause ¶
func (p *JavaScriptParser) DefaultClause() (localctx IDefaultClauseContext)
func (*JavaScriptParser) ElementList ¶
func (p *JavaScriptParser) ElementList() (localctx IElementListContext)
func (*JavaScriptParser) EmptyStatement_ ¶
func (p *JavaScriptParser) EmptyStatement_() (localctx IEmptyStatement_Context)
func (*JavaScriptParser) Eos ¶
func (p *JavaScriptParser) Eos() (localctx IEosContext)
func (*JavaScriptParser) Eos_Sempred ¶
func (p *JavaScriptParser) Eos_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) ExportFromBlock ¶
func (p *JavaScriptParser) ExportFromBlock() (localctx IExportFromBlockContext)
func (*JavaScriptParser) ExportStatement ¶
func (p *JavaScriptParser) ExportStatement() (localctx IExportStatementContext)
func (*JavaScriptParser) ExpressionSequence ¶
func (p *JavaScriptParser) ExpressionSequence() (localctx IExpressionSequenceContext)
func (*JavaScriptParser) ExpressionStatement ¶
func (p *JavaScriptParser) ExpressionStatement() (localctx IExpressionStatementContext)
func (*JavaScriptParser) ExpressionStatement_Sempred ¶
func (p *JavaScriptParser) ExpressionStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) FinallyProduction ¶
func (p *JavaScriptParser) FinallyProduction() (localctx IFinallyProductionContext)
func (*JavaScriptParser) FormalParameterArg ¶
func (p *JavaScriptParser) FormalParameterArg() (localctx IFormalParameterArgContext)
func (*JavaScriptParser) FormalParameterList ¶
func (p *JavaScriptParser) FormalParameterList() (localctx IFormalParameterListContext)
func (*JavaScriptParser) FunctionBody ¶
func (p *JavaScriptParser) FunctionBody() (localctx IFunctionBodyContext)
func (*JavaScriptParser) FunctionDeclaration ¶
func (p *JavaScriptParser) FunctionDeclaration() (localctx IFunctionDeclarationContext)
func (*JavaScriptParser) Getter ¶
func (p *JavaScriptParser) Getter() (localctx IGetterContext)
func (*JavaScriptParser) Getter_Sempred ¶
func (p *JavaScriptParser) Getter_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) Identifier ¶
func (p *JavaScriptParser) Identifier() (localctx IIdentifierContext)
func (*JavaScriptParser) IdentifierName ¶
func (p *JavaScriptParser) IdentifierName() (localctx IIdentifierNameContext)
func (*JavaScriptParser) IfStatement ¶
func (p *JavaScriptParser) IfStatement() (localctx IIfStatementContext)
func (*JavaScriptParser) ImportDefault ¶
func (p *JavaScriptParser) ImportDefault() (localctx IImportDefaultContext)
func (*JavaScriptParser) ImportFrom ¶
func (p *JavaScriptParser) ImportFrom() (localctx IImportFromContext)
func (*JavaScriptParser) ImportFromBlock ¶
func (p *JavaScriptParser) ImportFromBlock() (localctx IImportFromBlockContext)
func (*JavaScriptParser) ImportNamespace ¶
func (p *JavaScriptParser) ImportNamespace() (localctx IImportNamespaceContext)
func (*JavaScriptParser) ImportStatement ¶
func (p *JavaScriptParser) ImportStatement() (localctx IImportStatementContext)
func (*JavaScriptParser) IterationStatement ¶
func (p *JavaScriptParser) IterationStatement() (localctx IIterationStatementContext)
func (*JavaScriptParser) IterationStatement_Sempred ¶
func (p *JavaScriptParser) IterationStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) Keyword ¶
func (p *JavaScriptParser) Keyword() (localctx IKeywordContext)
func (*JavaScriptParser) LabelledStatement ¶
func (p *JavaScriptParser) LabelledStatement() (localctx ILabelledStatementContext)
func (*JavaScriptParser) LastFormalParameterArg ¶
func (p *JavaScriptParser) LastFormalParameterArg() (localctx ILastFormalParameterArgContext)
func (*JavaScriptParser) Let_ ¶
func (p *JavaScriptParser) Let_() (localctx ILet_Context)
func (*JavaScriptParser) Literal ¶
func (p *JavaScriptParser) Literal() (localctx ILiteralContext)
func (*JavaScriptParser) MethodDefinition ¶
func (p *JavaScriptParser) MethodDefinition() (localctx IMethodDefinitionContext)
func (*JavaScriptParser) ModuleItems ¶
func (p *JavaScriptParser) ModuleItems() (localctx IModuleItemsContext)
func (*JavaScriptParser) NumericLiteral ¶
func (p *JavaScriptParser) NumericLiteral() (localctx INumericLiteralContext)
func (*JavaScriptParser) ObjectLiteral ¶
func (p *JavaScriptParser) ObjectLiteral() (localctx IObjectLiteralContext)
func (*JavaScriptParser) Program ¶
func (p *JavaScriptParser) Program() (localctx IProgramContext)
func (*JavaScriptParser) PropertyAssignment ¶
func (p *JavaScriptParser) PropertyAssignment() (localctx IPropertyAssignmentContext)
func (*JavaScriptParser) PropertyName ¶
func (p *JavaScriptParser) PropertyName() (localctx IPropertyNameContext)
func (*JavaScriptParser) ReservedWord ¶
func (p *JavaScriptParser) ReservedWord() (localctx IReservedWordContext)
func (*JavaScriptParser) ReturnStatement ¶
func (p *JavaScriptParser) ReturnStatement() (localctx IReturnStatementContext)
func (*JavaScriptParser) ReturnStatement_Sempred ¶
func (p *JavaScriptParser) ReturnStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) Sempred ¶
func (p *JavaScriptParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*JavaScriptParser) Setter ¶
func (p *JavaScriptParser) Setter() (localctx ISetterContext)
func (*JavaScriptParser) Setter_Sempred ¶
func (p *JavaScriptParser) Setter_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) SingleExpression ¶
func (p *JavaScriptParser) SingleExpression() (localctx ISingleExpressionContext)
func (*JavaScriptParser) SingleExpression_Sempred ¶
func (p *JavaScriptParser) SingleExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) SourceElement ¶
func (p *JavaScriptParser) SourceElement() (localctx ISourceElementContext)
func (*JavaScriptParser) SourceElements ¶
func (p *JavaScriptParser) SourceElements() (localctx ISourceElementsContext)
func (*JavaScriptParser) Statement ¶
func (p *JavaScriptParser) Statement() (localctx IStatementContext)
func (*JavaScriptParser) StatementList ¶
func (p *JavaScriptParser) StatementList() (localctx IStatementListContext)
func (*JavaScriptParser) SwitchStatement ¶
func (p *JavaScriptParser) SwitchStatement() (localctx ISwitchStatementContext)
func (*JavaScriptParser) ThrowStatement ¶
func (p *JavaScriptParser) ThrowStatement() (localctx IThrowStatementContext)
func (*JavaScriptParser) ThrowStatement_Sempred ¶
func (p *JavaScriptParser) ThrowStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JavaScriptParser) TryStatement ¶
func (p *JavaScriptParser) TryStatement() (localctx ITryStatementContext)
func (*JavaScriptParser) VarModifier ¶
func (p *JavaScriptParser) VarModifier() (localctx IVarModifierContext)
func (*JavaScriptParser) VariableDeclaration ¶
func (p *JavaScriptParser) VariableDeclaration() (localctx IVariableDeclarationContext)
func (*JavaScriptParser) VariableDeclarationList ¶
func (p *JavaScriptParser) VariableDeclarationList() (localctx IVariableDeclarationListContext)
func (*JavaScriptParser) VariableStatement ¶
func (p *JavaScriptParser) VariableStatement() (localctx IVariableStatementContext)
func (*JavaScriptParser) WithStatement ¶
func (p *JavaScriptParser) WithStatement() (localctx IWithStatementContext)
func (*JavaScriptParser) YieldStatement ¶
func (p *JavaScriptParser) YieldStatement() (localctx IYieldStatementContext)
func (*JavaScriptParser) YieldStatement_Sempred ¶
func (p *JavaScriptParser) YieldStatement_Sempred(localctx antlr.RuleContext, predIndex int) bool
type JavaScriptParserBase ¶
type JavaScriptParserBase struct {
*antlr.BaseParser
}
JavaScriptParserBase implementation.
type JavaScriptParserVisitor ¶
type JavaScriptParserVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by JavaScriptParser#program. VisitProgram(ctx *ProgramContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#sourceElement. VisitSourceElement(ctx *SourceElementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#statement. VisitStatement(ctx *StatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#block. VisitBlock(ctx *BlockContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#statementList. VisitStatementList(ctx *StatementListContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#importStatement. VisitImportStatement(ctx *ImportStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#importFromBlock. VisitImportFromBlock(ctx *ImportFromBlockContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#moduleItems. VisitModuleItems(ctx *ModuleItemsContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#importDefault. VisitImportDefault(ctx *ImportDefaultContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#importNamespace. VisitImportNamespace(ctx *ImportNamespaceContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#importFrom. VisitImportFrom(ctx *ImportFromContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#aliasName. VisitAliasName(ctx *AliasNameContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ExportDeclaration. VisitExportDeclaration(ctx *ExportDeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ExportDefaultDeclaration. VisitExportDefaultDeclaration(ctx *ExportDefaultDeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#exportFromBlock. VisitExportFromBlock(ctx *ExportFromBlockContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#declaration. VisitDeclaration(ctx *DeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#variableStatement. VisitVariableStatement(ctx *VariableStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#variableDeclarationList. VisitVariableDeclarationList(ctx *VariableDeclarationListContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#variableDeclaration. VisitVariableDeclaration(ctx *VariableDeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#emptyStatement_. VisitEmptyStatement_(ctx *EmptyStatement_Context) VisitorResult // Visit a parse tree produced by JavaScriptParser#expressionStatement. VisitExpressionStatement(ctx *ExpressionStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ifStatement. VisitIfStatement(ctx *IfStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#DoStatement. VisitDoStatement(ctx *DoStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#WhileStatement. VisitWhileStatement(ctx *WhileStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ForStatement. VisitForStatement(ctx *ForStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ForInStatement. VisitForInStatement(ctx *ForInStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ForOfStatement. VisitForOfStatement(ctx *ForOfStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#varModifier. VisitVarModifier(ctx *VarModifierContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#continueStatement. VisitContinueStatement(ctx *ContinueStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#breakStatement. VisitBreakStatement(ctx *BreakStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#returnStatement. VisitReturnStatement(ctx *ReturnStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#yieldStatement. VisitYieldStatement(ctx *YieldStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#withStatement. VisitWithStatement(ctx *WithStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#switchStatement. VisitSwitchStatement(ctx *SwitchStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#caseBlock. VisitCaseBlock(ctx *CaseBlockContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#caseClauses. VisitCaseClauses(ctx *CaseClausesContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#caseClause. VisitCaseClause(ctx *CaseClauseContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#defaultClause. VisitDefaultClause(ctx *DefaultClauseContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#labelledStatement. VisitLabelledStatement(ctx *LabelledStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#throwStatement. VisitThrowStatement(ctx *ThrowStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#tryStatement. VisitTryStatement(ctx *TryStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#catchProduction. VisitCatchProduction(ctx *CatchProductionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#finallyProduction. VisitFinallyProduction(ctx *FinallyProductionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#debuggerStatement. VisitDebuggerStatement(ctx *DebuggerStatementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#functionDeclaration. VisitFunctionDeclaration(ctx *FunctionDeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#classDeclaration. VisitClassDeclaration(ctx *ClassDeclarationContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#classTail. VisitClassTail(ctx *ClassTailContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#classElement. VisitClassElement(ctx *ClassElementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#methodDefinition. VisitMethodDefinition(ctx *MethodDefinitionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#formalParameterList. VisitFormalParameterList(ctx *FormalParameterListContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#formalParameterArg. VisitFormalParameterArg(ctx *FormalParameterArgContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#lastFormalParameterArg. VisitLastFormalParameterArg(ctx *LastFormalParameterArgContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#functionBody. VisitFunctionBody(ctx *FunctionBodyContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#sourceElements. VisitSourceElements(ctx *SourceElementsContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#arrayLiteral. VisitArrayLiteral(ctx *ArrayLiteralContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#elementList. VisitElementList(ctx *ElementListContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#arrayElement. VisitArrayElement(ctx *ArrayElementContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PropertyExpressionAssignment. VisitPropertyExpressionAssignment(ctx *PropertyExpressionAssignmentContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ComputedPropertyExpressionAssignment. VisitComputedPropertyExpressionAssignment(ctx *ComputedPropertyExpressionAssignmentContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#FunctionProperty. VisitFunctionProperty(ctx *FunctionPropertyContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PropertyGetter. VisitPropertyGetter(ctx *PropertyGetterContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PropertySetter. VisitPropertySetter(ctx *PropertySetterContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PropertyShorthand. VisitPropertyShorthand(ctx *PropertyShorthandContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#propertyName. VisitPropertyName(ctx *PropertyNameContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#arguments. VisitArguments(ctx *ArgumentsContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#argument. VisitArgument(ctx *ArgumentContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#expressionSequence. VisitExpressionSequence(ctx *ExpressionSequenceContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#TemplateStringExpression. VisitTemplateStringExpression(ctx *TemplateStringExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#TernaryExpression. VisitTernaryExpression(ctx *TernaryExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#LogicalAndExpression. VisitLogicalAndExpression(ctx *LogicalAndExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PowerExpression. VisitPowerExpression(ctx *PowerExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PreIncrementExpression. VisitPreIncrementExpression(ctx *PreIncrementExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ObjectLiteralExpression. VisitObjectLiteralExpression(ctx *ObjectLiteralExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#MetaExpression. VisitMetaExpression(ctx *MetaExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#InExpression. VisitInExpression(ctx *InExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#LogicalOrExpression. VisitLogicalOrExpression(ctx *LogicalOrExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#NotExpression. VisitNotExpression(ctx *NotExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PreDecreaseExpression. VisitPreDecreaseExpression(ctx *PreDecreaseExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ArgumentsExpression. VisitArgumentsExpression(ctx *ArgumentsExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#AwaitExpression. VisitAwaitExpression(ctx *AwaitExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ThisExpression. VisitThisExpression(ctx *ThisExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#FunctionExpression. VisitFunctionExpression(ctx *FunctionExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#UnaryMinusExpression. VisitUnaryMinusExpression(ctx *UnaryMinusExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#AssignmentExpression. VisitAssignmentExpression(ctx *AssignmentExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PostDecreaseExpression. VisitPostDecreaseExpression(ctx *PostDecreaseExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#TypeofExpression. VisitTypeofExpression(ctx *TypeofExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#InstanceofExpression. VisitInstanceofExpression(ctx *InstanceofExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#UnaryPlusExpression. VisitUnaryPlusExpression(ctx *UnaryPlusExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#DeleteExpression. VisitDeleteExpression(ctx *DeleteExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ImportExpression. VisitImportExpression(ctx *ImportExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#EqualityExpression. VisitEqualityExpression(ctx *EqualityExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#BitXOrExpression. VisitBitXOrExpression(ctx *BitXOrExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#SuperExpression. VisitSuperExpression(ctx *SuperExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#MultiplicativeExpression. VisitMultiplicativeExpression(ctx *MultiplicativeExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#BitShiftExpression. VisitBitShiftExpression(ctx *BitShiftExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ParenthesizedExpression. VisitParenthesizedExpression(ctx *ParenthesizedExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#AdditiveExpression. VisitAdditiveExpression(ctx *AdditiveExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#RelationalExpression. VisitRelationalExpression(ctx *RelationalExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#PostIncrementExpression. VisitPostIncrementExpression(ctx *PostIncrementExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#YieldExpression. VisitYieldExpression(ctx *YieldExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#BitNotExpression. VisitBitNotExpression(ctx *BitNotExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#NewExpression. VisitNewExpression(ctx *NewExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#LiteralExpression. VisitLiteralExpression(ctx *LiteralExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ArrayLiteralExpression. VisitArrayLiteralExpression(ctx *ArrayLiteralExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#MemberDotExpression. VisitMemberDotExpression(ctx *MemberDotExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ClassExpression. VisitClassExpression(ctx *ClassExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#MemberIndexExpression. VisitMemberIndexExpression(ctx *MemberIndexExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#IdentifierExpression. VisitIdentifierExpression(ctx *IdentifierExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#BitAndExpression. VisitBitAndExpression(ctx *BitAndExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#BitOrExpression. VisitBitOrExpression(ctx *BitOrExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#AssignmentOperatorExpression. VisitAssignmentOperatorExpression(ctx *AssignmentOperatorExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#VoidExpression. VisitVoidExpression(ctx *VoidExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#CoalesceExpression. VisitCoalesceExpression(ctx *CoalesceExpressionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#assignable. VisitAssignable(ctx *AssignableContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#objectLiteral. VisitObjectLiteral(ctx *ObjectLiteralContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#FunctionDecl. VisitFunctionDecl(ctx *FunctionDeclContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#AnonymousFunctionDecl. VisitAnonymousFunctionDecl(ctx *AnonymousFunctionDeclContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#ArrowFunction. VisitArrowFunction(ctx *ArrowFunctionContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#arrowFunctionParameters. VisitArrowFunctionParameters(ctx *ArrowFunctionParametersContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#arrowFunctionBody. VisitArrowFunctionBody(ctx *ArrowFunctionBodyContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#assignmentOperator. VisitAssignmentOperator(ctx *AssignmentOperatorContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#literal. VisitLiteral(ctx *LiteralContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#numericLiteral. VisitNumericLiteral(ctx *NumericLiteralContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#bigintLiteral. VisitBigintLiteral(ctx *BigintLiteralContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#getter. VisitGetter(ctx *GetterContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#setter. VisitSetter(ctx *SetterContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#identifierName. VisitIdentifierName(ctx *IdentifierNameContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#identifier. VisitIdentifier(ctx *IdentifierContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#reservedWord. VisitReservedWord(ctx *ReservedWordContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#keyword. VisitKeyword(ctx *KeywordContext) VisitorResult // Visit a parse tree produced by JavaScriptParser#let_. VisitLet_(ctx *Let_Context) VisitorResult // Visit a parse tree produced by JavaScriptParser#eos. VisitEos(ctx *EosContext) VisitorResult }
A complete Visitor for a parse tree produced by JavaScriptParser.
type KeywordContext ¶
type KeywordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKeywordContext ¶
func NewEmptyKeywordContext() *KeywordContext
func NewKeywordContext ¶
func NewKeywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeywordContext
func (*KeywordContext) Accept ¶
func (s *KeywordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*KeywordContext) As ¶
func (s *KeywordContext) As() antlr.TerminalNode
func (*KeywordContext) Async ¶
func (s *KeywordContext) Async() antlr.TerminalNode
func (*KeywordContext) Await ¶
func (s *KeywordContext) Await() antlr.TerminalNode
func (*KeywordContext) Break ¶
func (s *KeywordContext) Break() antlr.TerminalNode
func (*KeywordContext) Case ¶
func (s *KeywordContext) Case() antlr.TerminalNode
func (*KeywordContext) Catch ¶
func (s *KeywordContext) Catch() antlr.TerminalNode
func (*KeywordContext) Class ¶
func (s *KeywordContext) Class() antlr.TerminalNode
func (*KeywordContext) Const ¶
func (s *KeywordContext) Const() antlr.TerminalNode
func (*KeywordContext) Continue ¶
func (s *KeywordContext) Continue() antlr.TerminalNode
func (*KeywordContext) Debugger ¶
func (s *KeywordContext) Debugger() antlr.TerminalNode
func (*KeywordContext) Default ¶
func (s *KeywordContext) Default() antlr.TerminalNode
func (*KeywordContext) Delete ¶
func (s *KeywordContext) Delete() antlr.TerminalNode
func (*KeywordContext) Do ¶
func (s *KeywordContext) Do() antlr.TerminalNode
func (*KeywordContext) Else ¶
func (s *KeywordContext) Else() antlr.TerminalNode
func (*KeywordContext) Enum ¶
func (s *KeywordContext) Enum() antlr.TerminalNode
func (*KeywordContext) Export ¶
func (s *KeywordContext) Export() antlr.TerminalNode
func (*KeywordContext) Extends ¶
func (s *KeywordContext) Extends() antlr.TerminalNode
func (*KeywordContext) Finally ¶
func (s *KeywordContext) Finally() antlr.TerminalNode
func (*KeywordContext) For ¶
func (s *KeywordContext) For() antlr.TerminalNode
func (*KeywordContext) From ¶
func (s *KeywordContext) From() antlr.TerminalNode
func (*KeywordContext) Function_ ¶
func (s *KeywordContext) Function_() antlr.TerminalNode
func (*KeywordContext) GetParser ¶
func (s *KeywordContext) GetParser() antlr.Parser
func (*KeywordContext) GetRuleContext ¶
func (s *KeywordContext) GetRuleContext() antlr.RuleContext
func (*KeywordContext) If ¶
func (s *KeywordContext) If() antlr.TerminalNode
func (*KeywordContext) Implements ¶
func (s *KeywordContext) Implements() antlr.TerminalNode
func (*KeywordContext) Import ¶
func (s *KeywordContext) Import() antlr.TerminalNode
func (*KeywordContext) In ¶
func (s *KeywordContext) In() antlr.TerminalNode
func (*KeywordContext) Instanceof ¶
func (s *KeywordContext) Instanceof() antlr.TerminalNode
func (*KeywordContext) Interface ¶
func (s *KeywordContext) Interface() antlr.TerminalNode
func (*KeywordContext) IsKeywordContext ¶
func (*KeywordContext) IsKeywordContext()
func (*KeywordContext) Let_ ¶
func (s *KeywordContext) Let_() ILet_Context
func (*KeywordContext) New ¶
func (s *KeywordContext) New() antlr.TerminalNode
func (*KeywordContext) Package ¶
func (s *KeywordContext) Package() antlr.TerminalNode
func (*KeywordContext) Private ¶
func (s *KeywordContext) Private() antlr.TerminalNode
func (*KeywordContext) Protected ¶
func (s *KeywordContext) Protected() antlr.TerminalNode
func (*KeywordContext) Public ¶
func (s *KeywordContext) Public() antlr.TerminalNode
func (*KeywordContext) Return ¶
func (s *KeywordContext) Return() antlr.TerminalNode
func (*KeywordContext) Static ¶
func (s *KeywordContext) Static() antlr.TerminalNode
func (*KeywordContext) Super ¶
func (s *KeywordContext) Super() antlr.TerminalNode
func (*KeywordContext) Switch ¶
func (s *KeywordContext) Switch() antlr.TerminalNode
func (*KeywordContext) This ¶
func (s *KeywordContext) This() antlr.TerminalNode
func (*KeywordContext) Throw ¶
func (s *KeywordContext) Throw() antlr.TerminalNode
func (*KeywordContext) ToStringTree ¶
func (s *KeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*KeywordContext) Try ¶
func (s *KeywordContext) Try() antlr.TerminalNode
func (*KeywordContext) Typeof ¶
func (s *KeywordContext) Typeof() antlr.TerminalNode
func (*KeywordContext) Var ¶
func (s *KeywordContext) Var() antlr.TerminalNode
func (*KeywordContext) Void ¶
func (s *KeywordContext) Void() antlr.TerminalNode
func (*KeywordContext) While ¶
func (s *KeywordContext) While() antlr.TerminalNode
func (*KeywordContext) With ¶
func (s *KeywordContext) With() antlr.TerminalNode
func (*KeywordContext) Yield ¶
func (s *KeywordContext) Yield() antlr.TerminalNode
type LabelledStatementContext ¶
type LabelledStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLabelledStatementContext ¶
func NewEmptyLabelledStatementContext() *LabelledStatementContext
func NewLabelledStatementContext ¶
func NewLabelledStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelledStatementContext
func (*LabelledStatementContext) Accept ¶
func (s *LabelledStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LabelledStatementContext) Colon ¶
func (s *LabelledStatementContext) Colon() antlr.TerminalNode
func (*LabelledStatementContext) GetParser ¶
func (s *LabelledStatementContext) GetParser() antlr.Parser
func (*LabelledStatementContext) GetRuleContext ¶
func (s *LabelledStatementContext) GetRuleContext() antlr.RuleContext
func (*LabelledStatementContext) Identifier ¶
func (s *LabelledStatementContext) Identifier() IIdentifierContext
func (*LabelledStatementContext) IsLabelledStatementContext ¶
func (*LabelledStatementContext) IsLabelledStatementContext()
func (*LabelledStatementContext) Statement ¶
func (s *LabelledStatementContext) Statement() IStatementContext
func (*LabelledStatementContext) ToStringTree ¶
func (s *LabelledStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LastFormalParameterArgContext ¶
type LastFormalParameterArgContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLastFormalParameterArgContext ¶
func NewEmptyLastFormalParameterArgContext() *LastFormalParameterArgContext
func NewLastFormalParameterArgContext ¶
func NewLastFormalParameterArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LastFormalParameterArgContext
func (*LastFormalParameterArgContext) Accept ¶
func (s *LastFormalParameterArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LastFormalParameterArgContext) Ellipsis ¶
func (s *LastFormalParameterArgContext) Ellipsis() antlr.TerminalNode
func (*LastFormalParameterArgContext) GetParser ¶
func (s *LastFormalParameterArgContext) GetParser() antlr.Parser
func (*LastFormalParameterArgContext) GetRuleContext ¶
func (s *LastFormalParameterArgContext) GetRuleContext() antlr.RuleContext
func (*LastFormalParameterArgContext) IsLastFormalParameterArgContext ¶
func (*LastFormalParameterArgContext) IsLastFormalParameterArgContext()
func (*LastFormalParameterArgContext) SingleExpression ¶
func (s *LastFormalParameterArgContext) SingleExpression() ISingleExpressionContext
func (*LastFormalParameterArgContext) ToStringTree ¶
func (s *LastFormalParameterArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Let_Context ¶
type Let_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLet_Context ¶
func NewEmptyLet_Context() *Let_Context
func NewLet_Context ¶
func NewLet_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Let_Context
func (*Let_Context) Accept ¶
func (s *Let_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Let_Context) GetParser ¶
func (s *Let_Context) GetParser() antlr.Parser
func (*Let_Context) GetRuleContext ¶
func (s *Let_Context) GetRuleContext() antlr.RuleContext
func (*Let_Context) IsLet_Context ¶
func (*Let_Context) IsLet_Context()
func (*Let_Context) NonStrictLet ¶
func (s *Let_Context) NonStrictLet() antlr.TerminalNode
func (*Let_Context) StrictLet ¶
func (s *Let_Context) StrictLet() antlr.TerminalNode
func (*Let_Context) ToStringTree ¶
func (s *Let_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LiteralContext ¶
type LiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLiteralContext ¶
func NewEmptyLiteralContext() *LiteralContext
func NewLiteralContext ¶
func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext
func (*LiteralContext) Accept ¶
func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralContext) BigintLiteral ¶
func (s *LiteralContext) BigintLiteral() IBigintLiteralContext
func (*LiteralContext) BooleanLiteral ¶
func (s *LiteralContext) BooleanLiteral() 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) NullLiteral ¶
func (s *LiteralContext) NullLiteral() antlr.TerminalNode
func (*LiteralContext) NumericLiteral ¶
func (s *LiteralContext) NumericLiteral() INumericLiteralContext
func (*LiteralContext) RegularExpressionLiteral ¶
func (s *LiteralContext) RegularExpressionLiteral() antlr.TerminalNode
func (*LiteralContext) StringLiteral ¶
func (s *LiteralContext) StringLiteral() antlr.TerminalNode
func (*LiteralContext) TemplateStringLiteral ¶
func (s *LiteralContext) TemplateStringLiteral() antlr.TerminalNode
func (*LiteralContext) ToStringTree ¶
func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LiteralExpressionContext ¶
type LiteralExpressionContext struct {
*SingleExpressionContext
}
func NewLiteralExpressionContext ¶
func NewLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralExpressionContext
func (*LiteralExpressionContext) Accept ¶
func (s *LiteralExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralExpressionContext) GetRuleContext ¶
func (s *LiteralExpressionContext) GetRuleContext() antlr.RuleContext
func (*LiteralExpressionContext) Literal ¶
func (s *LiteralExpressionContext) Literal() ILiteralContext
type LogicalAndExpressionContext ¶
type LogicalAndExpressionContext struct {
*SingleExpressionContext
}
func NewLogicalAndExpressionContext ¶
func NewLogicalAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalAndExpressionContext
func (*LogicalAndExpressionContext) Accept ¶
func (s *LogicalAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LogicalAndExpressionContext) AllSingleExpression ¶
func (s *LogicalAndExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*LogicalAndExpressionContext) And ¶
func (s *LogicalAndExpressionContext) And() antlr.TerminalNode
func (*LogicalAndExpressionContext) GetRuleContext ¶
func (s *LogicalAndExpressionContext) GetRuleContext() antlr.RuleContext
func (*LogicalAndExpressionContext) SingleExpression ¶
func (s *LogicalAndExpressionContext) SingleExpression(i int) ISingleExpressionContext
type LogicalOrExpressionContext ¶
type LogicalOrExpressionContext struct {
*SingleExpressionContext
}
func NewLogicalOrExpressionContext ¶
func NewLogicalOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalOrExpressionContext
func (*LogicalOrExpressionContext) Accept ¶
func (s *LogicalOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LogicalOrExpressionContext) AllSingleExpression ¶
func (s *LogicalOrExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*LogicalOrExpressionContext) GetRuleContext ¶
func (s *LogicalOrExpressionContext) GetRuleContext() antlr.RuleContext
func (*LogicalOrExpressionContext) Or ¶
func (s *LogicalOrExpressionContext) Or() antlr.TerminalNode
func (*LogicalOrExpressionContext) SingleExpression ¶
func (s *LogicalOrExpressionContext) SingleExpression(i int) ISingleExpressionContext
type MemberDotExpressionContext ¶
type MemberDotExpressionContext struct {
*SingleExpressionContext
}
func NewMemberDotExpressionContext ¶
func NewMemberDotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberDotExpressionContext
func (*MemberDotExpressionContext) Accept ¶
func (s *MemberDotExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MemberDotExpressionContext) Dot ¶
func (s *MemberDotExpressionContext) Dot() antlr.TerminalNode
func (*MemberDotExpressionContext) GetRuleContext ¶
func (s *MemberDotExpressionContext) GetRuleContext() antlr.RuleContext
func (*MemberDotExpressionContext) Hashtag ¶
func (s *MemberDotExpressionContext) Hashtag() antlr.TerminalNode
func (*MemberDotExpressionContext) IdentifierName ¶
func (s *MemberDotExpressionContext) IdentifierName() IIdentifierNameContext
func (*MemberDotExpressionContext) QuestionMark ¶
func (s *MemberDotExpressionContext) QuestionMark() antlr.TerminalNode
func (*MemberDotExpressionContext) SingleExpression ¶
func (s *MemberDotExpressionContext) SingleExpression() ISingleExpressionContext
type MemberIndexExpressionContext ¶
type MemberIndexExpressionContext struct {
*SingleExpressionContext
}
func NewMemberIndexExpressionContext ¶
func NewMemberIndexExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberIndexExpressionContext
func (*MemberIndexExpressionContext) Accept ¶
func (s *MemberIndexExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MemberIndexExpressionContext) CloseBracket ¶
func (s *MemberIndexExpressionContext) CloseBracket() antlr.TerminalNode
func (*MemberIndexExpressionContext) ExpressionSequence ¶
func (s *MemberIndexExpressionContext) ExpressionSequence() IExpressionSequenceContext
func (*MemberIndexExpressionContext) GetRuleContext ¶
func (s *MemberIndexExpressionContext) GetRuleContext() antlr.RuleContext
func (*MemberIndexExpressionContext) OpenBracket ¶
func (s *MemberIndexExpressionContext) OpenBracket() antlr.TerminalNode
func (*MemberIndexExpressionContext) SingleExpression ¶
func (s *MemberIndexExpressionContext) SingleExpression() ISingleExpressionContext
type MememberAccessVisitorResult ¶
func (MememberAccessVisitorResult) String ¶
func (r MememberAccessVisitorResult) String() string
type MetaExpressionContext ¶
type MetaExpressionContext struct {
*SingleExpressionContext
}
func NewMetaExpressionContext ¶
func NewMetaExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MetaExpressionContext
func (*MetaExpressionContext) Accept ¶
func (s *MetaExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MetaExpressionContext) Dot ¶
func (s *MetaExpressionContext) Dot() antlr.TerminalNode
func (*MetaExpressionContext) GetRuleContext ¶
func (s *MetaExpressionContext) GetRuleContext() antlr.RuleContext
func (*MetaExpressionContext) Identifier ¶
func (s *MetaExpressionContext) Identifier() IIdentifierContext
func (*MetaExpressionContext) New ¶
func (s *MetaExpressionContext) New() antlr.TerminalNode
type MethodDefinitionContext ¶
type MethodDefinitionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMethodDefinitionContext ¶
func NewEmptyMethodDefinitionContext() *MethodDefinitionContext
func NewMethodDefinitionContext ¶
func NewMethodDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodDefinitionContext
func (*MethodDefinitionContext) Accept ¶
func (s *MethodDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MethodDefinitionContext) CloseParen ¶
func (s *MethodDefinitionContext) CloseParen() antlr.TerminalNode
func (*MethodDefinitionContext) FormalParameterList ¶
func (s *MethodDefinitionContext) FormalParameterList() IFormalParameterListContext
func (*MethodDefinitionContext) FunctionBody ¶
func (s *MethodDefinitionContext) FunctionBody() IFunctionBodyContext
func (*MethodDefinitionContext) GetParser ¶
func (s *MethodDefinitionContext) GetParser() antlr.Parser
func (*MethodDefinitionContext) GetRuleContext ¶
func (s *MethodDefinitionContext) GetRuleContext() antlr.RuleContext
func (*MethodDefinitionContext) Getter ¶
func (s *MethodDefinitionContext) Getter() IGetterContext
func (*MethodDefinitionContext) Hashtag ¶
func (s *MethodDefinitionContext) Hashtag() antlr.TerminalNode
func (*MethodDefinitionContext) IsMethodDefinitionContext ¶
func (*MethodDefinitionContext) IsMethodDefinitionContext()
func (*MethodDefinitionContext) Multiply ¶
func (s *MethodDefinitionContext) Multiply() antlr.TerminalNode
func (*MethodDefinitionContext) OpenParen ¶
func (s *MethodDefinitionContext) OpenParen() antlr.TerminalNode
func (*MethodDefinitionContext) PropertyName ¶
func (s *MethodDefinitionContext) PropertyName() IPropertyNameContext
func (*MethodDefinitionContext) Setter ¶
func (s *MethodDefinitionContext) Setter() ISetterContext
func (*MethodDefinitionContext) ToStringTree ¶
func (s *MethodDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ModuleItemsContext ¶
type ModuleItemsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModuleItemsContext ¶
func NewEmptyModuleItemsContext() *ModuleItemsContext
func NewModuleItemsContext ¶
func NewModuleItemsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleItemsContext
func (*ModuleItemsContext) Accept ¶
func (s *ModuleItemsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ModuleItemsContext) AliasName ¶
func (s *ModuleItemsContext) AliasName(i int) IAliasNameContext
func (*ModuleItemsContext) AllAliasName ¶
func (s *ModuleItemsContext) AllAliasName() []IAliasNameContext
func (*ModuleItemsContext) AllComma ¶
func (s *ModuleItemsContext) AllComma() []antlr.TerminalNode
func (*ModuleItemsContext) CloseBrace ¶
func (s *ModuleItemsContext) CloseBrace() antlr.TerminalNode
func (*ModuleItemsContext) Comma ¶
func (s *ModuleItemsContext) Comma(i int) antlr.TerminalNode
func (*ModuleItemsContext) GetParser ¶
func (s *ModuleItemsContext) GetParser() antlr.Parser
func (*ModuleItemsContext) GetRuleContext ¶
func (s *ModuleItemsContext) GetRuleContext() antlr.RuleContext
func (*ModuleItemsContext) IsModuleItemsContext ¶
func (*ModuleItemsContext) IsModuleItemsContext()
func (*ModuleItemsContext) OpenBrace ¶
func (s *ModuleItemsContext) OpenBrace() antlr.TerminalNode
func (*ModuleItemsContext) ToStringTree ¶
func (s *ModuleItemsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MultiplicativeExpressionContext ¶
type MultiplicativeExpressionContext struct {
*SingleExpressionContext
}
func NewMultiplicativeExpressionContext ¶
func NewMultiplicativeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicativeExpressionContext
func (*MultiplicativeExpressionContext) Accept ¶
func (s *MultiplicativeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MultiplicativeExpressionContext) AllSingleExpression ¶
func (s *MultiplicativeExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*MultiplicativeExpressionContext) Divide ¶
func (s *MultiplicativeExpressionContext) Divide() antlr.TerminalNode
func (*MultiplicativeExpressionContext) GetRuleContext ¶
func (s *MultiplicativeExpressionContext) GetRuleContext() antlr.RuleContext
func (*MultiplicativeExpressionContext) Modulus ¶
func (s *MultiplicativeExpressionContext) Modulus() antlr.TerminalNode
func (*MultiplicativeExpressionContext) Multiply ¶
func (s *MultiplicativeExpressionContext) Multiply() antlr.TerminalNode
func (*MultiplicativeExpressionContext) SingleExpression ¶
func (s *MultiplicativeExpressionContext) SingleExpression(i int) ISingleExpressionContext
type NewExpressionContext ¶
type NewExpressionContext struct {
*SingleExpressionContext
}
func NewNewExpressionContext ¶
func NewNewExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NewExpressionContext
func (*NewExpressionContext) Accept ¶
func (s *NewExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NewExpressionContext) Arguments ¶
func (s *NewExpressionContext) Arguments() IArgumentsContext
func (*NewExpressionContext) GetRuleContext ¶
func (s *NewExpressionContext) GetRuleContext() antlr.RuleContext
func (*NewExpressionContext) New ¶
func (s *NewExpressionContext) New() antlr.TerminalNode
func (*NewExpressionContext) SingleExpression ¶
func (s *NewExpressionContext) SingleExpression() ISingleExpressionContext
type NotExpressionContext ¶
type NotExpressionContext struct {
*SingleExpressionContext
}
func NewNotExpressionContext ¶
func NewNotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotExpressionContext
func (*NotExpressionContext) Accept ¶
func (s *NotExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NotExpressionContext) GetRuleContext ¶
func (s *NotExpressionContext) GetRuleContext() antlr.RuleContext
func (*NotExpressionContext) Not ¶
func (s *NotExpressionContext) Not() antlr.TerminalNode
func (*NotExpressionContext) SingleExpression ¶
func (s *NotExpressionContext) SingleExpression() ISingleExpressionContext
type NumericLiteralContext ¶
type NumericLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNumericLiteralContext ¶
func NewEmptyNumericLiteralContext() *NumericLiteralContext
func NewNumericLiteralContext ¶
func NewNumericLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumericLiteralContext
func (*NumericLiteralContext) Accept ¶
func (s *NumericLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumericLiteralContext) BinaryIntegerLiteral ¶
func (s *NumericLiteralContext) BinaryIntegerLiteral() antlr.TerminalNode
func (*NumericLiteralContext) DecimalLiteral ¶
func (s *NumericLiteralContext) DecimalLiteral() antlr.TerminalNode
func (*NumericLiteralContext) GetParser ¶
func (s *NumericLiteralContext) GetParser() antlr.Parser
func (*NumericLiteralContext) GetRuleContext ¶
func (s *NumericLiteralContext) GetRuleContext() antlr.RuleContext
func (*NumericLiteralContext) HexIntegerLiteral ¶
func (s *NumericLiteralContext) HexIntegerLiteral() antlr.TerminalNode
func (*NumericLiteralContext) IsNumericLiteralContext ¶
func (*NumericLiteralContext) IsNumericLiteralContext()
func (*NumericLiteralContext) OctalIntegerLiteral ¶
func (s *NumericLiteralContext) OctalIntegerLiteral() antlr.TerminalNode
func (*NumericLiteralContext) OctalIntegerLiteral2 ¶
func (s *NumericLiteralContext) OctalIntegerLiteral2() antlr.TerminalNode
func (*NumericLiteralContext) ToStringTree ¶
func (s *NumericLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ObjectLiteralContext ¶
type ObjectLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyObjectLiteralContext ¶
func NewEmptyObjectLiteralContext() *ObjectLiteralContext
func NewObjectLiteralContext ¶
func NewObjectLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectLiteralContext
func (*ObjectLiteralContext) Accept ¶
func (s *ObjectLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ObjectLiteralContext) AllComma ¶
func (s *ObjectLiteralContext) AllComma() []antlr.TerminalNode
func (*ObjectLiteralContext) AllPropertyAssignment ¶
func (s *ObjectLiteralContext) AllPropertyAssignment() []IPropertyAssignmentContext
func (*ObjectLiteralContext) CloseBrace ¶
func (s *ObjectLiteralContext) CloseBrace() antlr.TerminalNode
func (*ObjectLiteralContext) Comma ¶
func (s *ObjectLiteralContext) Comma(i int) antlr.TerminalNode
func (*ObjectLiteralContext) GetParser ¶
func (s *ObjectLiteralContext) GetParser() antlr.Parser
func (*ObjectLiteralContext) GetRuleContext ¶
func (s *ObjectLiteralContext) GetRuleContext() antlr.RuleContext
func (*ObjectLiteralContext) IsObjectLiteralContext ¶
func (*ObjectLiteralContext) IsObjectLiteralContext()
func (*ObjectLiteralContext) OpenBrace ¶
func (s *ObjectLiteralContext) OpenBrace() antlr.TerminalNode
func (*ObjectLiteralContext) PropertyAssignment ¶
func (s *ObjectLiteralContext) PropertyAssignment(i int) IPropertyAssignmentContext
func (*ObjectLiteralContext) ToStringTree ¶
func (s *ObjectLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ObjectLiteralExpressionContext ¶
type ObjectLiteralExpressionContext struct {
*SingleExpressionContext
}
func NewObjectLiteralExpressionContext ¶
func NewObjectLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ObjectLiteralExpressionContext
func (*ObjectLiteralExpressionContext) Accept ¶
func (s *ObjectLiteralExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ObjectLiteralExpressionContext) GetRuleContext ¶
func (s *ObjectLiteralExpressionContext) GetRuleContext() antlr.RuleContext
func (*ObjectLiteralExpressionContext) ObjectLiteral ¶
func (s *ObjectLiteralExpressionContext) ObjectLiteral() IObjectLiteralContext
type ParenthesizedExpressionContext ¶
type ParenthesizedExpressionContext struct {
*SingleExpressionContext
}
func NewParenthesizedExpressionContext ¶
func NewParenthesizedExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesizedExpressionContext
func (*ParenthesizedExpressionContext) Accept ¶
func (s *ParenthesizedExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParenthesizedExpressionContext) CloseParen ¶
func (s *ParenthesizedExpressionContext) CloseParen() antlr.TerminalNode
func (*ParenthesizedExpressionContext) ExpressionSequence ¶
func (s *ParenthesizedExpressionContext) ExpressionSequence() IExpressionSequenceContext
func (*ParenthesizedExpressionContext) GetRuleContext ¶
func (s *ParenthesizedExpressionContext) GetRuleContext() antlr.RuleContext
func (*ParenthesizedExpressionContext) OpenParen ¶
func (s *ParenthesizedExpressionContext) OpenParen() antlr.TerminalNode
type PostDecreaseExpressionContext ¶
type PostDecreaseExpressionContext struct {
*SingleExpressionContext
}
func NewPostDecreaseExpressionContext ¶
func NewPostDecreaseExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PostDecreaseExpressionContext
func (*PostDecreaseExpressionContext) Accept ¶
func (s *PostDecreaseExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PostDecreaseExpressionContext) GetRuleContext ¶
func (s *PostDecreaseExpressionContext) GetRuleContext() antlr.RuleContext
func (*PostDecreaseExpressionContext) MinusMinus ¶
func (s *PostDecreaseExpressionContext) MinusMinus() antlr.TerminalNode
func (*PostDecreaseExpressionContext) SingleExpression ¶
func (s *PostDecreaseExpressionContext) SingleExpression() ISingleExpressionContext
type PostIncrementExpressionContext ¶
type PostIncrementExpressionContext struct {
*SingleExpressionContext
}
func NewPostIncrementExpressionContext ¶
func NewPostIncrementExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PostIncrementExpressionContext
func (*PostIncrementExpressionContext) Accept ¶
func (s *PostIncrementExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PostIncrementExpressionContext) GetRuleContext ¶
func (s *PostIncrementExpressionContext) GetRuleContext() antlr.RuleContext
func (*PostIncrementExpressionContext) PlusPlus ¶
func (s *PostIncrementExpressionContext) PlusPlus() antlr.TerminalNode
func (*PostIncrementExpressionContext) SingleExpression ¶
func (s *PostIncrementExpressionContext) SingleExpression() ISingleExpressionContext
type PowerExpressionContext ¶
type PowerExpressionContext struct {
*SingleExpressionContext
}
func NewPowerExpressionContext ¶
func NewPowerExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PowerExpressionContext
func (*PowerExpressionContext) Accept ¶
func (s *PowerExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PowerExpressionContext) AllSingleExpression ¶
func (s *PowerExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*PowerExpressionContext) GetRuleContext ¶
func (s *PowerExpressionContext) GetRuleContext() antlr.RuleContext
func (*PowerExpressionContext) Power ¶
func (s *PowerExpressionContext) Power() antlr.TerminalNode
func (*PowerExpressionContext) SingleExpression ¶
func (s *PowerExpressionContext) SingleExpression(i int) ISingleExpressionContext
type PreDecreaseExpressionContext ¶
type PreDecreaseExpressionContext struct {
*SingleExpressionContext
}
func NewPreDecreaseExpressionContext ¶
func NewPreDecreaseExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PreDecreaseExpressionContext
func (*PreDecreaseExpressionContext) Accept ¶
func (s *PreDecreaseExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PreDecreaseExpressionContext) GetRuleContext ¶
func (s *PreDecreaseExpressionContext) GetRuleContext() antlr.RuleContext
func (*PreDecreaseExpressionContext) MinusMinus ¶
func (s *PreDecreaseExpressionContext) MinusMinus() antlr.TerminalNode
func (*PreDecreaseExpressionContext) SingleExpression ¶
func (s *PreDecreaseExpressionContext) SingleExpression() ISingleExpressionContext
type PreIncrementExpressionContext ¶
type PreIncrementExpressionContext struct {
*SingleExpressionContext
}
func NewPreIncrementExpressionContext ¶
func NewPreIncrementExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PreIncrementExpressionContext
func (*PreIncrementExpressionContext) Accept ¶
func (s *PreIncrementExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PreIncrementExpressionContext) GetRuleContext ¶
func (s *PreIncrementExpressionContext) GetRuleContext() antlr.RuleContext
func (*PreIncrementExpressionContext) PlusPlus ¶
func (s *PreIncrementExpressionContext) PlusPlus() antlr.TerminalNode
func (*PreIncrementExpressionContext) SingleExpression ¶
func (s *PreIncrementExpressionContext) SingleExpression() ISingleExpressionContext
type ProgramContext ¶
type ProgramContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramContext ¶
func NewEmptyProgramContext() *ProgramContext
func NewProgramContext ¶
func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext
func (*ProgramContext) Accept ¶
func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ProgramContext) EOF ¶
func (s *ProgramContext) EOF() antlr.TerminalNode
func (*ProgramContext) GetParser ¶
func (s *ProgramContext) GetParser() antlr.Parser
func (*ProgramContext) GetRuleContext ¶
func (s *ProgramContext) GetRuleContext() antlr.RuleContext
func (*ProgramContext) HashBangLine ¶
func (s *ProgramContext) HashBangLine() antlr.TerminalNode
func (*ProgramContext) IsProgramContext ¶
func (*ProgramContext) IsProgramContext()
func (*ProgramContext) SourceElements ¶
func (s *ProgramContext) SourceElements() ISourceElementsContext
func (*ProgramContext) ToStringTree ¶
func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PropertyAssignmentContext ¶
type PropertyAssignmentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPropertyAssignmentContext ¶
func NewEmptyPropertyAssignmentContext() *PropertyAssignmentContext
func NewPropertyAssignmentContext ¶
func NewPropertyAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyAssignmentContext
func (*PropertyAssignmentContext) CopyFrom ¶
func (s *PropertyAssignmentContext) CopyFrom(ctx *PropertyAssignmentContext)
func (*PropertyAssignmentContext) GetParser ¶
func (s *PropertyAssignmentContext) GetParser() antlr.Parser
func (*PropertyAssignmentContext) GetRuleContext ¶
func (s *PropertyAssignmentContext) GetRuleContext() antlr.RuleContext
func (*PropertyAssignmentContext) IsPropertyAssignmentContext ¶
func (*PropertyAssignmentContext) IsPropertyAssignmentContext()
func (*PropertyAssignmentContext) ToStringTree ¶
func (s *PropertyAssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PropertyExpressionAssignmentContext ¶
type PropertyExpressionAssignmentContext struct {
*PropertyAssignmentContext
}
func NewPropertyExpressionAssignmentContext ¶
func NewPropertyExpressionAssignmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PropertyExpressionAssignmentContext
func (*PropertyExpressionAssignmentContext) Accept ¶
func (s *PropertyExpressionAssignmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertyExpressionAssignmentContext) Colon ¶
func (s *PropertyExpressionAssignmentContext) Colon() antlr.TerminalNode
func (*PropertyExpressionAssignmentContext) GetRuleContext ¶
func (s *PropertyExpressionAssignmentContext) GetRuleContext() antlr.RuleContext
func (*PropertyExpressionAssignmentContext) PropertyName ¶
func (s *PropertyExpressionAssignmentContext) PropertyName() IPropertyNameContext
func (*PropertyExpressionAssignmentContext) SingleExpression ¶
func (s *PropertyExpressionAssignmentContext) SingleExpression() ISingleExpressionContext
type PropertyGetterContext ¶
type PropertyGetterContext struct {
*PropertyAssignmentContext
}
func NewPropertyGetterContext ¶
func NewPropertyGetterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PropertyGetterContext
func (*PropertyGetterContext) Accept ¶
func (s *PropertyGetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertyGetterContext) CloseParen ¶
func (s *PropertyGetterContext) CloseParen() antlr.TerminalNode
func (*PropertyGetterContext) FunctionBody ¶
func (s *PropertyGetterContext) FunctionBody() IFunctionBodyContext
func (*PropertyGetterContext) GetRuleContext ¶
func (s *PropertyGetterContext) GetRuleContext() antlr.RuleContext
func (*PropertyGetterContext) Getter ¶
func (s *PropertyGetterContext) Getter() IGetterContext
func (*PropertyGetterContext) OpenParen ¶
func (s *PropertyGetterContext) OpenParen() antlr.TerminalNode
type PropertyNameContext ¶
type PropertyNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPropertyNameContext ¶
func NewEmptyPropertyNameContext() *PropertyNameContext
func NewPropertyNameContext ¶
func NewPropertyNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyNameContext
func (*PropertyNameContext) Accept ¶
func (s *PropertyNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertyNameContext) CloseBracket ¶
func (s *PropertyNameContext) CloseBracket() antlr.TerminalNode
func (*PropertyNameContext) GetParser ¶
func (s *PropertyNameContext) GetParser() antlr.Parser
func (*PropertyNameContext) GetRuleContext ¶
func (s *PropertyNameContext) GetRuleContext() antlr.RuleContext
func (*PropertyNameContext) IdentifierName ¶
func (s *PropertyNameContext) IdentifierName() IIdentifierNameContext
func (*PropertyNameContext) IsPropertyNameContext ¶
func (*PropertyNameContext) IsPropertyNameContext()
func (*PropertyNameContext) NumericLiteral ¶
func (s *PropertyNameContext) NumericLiteral() INumericLiteralContext
func (*PropertyNameContext) OpenBracket ¶
func (s *PropertyNameContext) OpenBracket() antlr.TerminalNode
func (*PropertyNameContext) SingleExpression ¶
func (s *PropertyNameContext) SingleExpression() ISingleExpressionContext
func (*PropertyNameContext) StringLiteral ¶
func (s *PropertyNameContext) StringLiteral() antlr.TerminalNode
func (*PropertyNameContext) ToStringTree ¶
func (s *PropertyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PropertySetterContext ¶
type PropertySetterContext struct {
*PropertyAssignmentContext
}
func NewPropertySetterContext ¶
func NewPropertySetterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PropertySetterContext
func (*PropertySetterContext) Accept ¶
func (s *PropertySetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertySetterContext) CloseParen ¶
func (s *PropertySetterContext) CloseParen() antlr.TerminalNode
func (*PropertySetterContext) FormalParameterArg ¶
func (s *PropertySetterContext) FormalParameterArg() IFormalParameterArgContext
func (*PropertySetterContext) FunctionBody ¶
func (s *PropertySetterContext) FunctionBody() IFunctionBodyContext
func (*PropertySetterContext) GetRuleContext ¶
func (s *PropertySetterContext) GetRuleContext() antlr.RuleContext
func (*PropertySetterContext) OpenParen ¶
func (s *PropertySetterContext) OpenParen() antlr.TerminalNode
func (*PropertySetterContext) Setter ¶
func (s *PropertySetterContext) Setter() ISetterContext
type PropertyShorthandContext ¶
type PropertyShorthandContext struct {
*PropertyAssignmentContext
}
func NewPropertyShorthandContext ¶
func NewPropertyShorthandContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PropertyShorthandContext
func (*PropertyShorthandContext) Accept ¶
func (s *PropertyShorthandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PropertyShorthandContext) Ellipsis ¶
func (s *PropertyShorthandContext) Ellipsis() antlr.TerminalNode
func (*PropertyShorthandContext) GetRuleContext ¶
func (s *PropertyShorthandContext) GetRuleContext() antlr.RuleContext
func (*PropertyShorthandContext) SingleExpression ¶
func (s *PropertyShorthandContext) SingleExpression() ISingleExpressionContext
type RelationalExpressionContext ¶
type RelationalExpressionContext struct {
*SingleExpressionContext
}
func NewRelationalExpressionContext ¶
func NewRelationalExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RelationalExpressionContext
func (*RelationalExpressionContext) Accept ¶
func (s *RelationalExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RelationalExpressionContext) AllSingleExpression ¶
func (s *RelationalExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*RelationalExpressionContext) GetRuleContext ¶
func (s *RelationalExpressionContext) GetRuleContext() antlr.RuleContext
func (*RelationalExpressionContext) GreaterThanEquals ¶
func (s *RelationalExpressionContext) GreaterThanEquals() antlr.TerminalNode
func (*RelationalExpressionContext) LessThan ¶
func (s *RelationalExpressionContext) LessThan() antlr.TerminalNode
func (*RelationalExpressionContext) LessThanEquals ¶
func (s *RelationalExpressionContext) LessThanEquals() antlr.TerminalNode
func (*RelationalExpressionContext) MoreThan ¶
func (s *RelationalExpressionContext) MoreThan() antlr.TerminalNode
func (*RelationalExpressionContext) SingleExpression ¶
func (s *RelationalExpressionContext) SingleExpression(i int) ISingleExpressionContext
type ReservedWordContext ¶
type ReservedWordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReservedWordContext ¶
func NewEmptyReservedWordContext() *ReservedWordContext
func NewReservedWordContext ¶
func NewReservedWordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReservedWordContext
func (*ReservedWordContext) Accept ¶
func (s *ReservedWordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ReservedWordContext) BooleanLiteral ¶
func (s *ReservedWordContext) BooleanLiteral() antlr.TerminalNode
func (*ReservedWordContext) GetParser ¶
func (s *ReservedWordContext) GetParser() antlr.Parser
func (*ReservedWordContext) GetRuleContext ¶
func (s *ReservedWordContext) GetRuleContext() antlr.RuleContext
func (*ReservedWordContext) IsReservedWordContext ¶
func (*ReservedWordContext) IsReservedWordContext()
func (*ReservedWordContext) Keyword ¶
func (s *ReservedWordContext) Keyword() IKeywordContext
func (*ReservedWordContext) NullLiteral ¶
func (s *ReservedWordContext) NullLiteral() antlr.TerminalNode
func (*ReservedWordContext) ToStringTree ¶
func (s *ReservedWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReturnStatementContext ¶
type ReturnStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReturnStatementContext ¶
func NewEmptyReturnStatementContext() *ReturnStatementContext
func NewReturnStatementContext ¶
func NewReturnStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnStatementContext
func (*ReturnStatementContext) Accept ¶
func (s *ReturnStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ReturnStatementContext) Eos ¶
func (s *ReturnStatementContext) Eos() IEosContext
func (*ReturnStatementContext) ExpressionSequence ¶
func (s *ReturnStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*ReturnStatementContext) GetParser ¶
func (s *ReturnStatementContext) GetParser() antlr.Parser
func (*ReturnStatementContext) GetRuleContext ¶
func (s *ReturnStatementContext) GetRuleContext() antlr.RuleContext
func (*ReturnStatementContext) IsReturnStatementContext ¶
func (*ReturnStatementContext) IsReturnStatementContext()
func (*ReturnStatementContext) Return ¶
func (s *ReturnStatementContext) Return() antlr.TerminalNode
func (*ReturnStatementContext) ToStringTree ¶
func (s *ReturnStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SetterContext ¶
type SetterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySetterContext ¶
func NewEmptySetterContext() *SetterContext
func NewSetterContext ¶
func NewSetterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetterContext
func (*SetterContext) Accept ¶
func (s *SetterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SetterContext) GetParser ¶
func (s *SetterContext) GetParser() antlr.Parser
func (*SetterContext) GetRuleContext ¶
func (s *SetterContext) GetRuleContext() antlr.RuleContext
func (*SetterContext) Identifier ¶
func (s *SetterContext) Identifier() IIdentifierContext
func (*SetterContext) IsSetterContext ¶
func (*SetterContext) IsSetterContext()
func (*SetterContext) PropertyName ¶
func (s *SetterContext) PropertyName() IPropertyNameContext
func (*SetterContext) ToStringTree ¶
func (s *SetterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SingleExpressionContext ¶
type SingleExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySingleExpressionContext ¶
func NewEmptySingleExpressionContext() *SingleExpressionContext
func NewSingleExpressionContext ¶
func NewSingleExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SingleExpressionContext
func (*SingleExpressionContext) CopyFrom ¶
func (s *SingleExpressionContext) CopyFrom(ctx *SingleExpressionContext)
func (*SingleExpressionContext) GetParser ¶
func (s *SingleExpressionContext) GetParser() antlr.Parser
func (*SingleExpressionContext) GetRuleContext ¶
func (s *SingleExpressionContext) GetRuleContext() antlr.RuleContext
func (*SingleExpressionContext) IsSingleExpressionContext ¶
func (*SingleExpressionContext) IsSingleExpressionContext()
func (*SingleExpressionContext) ToStringTree ¶
func (s *SingleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SourceElementContext ¶
type SourceElementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySourceElementContext ¶
func NewEmptySourceElementContext() *SourceElementContext
func NewSourceElementContext ¶
func NewSourceElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceElementContext
func (*SourceElementContext) Accept ¶
func (s *SourceElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SourceElementContext) GetParser ¶
func (s *SourceElementContext) GetParser() antlr.Parser
func (*SourceElementContext) GetRuleContext ¶
func (s *SourceElementContext) GetRuleContext() antlr.RuleContext
func (*SourceElementContext) IsSourceElementContext ¶
func (*SourceElementContext) IsSourceElementContext()
func (*SourceElementContext) Statement ¶
func (s *SourceElementContext) Statement() IStatementContext
func (*SourceElementContext) ToStringTree ¶
func (s *SourceElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SourceElementsContext ¶
type SourceElementsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySourceElementsContext ¶
func NewEmptySourceElementsContext() *SourceElementsContext
func NewSourceElementsContext ¶
func NewSourceElementsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceElementsContext
func (*SourceElementsContext) Accept ¶
func (s *SourceElementsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SourceElementsContext) AllSourceElement ¶
func (s *SourceElementsContext) AllSourceElement() []ISourceElementContext
func (*SourceElementsContext) GetParser ¶
func (s *SourceElementsContext) GetParser() antlr.Parser
func (*SourceElementsContext) GetRuleContext ¶
func (s *SourceElementsContext) GetRuleContext() antlr.RuleContext
func (*SourceElementsContext) IsSourceElementsContext ¶
func (*SourceElementsContext) IsSourceElementsContext()
func (*SourceElementsContext) SourceElement ¶
func (s *SourceElementsContext) SourceElement(i int) ISourceElementContext
func (*SourceElementsContext) ToStringTree ¶
func (s *SourceElementsContext) 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) Accept ¶
func (s *StatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StatementContext) Block ¶
func (s *StatementContext) Block() IBlockContext
func (*StatementContext) BreakStatement ¶
func (s *StatementContext) BreakStatement() IBreakStatementContext
func (*StatementContext) ClassDeclaration ¶
func (s *StatementContext) ClassDeclaration() IClassDeclarationContext
func (*StatementContext) ContinueStatement ¶
func (s *StatementContext) ContinueStatement() IContinueStatementContext
func (*StatementContext) DebuggerStatement ¶
func (s *StatementContext) DebuggerStatement() IDebuggerStatementContext
func (*StatementContext) EmptyStatement_ ¶
func (s *StatementContext) EmptyStatement_() IEmptyStatement_Context
func (*StatementContext) ExportStatement ¶
func (s *StatementContext) ExportStatement() IExportStatementContext
func (*StatementContext) ExpressionStatement ¶
func (s *StatementContext) ExpressionStatement() IExpressionStatementContext
func (*StatementContext) FunctionDeclaration ¶
func (s *StatementContext) FunctionDeclaration() IFunctionDeclarationContext
func (*StatementContext) GetParser ¶
func (s *StatementContext) GetParser() antlr.Parser
func (*StatementContext) GetRuleContext ¶
func (s *StatementContext) GetRuleContext() antlr.RuleContext
func (*StatementContext) IfStatement ¶
func (s *StatementContext) IfStatement() IIfStatementContext
func (*StatementContext) ImportStatement ¶
func (s *StatementContext) ImportStatement() IImportStatementContext
func (*StatementContext) IsStatementContext ¶
func (*StatementContext) IsStatementContext()
func (*StatementContext) IterationStatement ¶
func (s *StatementContext) IterationStatement() IIterationStatementContext
func (*StatementContext) LabelledStatement ¶
func (s *StatementContext) LabelledStatement() ILabelledStatementContext
func (*StatementContext) ReturnStatement ¶
func (s *StatementContext) ReturnStatement() IReturnStatementContext
func (*StatementContext) SwitchStatement ¶
func (s *StatementContext) SwitchStatement() ISwitchStatementContext
func (*StatementContext) ThrowStatement ¶
func (s *StatementContext) ThrowStatement() IThrowStatementContext
func (*StatementContext) ToStringTree ¶
func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StatementContext) TryStatement ¶
func (s *StatementContext) TryStatement() ITryStatementContext
func (*StatementContext) VariableStatement ¶
func (s *StatementContext) VariableStatement() IVariableStatementContext
func (*StatementContext) WithStatement ¶
func (s *StatementContext) WithStatement() IWithStatementContext
func (*StatementContext) YieldStatement ¶
func (s *StatementContext) YieldStatement() IYieldStatementContext
type StatementListContext ¶
type StatementListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStatementListContext ¶
func NewEmptyStatementListContext() *StatementListContext
func NewStatementListContext ¶
func NewStatementListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementListContext
func (*StatementListContext) Accept ¶
func (s *StatementListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StatementListContext) AllStatement ¶
func (s *StatementListContext) AllStatement() []IStatementContext
func (*StatementListContext) GetParser ¶
func (s *StatementListContext) GetParser() antlr.Parser
func (*StatementListContext) GetRuleContext ¶
func (s *StatementListContext) GetRuleContext() antlr.RuleContext
func (*StatementListContext) IsStatementListContext ¶
func (*StatementListContext) IsStatementListContext()
func (*StatementListContext) Statement ¶
func (s *StatementListContext) Statement(i int) IStatementContext
func (*StatementListContext) ToStringTree ¶
func (s *StatementListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringVisitorResult ¶
type StringVisitorResult string
func (StringVisitorResult) String ¶
func (r StringVisitorResult) String() string
type SuperExpressionContext ¶
type SuperExpressionContext struct {
*SingleExpressionContext
}
func NewSuperExpressionContext ¶
func NewSuperExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SuperExpressionContext
func (*SuperExpressionContext) Accept ¶
func (s *SuperExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SuperExpressionContext) GetRuleContext ¶
func (s *SuperExpressionContext) GetRuleContext() antlr.RuleContext
func (*SuperExpressionContext) Super ¶
func (s *SuperExpressionContext) Super() antlr.TerminalNode
type SwitchStatementContext ¶
type SwitchStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySwitchStatementContext ¶
func NewEmptySwitchStatementContext() *SwitchStatementContext
func NewSwitchStatementContext ¶
func NewSwitchStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SwitchStatementContext
func (*SwitchStatementContext) Accept ¶
func (s *SwitchStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SwitchStatementContext) CaseBlock ¶
func (s *SwitchStatementContext) CaseBlock() ICaseBlockContext
func (*SwitchStatementContext) CloseParen ¶
func (s *SwitchStatementContext) CloseParen() antlr.TerminalNode
func (*SwitchStatementContext) ExpressionSequence ¶
func (s *SwitchStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*SwitchStatementContext) GetParser ¶
func (s *SwitchStatementContext) GetParser() antlr.Parser
func (*SwitchStatementContext) GetRuleContext ¶
func (s *SwitchStatementContext) GetRuleContext() antlr.RuleContext
func (*SwitchStatementContext) IsSwitchStatementContext ¶
func (*SwitchStatementContext) IsSwitchStatementContext()
func (*SwitchStatementContext) OpenParen ¶
func (s *SwitchStatementContext) OpenParen() antlr.TerminalNode
func (*SwitchStatementContext) Switch ¶
func (s *SwitchStatementContext) Switch() antlr.TerminalNode
func (*SwitchStatementContext) ToStringTree ¶
func (s *SwitchStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TemplateStringExpressionContext ¶
type TemplateStringExpressionContext struct {
*SingleExpressionContext
}
func NewTemplateStringExpressionContext ¶
func NewTemplateStringExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TemplateStringExpressionContext
func (*TemplateStringExpressionContext) Accept ¶
func (s *TemplateStringExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TemplateStringExpressionContext) GetRuleContext ¶
func (s *TemplateStringExpressionContext) GetRuleContext() antlr.RuleContext
func (*TemplateStringExpressionContext) SingleExpression ¶
func (s *TemplateStringExpressionContext) SingleExpression() ISingleExpressionContext
func (*TemplateStringExpressionContext) TemplateStringLiteral ¶
func (s *TemplateStringExpressionContext) TemplateStringLiteral() antlr.TerminalNode
type TernaryExpressionContext ¶
type TernaryExpressionContext struct {
*SingleExpressionContext
}
func NewTernaryExpressionContext ¶
func NewTernaryExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TernaryExpressionContext
func (*TernaryExpressionContext) Accept ¶
func (s *TernaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TernaryExpressionContext) AllSingleExpression ¶
func (s *TernaryExpressionContext) AllSingleExpression() []ISingleExpressionContext
func (*TernaryExpressionContext) Colon ¶
func (s *TernaryExpressionContext) Colon() antlr.TerminalNode
func (*TernaryExpressionContext) GetRuleContext ¶
func (s *TernaryExpressionContext) GetRuleContext() antlr.RuleContext
func (*TernaryExpressionContext) QuestionMark ¶
func (s *TernaryExpressionContext) QuestionMark() antlr.TerminalNode
func (*TernaryExpressionContext) SingleExpression ¶
func (s *TernaryExpressionContext) SingleExpression(i int) ISingleExpressionContext
type ThisExpressionContext ¶
type ThisExpressionContext struct {
*SingleExpressionContext
}
func NewThisExpressionContext ¶
func NewThisExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ThisExpressionContext
func (*ThisExpressionContext) Accept ¶
func (s *ThisExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ThisExpressionContext) GetRuleContext ¶
func (s *ThisExpressionContext) GetRuleContext() antlr.RuleContext
func (*ThisExpressionContext) This ¶
func (s *ThisExpressionContext) This() antlr.TerminalNode
type ThrowStatementContext ¶
type ThrowStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyThrowStatementContext ¶
func NewEmptyThrowStatementContext() *ThrowStatementContext
func NewThrowStatementContext ¶
func NewThrowStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ThrowStatementContext
func (*ThrowStatementContext) Accept ¶
func (s *ThrowStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ThrowStatementContext) Eos ¶
func (s *ThrowStatementContext) Eos() IEosContext
func (*ThrowStatementContext) ExpressionSequence ¶
func (s *ThrowStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*ThrowStatementContext) GetParser ¶
func (s *ThrowStatementContext) GetParser() antlr.Parser
func (*ThrowStatementContext) GetRuleContext ¶
func (s *ThrowStatementContext) GetRuleContext() antlr.RuleContext
func (*ThrowStatementContext) IsThrowStatementContext ¶
func (*ThrowStatementContext) IsThrowStatementContext()
func (*ThrowStatementContext) Throw ¶
func (s *ThrowStatementContext) Throw() antlr.TerminalNode
func (*ThrowStatementContext) ToStringTree ¶
func (s *ThrowStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TryStatementContext ¶
type TryStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTryStatementContext ¶
func NewEmptyTryStatementContext() *TryStatementContext
func NewTryStatementContext ¶
func NewTryStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TryStatementContext
func (*TryStatementContext) Accept ¶
func (s *TryStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TryStatementContext) Block ¶
func (s *TryStatementContext) Block() IBlockContext
func (*TryStatementContext) CatchProduction ¶
func (s *TryStatementContext) CatchProduction() ICatchProductionContext
func (*TryStatementContext) FinallyProduction ¶
func (s *TryStatementContext) FinallyProduction() IFinallyProductionContext
func (*TryStatementContext) GetParser ¶
func (s *TryStatementContext) GetParser() antlr.Parser
func (*TryStatementContext) GetRuleContext ¶
func (s *TryStatementContext) GetRuleContext() antlr.RuleContext
func (*TryStatementContext) IsTryStatementContext ¶
func (*TryStatementContext) IsTryStatementContext()
func (*TryStatementContext) ToStringTree ¶
func (s *TryStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TryStatementContext) Try ¶
func (s *TryStatementContext) Try() antlr.TerminalNode
type TypeofExpressionContext ¶
type TypeofExpressionContext struct {
*SingleExpressionContext
}
func NewTypeofExpressionContext ¶
func NewTypeofExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeofExpressionContext
func (*TypeofExpressionContext) Accept ¶
func (s *TypeofExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeofExpressionContext) GetRuleContext ¶
func (s *TypeofExpressionContext) GetRuleContext() antlr.RuleContext
func (*TypeofExpressionContext) SingleExpression ¶
func (s *TypeofExpressionContext) SingleExpression() ISingleExpressionContext
func (*TypeofExpressionContext) Typeof ¶
func (s *TypeofExpressionContext) Typeof() antlr.TerminalNode
type UnaryMinusExpressionContext ¶
type UnaryMinusExpressionContext struct {
*SingleExpressionContext
}
func NewUnaryMinusExpressionContext ¶
func NewUnaryMinusExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryMinusExpressionContext
func (*UnaryMinusExpressionContext) Accept ¶
func (s *UnaryMinusExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UnaryMinusExpressionContext) GetRuleContext ¶
func (s *UnaryMinusExpressionContext) GetRuleContext() antlr.RuleContext
func (*UnaryMinusExpressionContext) Minus ¶
func (s *UnaryMinusExpressionContext) Minus() antlr.TerminalNode
func (*UnaryMinusExpressionContext) SingleExpression ¶
func (s *UnaryMinusExpressionContext) SingleExpression() ISingleExpressionContext
type UnaryPlusExpressionContext ¶
type UnaryPlusExpressionContext struct {
*SingleExpressionContext
}
func NewUnaryPlusExpressionContext ¶
func NewUnaryPlusExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryPlusExpressionContext
func (*UnaryPlusExpressionContext) Accept ¶
func (s *UnaryPlusExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UnaryPlusExpressionContext) GetRuleContext ¶
func (s *UnaryPlusExpressionContext) GetRuleContext() antlr.RuleContext
func (*UnaryPlusExpressionContext) Plus ¶
func (s *UnaryPlusExpressionContext) Plus() antlr.TerminalNode
func (*UnaryPlusExpressionContext) SingleExpression ¶
func (s *UnaryPlusExpressionContext) SingleExpression() ISingleExpressionContext
type VarModifierContext ¶
type VarModifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVarModifierContext ¶
func NewEmptyVarModifierContext() *VarModifierContext
func NewVarModifierContext ¶
func NewVarModifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarModifierContext
func (*VarModifierContext) Accept ¶
func (s *VarModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VarModifierContext) Const ¶
func (s *VarModifierContext) Const() antlr.TerminalNode
func (*VarModifierContext) GetParser ¶
func (s *VarModifierContext) GetParser() antlr.Parser
func (*VarModifierContext) GetRuleContext ¶
func (s *VarModifierContext) GetRuleContext() antlr.RuleContext
func (*VarModifierContext) IsVarModifierContext ¶
func (*VarModifierContext) IsVarModifierContext()
func (*VarModifierContext) Let_ ¶
func (s *VarModifierContext) Let_() ILet_Context
func (*VarModifierContext) ToStringTree ¶
func (s *VarModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VarModifierContext) Var ¶
func (s *VarModifierContext) Var() antlr.TerminalNode
type VariableDeclarationContext ¶
type VariableDeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVariableDeclarationContext ¶
func NewEmptyVariableDeclarationContext() *VariableDeclarationContext
func NewVariableDeclarationContext ¶
func NewVariableDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclarationContext
func (*VariableDeclarationContext) Accept ¶
func (s *VariableDeclarationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VariableDeclarationContext) Assign ¶
func (s *VariableDeclarationContext) Assign() antlr.TerminalNode
func (*VariableDeclarationContext) Assignable ¶
func (s *VariableDeclarationContext) Assignable() IAssignableContext
func (*VariableDeclarationContext) GetParser ¶
func (s *VariableDeclarationContext) GetParser() antlr.Parser
func (*VariableDeclarationContext) GetRuleContext ¶
func (s *VariableDeclarationContext) GetRuleContext() antlr.RuleContext
func (*VariableDeclarationContext) IsVariableDeclarationContext ¶
func (*VariableDeclarationContext) IsVariableDeclarationContext()
func (*VariableDeclarationContext) SingleExpression ¶
func (s *VariableDeclarationContext) SingleExpression() ISingleExpressionContext
func (*VariableDeclarationContext) ToStringTree ¶
func (s *VariableDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VariableDeclarationListContext ¶
type VariableDeclarationListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVariableDeclarationListContext ¶
func NewEmptyVariableDeclarationListContext() *VariableDeclarationListContext
func NewVariableDeclarationListContext ¶
func NewVariableDeclarationListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclarationListContext
func (*VariableDeclarationListContext) Accept ¶
func (s *VariableDeclarationListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VariableDeclarationListContext) AllComma ¶
func (s *VariableDeclarationListContext) AllComma() []antlr.TerminalNode
func (*VariableDeclarationListContext) AllVariableDeclaration ¶
func (s *VariableDeclarationListContext) AllVariableDeclaration() []IVariableDeclarationContext
func (*VariableDeclarationListContext) Comma ¶
func (s *VariableDeclarationListContext) Comma(i int) antlr.TerminalNode
func (*VariableDeclarationListContext) GetParser ¶
func (s *VariableDeclarationListContext) GetParser() antlr.Parser
func (*VariableDeclarationListContext) GetRuleContext ¶
func (s *VariableDeclarationListContext) GetRuleContext() antlr.RuleContext
func (*VariableDeclarationListContext) IsVariableDeclarationListContext ¶
func (*VariableDeclarationListContext) IsVariableDeclarationListContext()
func (*VariableDeclarationListContext) ToStringTree ¶
func (s *VariableDeclarationListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VariableDeclarationListContext) VarModifier ¶
func (s *VariableDeclarationListContext) VarModifier() IVarModifierContext
func (*VariableDeclarationListContext) VariableDeclaration ¶
func (s *VariableDeclarationListContext) VariableDeclaration(i int) IVariableDeclarationContext
type VariableStatementContext ¶
type VariableStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVariableStatementContext ¶
func NewEmptyVariableStatementContext() *VariableStatementContext
func NewVariableStatementContext ¶
func NewVariableStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableStatementContext
func (*VariableStatementContext) Accept ¶
func (s *VariableStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VariableStatementContext) Eos ¶
func (s *VariableStatementContext) Eos() IEosContext
func (*VariableStatementContext) GetParser ¶
func (s *VariableStatementContext) GetParser() antlr.Parser
func (*VariableStatementContext) GetRuleContext ¶
func (s *VariableStatementContext) GetRuleContext() antlr.RuleContext
func (*VariableStatementContext) IsVariableStatementContext ¶
func (*VariableStatementContext) IsVariableStatementContext()
func (*VariableStatementContext) ToStringTree ¶
func (s *VariableStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VariableStatementContext) VariableDeclarationList ¶
func (s *VariableStatementContext) VariableDeclarationList() IVariableDeclarationListContext
type VisitorResult ¶
type VisitorResult interface {
String() string
}
type VoidExpressionContext ¶
type VoidExpressionContext struct {
*SingleExpressionContext
}
func NewVoidExpressionContext ¶
func NewVoidExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VoidExpressionContext
func (*VoidExpressionContext) Accept ¶
func (s *VoidExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VoidExpressionContext) GetRuleContext ¶
func (s *VoidExpressionContext) GetRuleContext() antlr.RuleContext
func (*VoidExpressionContext) SingleExpression ¶
func (s *VoidExpressionContext) SingleExpression() ISingleExpressionContext
func (*VoidExpressionContext) Void ¶
func (s *VoidExpressionContext) Void() antlr.TerminalNode
type WhileStatementContext ¶
type WhileStatementContext struct {
*IterationStatementContext
}
func NewWhileStatementContext ¶
func NewWhileStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *WhileStatementContext
func (*WhileStatementContext) Accept ¶
func (s *WhileStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*WhileStatementContext) CloseParen ¶
func (s *WhileStatementContext) CloseParen() antlr.TerminalNode
func (*WhileStatementContext) ExpressionSequence ¶
func (s *WhileStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*WhileStatementContext) GetRuleContext ¶
func (s *WhileStatementContext) GetRuleContext() antlr.RuleContext
func (*WhileStatementContext) OpenParen ¶
func (s *WhileStatementContext) OpenParen() antlr.TerminalNode
func (*WhileStatementContext) Statement ¶
func (s *WhileStatementContext) Statement() IStatementContext
func (*WhileStatementContext) While ¶
func (s *WhileStatementContext) While() antlr.TerminalNode
type WithStatementContext ¶
type WithStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWithStatementContext ¶
func NewEmptyWithStatementContext() *WithStatementContext
func NewWithStatementContext ¶
func NewWithStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WithStatementContext
func (*WithStatementContext) Accept ¶
func (s *WithStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*WithStatementContext) CloseParen ¶
func (s *WithStatementContext) CloseParen() antlr.TerminalNode
func (*WithStatementContext) ExpressionSequence ¶
func (s *WithStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*WithStatementContext) GetParser ¶
func (s *WithStatementContext) GetParser() antlr.Parser
func (*WithStatementContext) GetRuleContext ¶
func (s *WithStatementContext) GetRuleContext() antlr.RuleContext
func (*WithStatementContext) IsWithStatementContext ¶
func (*WithStatementContext) IsWithStatementContext()
func (*WithStatementContext) OpenParen ¶
func (s *WithStatementContext) OpenParen() antlr.TerminalNode
func (*WithStatementContext) Statement ¶
func (s *WithStatementContext) Statement() IStatementContext
func (*WithStatementContext) ToStringTree ¶
func (s *WithStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WithStatementContext) With ¶
func (s *WithStatementContext) With() antlr.TerminalNode
type YieldExpressionContext ¶
type YieldExpressionContext struct {
*SingleExpressionContext
}
func NewYieldExpressionContext ¶
func NewYieldExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *YieldExpressionContext
func (*YieldExpressionContext) Accept ¶
func (s *YieldExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*YieldExpressionContext) GetRuleContext ¶
func (s *YieldExpressionContext) GetRuleContext() antlr.RuleContext
func (*YieldExpressionContext) YieldStatement ¶
func (s *YieldExpressionContext) YieldStatement() IYieldStatementContext
type YieldStatementContext ¶
type YieldStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyYieldStatementContext ¶
func NewEmptyYieldStatementContext() *YieldStatementContext
func NewYieldStatementContext ¶
func NewYieldStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *YieldStatementContext
func (*YieldStatementContext) Accept ¶
func (s *YieldStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*YieldStatementContext) Eos ¶
func (s *YieldStatementContext) Eos() IEosContext
func (*YieldStatementContext) ExpressionSequence ¶
func (s *YieldStatementContext) ExpressionSequence() IExpressionSequenceContext
func (*YieldStatementContext) GetParser ¶
func (s *YieldStatementContext) GetParser() antlr.Parser
func (*YieldStatementContext) GetRuleContext ¶
func (s *YieldStatementContext) GetRuleContext() antlr.RuleContext
func (*YieldStatementContext) IsYieldStatementContext ¶
func (*YieldStatementContext) IsYieldStatementContext()
func (*YieldStatementContext) ToStringTree ¶
func (s *YieldStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*YieldStatementContext) Yield ¶
func (s *YieldStatementContext) Yield() antlr.TerminalNode