Documentation ¶
Index ¶
- Constants
- Variables
- func GoGenTemplateLexerInit()
- func GoGenTemplateParserInit()
- func InitEmptyBoolLiteralContext(p *BoolLiteralContext)
- func InitEmptyCallContext(p *CallContext)
- func InitEmptyClsContext(p *ClsContext)
- func InitEmptyDefaultParamContext(p *DefaultParamContext)
- func InitEmptyEchoContext(p *EchoContext)
- func InitEmptyElseBlockContext(p *ElseBlockContext)
- func InitEmptyEndContext(p *EndContext)
- func InitEmptyExpressionContext(p *ExpressionContext)
- func InitEmptyFieldSelectorContext(p *FieldSelectorContext)
- func InitEmptyFloatLiteralContext(p *FloatLiteralContext)
- func InitEmptyForBlockContext(p *ForBlockContext)
- func InitEmptyIdentifierContext(p *IdentifierContext)
- func InitEmptyIfBlockContext(p *IfBlockContext)
- func InitEmptyImportParameterContext(p *ImportParameterContext)
- func InitEmptyImportParametersContext(p *ImportParametersContext)
- func InitEmptyIndentBlockContext(p *IndentBlockContext)
- func InitEmptyIndexContext(p *IndexContext)
- func InitEmptyIntLiteralContext(p *IntLiteralContext)
- func InitEmptyLiteralContext(p *LiteralContext)
- func InitEmptyOperandContext(p *OperandContext)
- func InitEmptyOpnContext(p *OpnContext)
- func InitEmptyRootExpressionContext(p *RootExpressionContext)
- func InitEmptyRootSelectorContext(p *RootSelectorContext)
- func InitEmptySelectorChainContext(p *SelectorChainContext)
- func InitEmptySelectorContext(p *SelectorContext)
- func InitEmptySliceContext(p *SliceContext)
- func InitEmptyStringLiteralContext(p *StringLiteralContext)
- func InitEmptyUnaryExpressionContext(p *UnaryExpressionContext)
- func InitEmptyVariableContext(p *VariableContext)
- func InitEmptyViewContext(p *ViewContext)
- func InitEmptyViewParamContext(p *ViewParamContext)
- func InitEmptyVisitDefaultParametersContext(p *VisitDefaultParametersContext)
- type BaseGoGenTemplateVisitor
- func (v *BaseGoGenTemplateVisitor) VisitBoolLiteral(ctx *BoolLiteralContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitCall(ctx *CallContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitCls(ctx *ClsContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitDefaultParam(ctx *DefaultParamContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitEcho(ctx *EchoContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitElseBlock(ctx *ElseBlockContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitEnd(ctx *EndContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitExpression(ctx *ExpressionContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitFieldSelector(ctx *FieldSelectorContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitForBlock(ctx *ForBlockContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitIfBlock(ctx *IfBlockContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitImportParameter(ctx *ImportParameterContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitImportParameters(ctx *ImportParametersContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitIndentBlock(ctx *IndentBlockContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitIndex(ctx *IndexContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitIntLiteral(ctx *IntLiteralContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitLiteral(ctx *LiteralContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitOperand(ctx *OperandContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitOpn(ctx *OpnContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitRootExpression(ctx *RootExpressionContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitRootSelector(ctx *RootSelectorContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitSelector(ctx *SelectorContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitSelectorChain(ctx *SelectorChainContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitSlice(ctx *SliceContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitUnaryExpression(ctx *UnaryExpressionContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitVariable(ctx *VariableContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitView(ctx *ViewContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitViewParam(ctx *ViewParamContext) interface{}
- func (v *BaseGoGenTemplateVisitor) VisitVisitDefaultParameters(ctx *VisitDefaultParametersContext) interface{}
- type BoolLiteralContext
- func (s *BoolLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BoolLiteralContext) GetParser() antlr.Parser
- func (s *BoolLiteralContext) GetRuleContext() antlr.RuleContext
- func (*BoolLiteralContext) IsBoolLiteralContext()
- func (s *BoolLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CallContext
- type ClsContext
- type DefaultParamContext
- func (s *DefaultParamContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefaultParamContext) GetParser() antlr.Parser
- func (s *DefaultParamContext) GetRuleContext() antlr.RuleContext
- func (s *DefaultParamContext) IDENTIFIER() antlr.TerminalNode
- func (*DefaultParamContext) IsDefaultParamContext()
- func (s *DefaultParamContext) Literal() ILiteralContext
- func (s *DefaultParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EchoContext
- func (s *EchoContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EchoContext) Cls() IClsContext
- func (s *EchoContext) Expression() IExpressionContext
- func (s *EchoContext) GetParser() antlr.Parser
- func (s *EchoContext) GetRuleContext() antlr.RuleContext
- func (*EchoContext) IsEchoContext()
- func (s *EchoContext) Opn() IOpnContext
- func (s *EchoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElseBlockContext
- func (s *ElseBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElseBlockContext) Cls() IClsContext
- func (s *ElseBlockContext) ELSE() antlr.TerminalNode
- func (s *ElseBlockContext) GetParser() antlr.Parser
- func (s *ElseBlockContext) GetRuleContext() antlr.RuleContext
- func (*ElseBlockContext) IsElseBlockContext()
- func (s *ElseBlockContext) Opn() IOpnContext
- func (s *ElseBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EndContext
- func (s *EndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EndContext) Cls() IClsContext
- func (s *EndContext) END() antlr.TerminalNode
- func (s *EndContext) GetParser() antlr.Parser
- func (s *EndContext) GetRuleContext() antlr.RuleContext
- func (*EndContext) IsEndContext()
- func (s *EndContext) Opn() IOpnContext
- func (s *EndContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionContext
- func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionContext) AllExpression() []IExpressionContext
- func (s *ExpressionContext) Expression(i int) IExpressionContext
- func (s *ExpressionContext) GetFilter() antlr.Token
- func (s *ExpressionContext) GetOperator() antlr.Token
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ExpressionContext) IDENTIFIER() antlr.TerminalNode
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) Operand() IOperandContext
- func (s *ExpressionContext) SetFilter(v antlr.Token)
- func (s *ExpressionContext) SetOperator(v antlr.Token)
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ExpressionContext) UnaryExpression() IUnaryExpressionContext
- type FieldSelectorContext
- func (s *FieldSelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FieldSelectorContext) DOT() antlr.TerminalNode
- func (s *FieldSelectorContext) GetParser() antlr.Parser
- func (s *FieldSelectorContext) GetRuleContext() antlr.RuleContext
- func (s *FieldSelectorContext) Identifier() IIdentifierContext
- func (*FieldSelectorContext) IsFieldSelectorContext()
- func (s *FieldSelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FloatLiteralContext
- func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatLiteralContext) AllINT() []antlr.TerminalNode
- func (s *FloatLiteralContext) DOT() antlr.TerminalNode
- func (s *FloatLiteralContext) GetParser() antlr.Parser
- func (s *FloatLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *FloatLiteralContext) INT(i int) antlr.TerminalNode
- func (*FloatLiteralContext) IsFloatLiteralContext()
- func (s *FloatLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForBlockContext
- func (s *ForBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForBlockContext) AllEVEN() []antlr.TerminalNode
- func (s *ForBlockContext) AllFIRST() []antlr.TerminalNode
- func (s *ForBlockContext) AllIdentifier() []IIdentifierContext
- func (s *ForBlockContext) AllLAST() []antlr.TerminalNode
- func (s *ForBlockContext) Cls() IClsContext
- func (s *ForBlockContext) EVEN(i int) antlr.TerminalNode
- func (s *ForBlockContext) Expression() IExpressionContext
- func (s *ForBlockContext) FIRST(i int) antlr.TerminalNode
- func (s *ForBlockContext) FOR() antlr.TerminalNode
- func (s *ForBlockContext) GetKey() IIdentifierContext
- func (s *ForBlockContext) GetParser() antlr.Parser
- func (s *ForBlockContext) GetRuleContext() antlr.RuleContext
- func (s *ForBlockContext) GetValue() IIdentifierContext
- func (s *ForBlockContext) IN() antlr.TerminalNode
- func (s *ForBlockContext) Identifier(i int) IIdentifierContext
- func (*ForBlockContext) IsForBlockContext()
- func (s *ForBlockContext) LAST(i int) antlr.TerminalNode
- func (s *ForBlockContext) Opn() IOpnContext
- func (s *ForBlockContext) SetKey(v IIdentifierContext)
- func (s *ForBlockContext) SetValue(v IIdentifierContext)
- func (s *ForBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GoGenTemplateLexer
- type GoGenTemplateParser
- func (p *GoGenTemplateParser) BoolLiteral() (localctx IBoolLiteralContext)
- func (p *GoGenTemplateParser) Call() (localctx ICallContext)
- func (p *GoGenTemplateParser) Cls() (localctx IClsContext)
- func (p *GoGenTemplateParser) DefaultParam() (localctx IDefaultParamContext)
- func (p *GoGenTemplateParser) Echo() (localctx IEchoContext)
- func (p *GoGenTemplateParser) ElseBlock() (localctx IElseBlockContext)
- func (p *GoGenTemplateParser) End() (localctx IEndContext)
- func (p *GoGenTemplateParser) Expression() (localctx IExpressionContext)
- func (p *GoGenTemplateParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *GoGenTemplateParser) FieldSelector() (localctx IFieldSelectorContext)
- func (p *GoGenTemplateParser) FloatLiteral() (localctx IFloatLiteralContext)
- func (p *GoGenTemplateParser) ForBlock() (localctx IForBlockContext)
- func (p *GoGenTemplateParser) Identifier() (localctx IIdentifierContext)
- func (p *GoGenTemplateParser) IfBlock() (localctx IIfBlockContext)
- func (p *GoGenTemplateParser) ImportParameter() (localctx IImportParameterContext)
- func (p *GoGenTemplateParser) ImportParameters() (localctx IImportParametersContext)
- func (p *GoGenTemplateParser) IndentBlock() (localctx IIndentBlockContext)
- func (p *GoGenTemplateParser) Index() (localctx IIndexContext)
- func (p *GoGenTemplateParser) IntLiteral() (localctx IIntLiteralContext)
- func (p *GoGenTemplateParser) Literal() (localctx ILiteralContext)
- func (p *GoGenTemplateParser) Operand() (localctx IOperandContext)
- func (p *GoGenTemplateParser) Opn() (localctx IOpnContext)
- func (p *GoGenTemplateParser) RootExpression() (localctx IRootExpressionContext)
- func (p *GoGenTemplateParser) RootSelector() (localctx IRootSelectorContext)
- func (p *GoGenTemplateParser) Selector() (localctx ISelectorContext)
- func (p *GoGenTemplateParser) SelectorChain() (localctx ISelectorChainContext)
- func (p *GoGenTemplateParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *GoGenTemplateParser) Slice() (localctx ISliceContext)
- func (p *GoGenTemplateParser) StringLiteral() (localctx IStringLiteralContext)
- func (p *GoGenTemplateParser) UnaryExpression() (localctx IUnaryExpressionContext)
- func (p *GoGenTemplateParser) Variable() (localctx IVariableContext)
- func (p *GoGenTemplateParser) View() (localctx IViewContext)
- func (p *GoGenTemplateParser) ViewParam() (localctx IViewParamContext)
- func (p *GoGenTemplateParser) VisitDefaultParameters() (localctx IVisitDefaultParametersContext)
- type GoGenTemplateVisitor
- type IBoolLiteralContext
- type ICallContext
- type IClsContext
- type IDefaultParamContext
- type IEchoContext
- type IElseBlockContext
- type IEndContext
- type IExpressionContext
- type IFieldSelectorContext
- type IFloatLiteralContext
- type IForBlockContext
- type IIdentifierContext
- type IIfBlockContext
- type IImportParameterContext
- type IImportParametersContext
- type IIndentBlockContext
- type IIndexContext
- type IIntLiteralContext
- type ILiteralContext
- type IOperandContext
- type IOpnContext
- type IRootExpressionContext
- type IRootSelectorContext
- type ISelectorChainContext
- type ISelectorContext
- type ISliceContext
- type IStringLiteralContext
- type IUnaryExpressionContext
- type IVariableContext
- type IViewContext
- type IViewParamContext
- type IVisitDefaultParametersContext
- type IdentifierContext
- func (s *IdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierContext) ELSE() antlr.TerminalNode
- func (s *IdentifierContext) END() antlr.TerminalNode
- func (s *IdentifierContext) EVEN() antlr.TerminalNode
- func (s *IdentifierContext) FIRST() antlr.TerminalNode
- func (s *IdentifierContext) FOR() antlr.TerminalNode
- func (s *IdentifierContext) GetParser() antlr.Parser
- func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode
- func (s *IdentifierContext) IF() antlr.TerminalNode
- func (s *IdentifierContext) IN() antlr.TerminalNode
- func (s *IdentifierContext) INDENT() antlr.TerminalNode
- func (*IdentifierContext) IsIdentifierContext()
- func (s *IdentifierContext) LAST() antlr.TerminalNode
- func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IfBlockContext
- func (s *IfBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IfBlockContext) Cls() IClsContext
- func (s *IfBlockContext) Expression() IExpressionContext
- func (s *IfBlockContext) GetParser() antlr.Parser
- func (s *IfBlockContext) GetRuleContext() antlr.RuleContext
- func (s *IfBlockContext) IF() antlr.TerminalNode
- func (*IfBlockContext) IsIfBlockContext()
- func (s *IfBlockContext) Opn() IOpnContext
- func (s *IfBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportParameterContext
- func (s *ImportParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportParameterContext) Expression() IExpressionContext
- func (s *ImportParameterContext) GetParser() antlr.Parser
- func (s *ImportParameterContext) GetRuleContext() antlr.RuleContext
- func (s *ImportParameterContext) IDENTIFIER() antlr.TerminalNode
- func (*ImportParameterContext) IsImportParameterContext()
- func (s *ImportParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportParametersContext
- func (s *ImportParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportParametersContext) AllImportParameter() []IImportParameterContext
- func (s *ImportParametersContext) GetParser() antlr.Parser
- func (s *ImportParametersContext) GetRuleContext() antlr.RuleContext
- func (s *ImportParametersContext) ImportParameter(i int) IImportParameterContext
- func (*ImportParametersContext) IsImportParametersContext()
- func (s *ImportParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IndentBlockContext
- func (s *IndentBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IndentBlockContext) Cls() IClsContext
- func (s *IndentBlockContext) Expression() IExpressionContext
- func (s *IndentBlockContext) GetParser() antlr.Parser
- func (s *IndentBlockContext) GetRuleContext() antlr.RuleContext
- func (s *IndentBlockContext) INDENT() antlr.TerminalNode
- func (*IndentBlockContext) IsIndentBlockContext()
- func (s *IndentBlockContext) Opn() IOpnContext
- func (s *IndentBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IndexContext
- func (s *IndexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IndexContext) Expression() IExpressionContext
- func (s *IndexContext) GetParser() antlr.Parser
- func (s *IndexContext) GetRuleContext() antlr.RuleContext
- func (*IndexContext) IsIndexContext()
- func (s *IndexContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IntLiteralContext
- func (s *IntLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IntLiteralContext) GetParser() antlr.Parser
- func (s *IntLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *IntLiteralContext) INT() antlr.TerminalNode
- func (*IntLiteralContext) IsIntLiteralContext()
- func (s *IntLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralContext) BoolLiteral() IBoolLiteralContext
- func (s *LiteralContext) FloatLiteral() IFloatLiteralContext
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (s *LiteralContext) IntLiteral() IIntLiteralContext
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) StringLiteral() IStringLiteralContext
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OperandContext
- func (s *OperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OperandContext) Expression() IExpressionContext
- func (s *OperandContext) GetParser() antlr.Parser
- func (s *OperandContext) GetRuleContext() antlr.RuleContext
- func (*OperandContext) IsOperandContext()
- func (s *OperandContext) Literal() ILiteralContext
- func (s *OperandContext) SelectorChain() ISelectorChainContext
- func (s *OperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OpnContext
- type RootExpressionContext
- func (s *RootExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RootExpressionContext) EOF() antlr.TerminalNode
- func (s *RootExpressionContext) Expression() IExpressionContext
- func (s *RootExpressionContext) GetParser() antlr.Parser
- func (s *RootExpressionContext) GetRuleContext() antlr.RuleContext
- func (*RootExpressionContext) IsRootExpressionContext()
- func (s *RootExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RootSelectorContext
- func (s *RootSelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RootSelectorContext) DOT() antlr.TerminalNode
- func (s *RootSelectorContext) GetParser() antlr.Parser
- func (s *RootSelectorContext) GetRuleContext() antlr.RuleContext
- func (s *RootSelectorContext) Index() IIndexContext
- func (*RootSelectorContext) IsRootSelectorContext()
- func (s *RootSelectorContext) SelectorChain() ISelectorChainContext
- func (s *RootSelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SelectorChainContext
- func (s *SelectorChainContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectorChainContext) AllSelector() []ISelectorContext
- func (s *SelectorChainContext) GetParser() antlr.Parser
- func (s *SelectorChainContext) GetRuleContext() antlr.RuleContext
- func (*SelectorChainContext) IsSelectorChainContext()
- func (s *SelectorChainContext) RootSelector() IRootSelectorContext
- func (s *SelectorChainContext) Selector(i int) ISelectorContext
- func (s *SelectorChainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SelectorChainContext) Variable() IVariableContext
- type SelectorContext
- func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectorContext) Call() ICallContext
- func (s *SelectorContext) FieldSelector() IFieldSelectorContext
- func (s *SelectorContext) GetParser() antlr.Parser
- func (s *SelectorContext) GetRuleContext() antlr.RuleContext
- func (s *SelectorContext) Index() IIndexContext
- func (*SelectorContext) IsSelectorContext()
- func (s *SelectorContext) Slice() ISliceContext
- func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SliceContext
- func (s *SliceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SliceContext) AllExpression() []IExpressionContext
- func (s *SliceContext) Expression(i int) IExpressionContext
- func (s *SliceContext) GetFrom() IExpressionContext
- func (s *SliceContext) GetParser() antlr.Parser
- func (s *SliceContext) GetRuleContext() antlr.RuleContext
- func (s *SliceContext) GetTo() IExpressionContext
- func (*SliceContext) IsSliceContext()
- func (s *SliceContext) SetFrom(v IExpressionContext)
- func (s *SliceContext) SetTo(v IExpressionContext)
- func (s *SliceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringLiteralContext
- func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StringLiteralContext) GetParser() antlr.Parser
- func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
- func (*StringLiteralContext) IsStringLiteralContext()
- func (s *StringLiteralContext) STRING() antlr.TerminalNode
- func (s *StringLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UnaryExpressionContext
- func (s *UnaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UnaryExpressionContext) EXISTS() antlr.TerminalNode
- func (s *UnaryExpressionContext) Expression() IExpressionContext
- func (s *UnaryExpressionContext) GetParser() antlr.Parser
- func (s *UnaryExpressionContext) GetRuleContext() antlr.RuleContext
- func (*UnaryExpressionContext) IsUnaryExpressionContext()
- func (s *UnaryExpressionContext) NOT() antlr.TerminalNode
- func (s *UnaryExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UnaryExpressionContext) Variable() IVariableContext
- type VariableContext
- func (s *VariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VariableContext) GetParser() antlr.Parser
- func (s *VariableContext) GetRuleContext() antlr.RuleContext
- func (s *VariableContext) Identifier() IIdentifierContext
- func (*VariableContext) IsVariableContext()
- func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ViewContext
- func (s *ViewContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ViewContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *ViewContext) AllViewParam() []IViewParamContext
- func (s *ViewContext) Cls() IClsContext
- func (s *ViewContext) DOT() antlr.TerminalNode
- func (s *ViewContext) Expression() IExpressionContext
- func (s *ViewContext) GetName() antlr.Token
- func (s *ViewContext) GetParser() antlr.Parser
- func (s *ViewContext) GetPkg() antlr.Token
- func (s *ViewContext) GetRuleContext() antlr.RuleContext
- func (s *ViewContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*ViewContext) IsViewContext()
- func (s *ViewContext) Opn() IOpnContext
- func (s *ViewContext) SetName(v antlr.Token)
- func (s *ViewContext) SetPkg(v antlr.Token)
- func (s *ViewContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ViewContext) ViewParam(i int) IViewParamContext
- type ViewParamContext
- func (s *ViewParamContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ViewParamContext) Expression() IExpressionContext
- func (s *ViewParamContext) GetParser() antlr.Parser
- func (s *ViewParamContext) GetRuleContext() antlr.RuleContext
- func (s *ViewParamContext) IDENTIFIER() antlr.TerminalNode
- func (*ViewParamContext) IsViewParamContext()
- func (s *ViewParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VisitDefaultParametersContext
- func (s *VisitDefaultParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VisitDefaultParametersContext) AllDefaultParam() []IDefaultParamContext
- func (s *VisitDefaultParametersContext) DefaultParam(i int) IDefaultParamContext
- func (s *VisitDefaultParametersContext) GetParser() antlr.Parser
- func (s *VisitDefaultParametersContext) GetRuleContext() antlr.RuleContext
- func (*VisitDefaultParametersContext) IsVisitDefaultParametersContext()
- func (s *VisitDefaultParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( GoGenTemplateLexerT__0 = 1 GoGenTemplateLexerT__1 = 2 GoGenTemplateLexerT__2 = 3 GoGenTemplateLexerT__3 = 4 GoGenTemplateLexerT__4 = 5 GoGenTemplateLexerT__5 = 6 GoGenTemplateLexerT__6 = 7 GoGenTemplateLexerT__7 = 8 GoGenTemplateLexerT__8 = 9 GoGenTemplateLexerT__9 = 10 GoGenTemplateLexerT__10 = 11 GoGenTemplateLexerT__11 = 12 GoGenTemplateLexerT__12 = 13 GoGenTemplateLexerT__13 = 14 GoGenTemplateLexerT__14 = 15 GoGenTemplateLexerT__15 = 16 GoGenTemplateLexerT__16 = 17 GoGenTemplateLexerT__17 = 18 GoGenTemplateLexerT__18 = 19 GoGenTemplateLexerT__19 = 20 GoGenTemplateLexerT__20 = 21 GoGenTemplateLexerT__21 = 22 GoGenTemplateLexerT__22 = 23 GoGenTemplateLexerT__23 = 24 GoGenTemplateLexerT__24 = 25 GoGenTemplateLexerT__25 = 26 GoGenTemplateLexerT__26 = 27 GoGenTemplateLexerT__27 = 28 GoGenTemplateLexerT__28 = 29 GoGenTemplateLexerFOR = 30 GoGenTemplateLexerIN = 31 GoGenTemplateLexerEND = 32 GoGenTemplateLexerIF = 33 GoGenTemplateLexerINDENT = 34 GoGenTemplateLexerELSE = 35 GoGenTemplateLexerFIRST = 36 GoGenTemplateLexerLAST = 37 GoGenTemplateLexerEVEN = 38 GoGenTemplateLexerSTRING = 39 GoGenTemplateLexerIDENTIFIER = 40 GoGenTemplateLexerINT = 41 GoGenTemplateLexerDOT = 42 GoGenTemplateLexerNOT = 43 GoGenTemplateLexerEXISTS = 44 GoGenTemplateLexerWS = 45 )
GoGenTemplateLexer tokens.
const ( GoGenTemplateParserEOF = antlr.TokenEOF GoGenTemplateParserT__0 = 1 GoGenTemplateParserT__1 = 2 GoGenTemplateParserT__2 = 3 GoGenTemplateParserT__3 = 4 GoGenTemplateParserT__4 = 5 GoGenTemplateParserT__5 = 6 GoGenTemplateParserT__6 = 7 GoGenTemplateParserT__7 = 8 GoGenTemplateParserT__8 = 9 GoGenTemplateParserT__9 = 10 GoGenTemplateParserT__10 = 11 GoGenTemplateParserT__11 = 12 GoGenTemplateParserT__12 = 13 GoGenTemplateParserT__13 = 14 GoGenTemplateParserT__14 = 15 GoGenTemplateParserT__15 = 16 GoGenTemplateParserT__16 = 17 GoGenTemplateParserT__17 = 18 GoGenTemplateParserT__18 = 19 GoGenTemplateParserT__19 = 20 GoGenTemplateParserT__20 = 21 GoGenTemplateParserT__21 = 22 GoGenTemplateParserT__22 = 23 GoGenTemplateParserT__23 = 24 GoGenTemplateParserT__24 = 25 GoGenTemplateParserT__25 = 26 GoGenTemplateParserT__26 = 27 GoGenTemplateParserT__27 = 28 GoGenTemplateParserT__28 = 29 GoGenTemplateParserFOR = 30 GoGenTemplateParserIN = 31 GoGenTemplateParserEND = 32 GoGenTemplateParserIF = 33 GoGenTemplateParserINDENT = 34 GoGenTemplateParserELSE = 35 GoGenTemplateParserFIRST = 36 GoGenTemplateParserLAST = 37 GoGenTemplateParserEVEN = 38 GoGenTemplateParserSTRING = 39 GoGenTemplateParserIDENTIFIER = 40 GoGenTemplateParserINT = 41 GoGenTemplateParserDOT = 42 GoGenTemplateParserNOT = 43 GoGenTemplateParserEXISTS = 44 GoGenTemplateParserWS = 45 )
GoGenTemplateParser tokens.
const ( GoGenTemplateParserRULE_identifier = 0 GoGenTemplateParserRULE_opn = 1 GoGenTemplateParserRULE_cls = 2 GoGenTemplateParserRULE_end = 3 GoGenTemplateParserRULE_forBlock = 4 GoGenTemplateParserRULE_ifBlock = 5 GoGenTemplateParserRULE_elseBlock = 6 GoGenTemplateParserRULE_indentBlock = 7 GoGenTemplateParserRULE_echo = 8 GoGenTemplateParserRULE_view = 9 GoGenTemplateParserRULE_viewParam = 10 GoGenTemplateParserRULE_visitDefaultParameters = 11 GoGenTemplateParserRULE_defaultParam = 12 GoGenTemplateParserRULE_importParameters = 13 GoGenTemplateParserRULE_importParameter = 14 GoGenTemplateParserRULE_rootExpression = 15 GoGenTemplateParserRULE_expression = 16 GoGenTemplateParserRULE_operand = 17 GoGenTemplateParserRULE_unaryExpression = 18 GoGenTemplateParserRULE_literal = 19 GoGenTemplateParserRULE_boolLiteral = 20 GoGenTemplateParserRULE_intLiteral = 21 GoGenTemplateParserRULE_floatLiteral = 22 GoGenTemplateParserRULE_stringLiteral = 23 GoGenTemplateParserRULE_selectorChain = 24 GoGenTemplateParserRULE_rootSelector = 25 GoGenTemplateParserRULE_selector = 26 GoGenTemplateParserRULE_fieldSelector = 27 GoGenTemplateParserRULE_index = 28 GoGenTemplateParserRULE_slice = 29 GoGenTemplateParserRULE_call = 30 GoGenTemplateParserRULE_variable = 31 )
GoGenTemplateParser rules.
Variables ¶
var GoGenTemplateLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var GoGenTemplateParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func GoGenTemplateLexerInit ¶
func GoGenTemplateLexerInit()
GoGenTemplateLexerInit initializes any static state used to implement GoGenTemplateLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewGoGenTemplateLexer(). You can call this function if you wish to initialize the static state ahead of time.
func GoGenTemplateParserInit ¶
func GoGenTemplateParserInit()
GoGenTemplateParserInit initializes any static state used to implement GoGenTemplateParser. By default the static state used to implement the parser is lazily initialized during the first call to NewGoGenTemplateParser(). You can call this function if you wish to initialize the static state ahead of time.
func InitEmptyBoolLiteralContext ¶
func InitEmptyBoolLiteralContext(p *BoolLiteralContext)
func InitEmptyCallContext ¶
func InitEmptyCallContext(p *CallContext)
func InitEmptyClsContext ¶
func InitEmptyClsContext(p *ClsContext)
func InitEmptyDefaultParamContext ¶
func InitEmptyDefaultParamContext(p *DefaultParamContext)
func InitEmptyEchoContext ¶
func InitEmptyEchoContext(p *EchoContext)
func InitEmptyElseBlockContext ¶
func InitEmptyElseBlockContext(p *ElseBlockContext)
func InitEmptyEndContext ¶
func InitEmptyEndContext(p *EndContext)
func InitEmptyExpressionContext ¶
func InitEmptyExpressionContext(p *ExpressionContext)
func InitEmptyFieldSelectorContext ¶
func InitEmptyFieldSelectorContext(p *FieldSelectorContext)
func InitEmptyFloatLiteralContext ¶
func InitEmptyFloatLiteralContext(p *FloatLiteralContext)
func InitEmptyForBlockContext ¶
func InitEmptyForBlockContext(p *ForBlockContext)
func InitEmptyIdentifierContext ¶
func InitEmptyIdentifierContext(p *IdentifierContext)
func InitEmptyIfBlockContext ¶
func InitEmptyIfBlockContext(p *IfBlockContext)
func InitEmptyImportParameterContext ¶
func InitEmptyImportParameterContext(p *ImportParameterContext)
func InitEmptyImportParametersContext ¶
func InitEmptyImportParametersContext(p *ImportParametersContext)
func InitEmptyIndentBlockContext ¶
func InitEmptyIndentBlockContext(p *IndentBlockContext)
func InitEmptyIndexContext ¶
func InitEmptyIndexContext(p *IndexContext)
func InitEmptyIntLiteralContext ¶
func InitEmptyIntLiteralContext(p *IntLiteralContext)
func InitEmptyLiteralContext ¶
func InitEmptyLiteralContext(p *LiteralContext)
func InitEmptyOperandContext ¶
func InitEmptyOperandContext(p *OperandContext)
func InitEmptyOpnContext ¶
func InitEmptyOpnContext(p *OpnContext)
func InitEmptyRootExpressionContext ¶
func InitEmptyRootExpressionContext(p *RootExpressionContext)
func InitEmptyRootSelectorContext ¶
func InitEmptyRootSelectorContext(p *RootSelectorContext)
func InitEmptySelectorChainContext ¶
func InitEmptySelectorChainContext(p *SelectorChainContext)
func InitEmptySelectorContext ¶
func InitEmptySelectorContext(p *SelectorContext)
func InitEmptySliceContext ¶
func InitEmptySliceContext(p *SliceContext)
func InitEmptyStringLiteralContext ¶
func InitEmptyStringLiteralContext(p *StringLiteralContext)
func InitEmptyUnaryExpressionContext ¶
func InitEmptyUnaryExpressionContext(p *UnaryExpressionContext)
func InitEmptyVariableContext ¶
func InitEmptyVariableContext(p *VariableContext)
func InitEmptyViewContext ¶
func InitEmptyViewContext(p *ViewContext)
func InitEmptyViewParamContext ¶
func InitEmptyViewParamContext(p *ViewParamContext)
func InitEmptyVisitDefaultParametersContext ¶
func InitEmptyVisitDefaultParametersContext(p *VisitDefaultParametersContext)
Types ¶
type BaseGoGenTemplateVisitor ¶
type BaseGoGenTemplateVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseGoGenTemplateVisitor) VisitBoolLiteral ¶
func (v *BaseGoGenTemplateVisitor) VisitBoolLiteral(ctx *BoolLiteralContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitCall ¶
func (v *BaseGoGenTemplateVisitor) VisitCall(ctx *CallContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitCls ¶
func (v *BaseGoGenTemplateVisitor) VisitCls(ctx *ClsContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitDefaultParam ¶
func (v *BaseGoGenTemplateVisitor) VisitDefaultParam(ctx *DefaultParamContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitEcho ¶
func (v *BaseGoGenTemplateVisitor) VisitEcho(ctx *EchoContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitElseBlock ¶
func (v *BaseGoGenTemplateVisitor) VisitElseBlock(ctx *ElseBlockContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitEnd ¶
func (v *BaseGoGenTemplateVisitor) VisitEnd(ctx *EndContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitExpression ¶
func (v *BaseGoGenTemplateVisitor) VisitExpression(ctx *ExpressionContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitFieldSelector ¶
func (v *BaseGoGenTemplateVisitor) VisitFieldSelector(ctx *FieldSelectorContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitFloatLiteral ¶
func (v *BaseGoGenTemplateVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitForBlock ¶
func (v *BaseGoGenTemplateVisitor) VisitForBlock(ctx *ForBlockContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitIdentifier ¶
func (v *BaseGoGenTemplateVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitIfBlock ¶
func (v *BaseGoGenTemplateVisitor) VisitIfBlock(ctx *IfBlockContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitImportParameter ¶
func (v *BaseGoGenTemplateVisitor) VisitImportParameter(ctx *ImportParameterContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitImportParameters ¶
func (v *BaseGoGenTemplateVisitor) VisitImportParameters(ctx *ImportParametersContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitIndentBlock ¶
func (v *BaseGoGenTemplateVisitor) VisitIndentBlock(ctx *IndentBlockContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitIndex ¶
func (v *BaseGoGenTemplateVisitor) VisitIndex(ctx *IndexContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitIntLiteral ¶
func (v *BaseGoGenTemplateVisitor) VisitIntLiteral(ctx *IntLiteralContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitLiteral ¶
func (v *BaseGoGenTemplateVisitor) VisitLiteral(ctx *LiteralContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitOperand ¶
func (v *BaseGoGenTemplateVisitor) VisitOperand(ctx *OperandContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitOpn ¶
func (v *BaseGoGenTemplateVisitor) VisitOpn(ctx *OpnContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitRootExpression ¶
func (v *BaseGoGenTemplateVisitor) VisitRootExpression(ctx *RootExpressionContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitRootSelector ¶
func (v *BaseGoGenTemplateVisitor) VisitRootSelector(ctx *RootSelectorContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitSelector ¶
func (v *BaseGoGenTemplateVisitor) VisitSelector(ctx *SelectorContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitSelectorChain ¶
func (v *BaseGoGenTemplateVisitor) VisitSelectorChain(ctx *SelectorChainContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitSlice ¶
func (v *BaseGoGenTemplateVisitor) VisitSlice(ctx *SliceContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitStringLiteral ¶
func (v *BaseGoGenTemplateVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitUnaryExpression ¶
func (v *BaseGoGenTemplateVisitor) VisitUnaryExpression(ctx *UnaryExpressionContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitVariable ¶
func (v *BaseGoGenTemplateVisitor) VisitVariable(ctx *VariableContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitView ¶
func (v *BaseGoGenTemplateVisitor) VisitView(ctx *ViewContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitViewParam ¶
func (v *BaseGoGenTemplateVisitor) VisitViewParam(ctx *ViewParamContext) interface{}
func (*BaseGoGenTemplateVisitor) VisitVisitDefaultParameters ¶
func (v *BaseGoGenTemplateVisitor) VisitVisitDefaultParameters(ctx *VisitDefaultParametersContext) interface{}
type BoolLiteralContext ¶
type BoolLiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBoolLiteralContext ¶
func NewBoolLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolLiteralContext
func NewEmptyBoolLiteralContext ¶
func NewEmptyBoolLiteralContext() *BoolLiteralContext
func (*BoolLiteralContext) Accept ¶
func (s *BoolLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BoolLiteralContext) GetParser ¶
func (s *BoolLiteralContext) GetParser() antlr.Parser
func (*BoolLiteralContext) GetRuleContext ¶
func (s *BoolLiteralContext) GetRuleContext() antlr.RuleContext
func (*BoolLiteralContext) IsBoolLiteralContext ¶
func (*BoolLiteralContext) IsBoolLiteralContext()
func (*BoolLiteralContext) ToStringTree ¶
func (s *BoolLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CallContext ¶
type CallContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCallContext ¶
func NewCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CallContext
func NewEmptyCallContext ¶
func NewEmptyCallContext() *CallContext
func (*CallContext) Accept ¶
func (s *CallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CallContext) GetParser ¶
func (s *CallContext) GetParser() antlr.Parser
func (*CallContext) GetRuleContext ¶
func (s *CallContext) GetRuleContext() antlr.RuleContext
func (*CallContext) IsCallContext ¶
func (*CallContext) IsCallContext()
func (*CallContext) ToStringTree ¶
func (s *CallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ClsContext ¶
type ClsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClsContext ¶
func NewClsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClsContext
func NewEmptyClsContext ¶
func NewEmptyClsContext() *ClsContext
func (*ClsContext) Accept ¶
func (s *ClsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClsContext) GetParser ¶
func (s *ClsContext) GetParser() antlr.Parser
func (*ClsContext) GetRuleContext ¶
func (s *ClsContext) GetRuleContext() antlr.RuleContext
func (*ClsContext) IsClsContext ¶
func (*ClsContext) IsClsContext()
func (*ClsContext) ToStringTree ¶
func (s *ClsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefaultParamContext ¶
type DefaultParamContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefaultParamContext ¶
func NewDefaultParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefaultParamContext
func NewEmptyDefaultParamContext ¶
func NewEmptyDefaultParamContext() *DefaultParamContext
func (*DefaultParamContext) Accept ¶
func (s *DefaultParamContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefaultParamContext) GetParser ¶
func (s *DefaultParamContext) GetParser() antlr.Parser
func (*DefaultParamContext) GetRuleContext ¶
func (s *DefaultParamContext) GetRuleContext() antlr.RuleContext
func (*DefaultParamContext) IDENTIFIER ¶
func (s *DefaultParamContext) IDENTIFIER() antlr.TerminalNode
func (*DefaultParamContext) IsDefaultParamContext ¶
func (*DefaultParamContext) IsDefaultParamContext()
func (*DefaultParamContext) Literal ¶
func (s *DefaultParamContext) Literal() ILiteralContext
func (*DefaultParamContext) ToStringTree ¶
func (s *DefaultParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EchoContext ¶
type EchoContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEchoContext ¶
func NewEchoContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EchoContext
func NewEmptyEchoContext ¶
func NewEmptyEchoContext() *EchoContext
func (*EchoContext) Accept ¶
func (s *EchoContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EchoContext) Cls ¶
func (s *EchoContext) Cls() IClsContext
func (*EchoContext) Expression ¶
func (s *EchoContext) Expression() IExpressionContext
func (*EchoContext) GetParser ¶
func (s *EchoContext) GetParser() antlr.Parser
func (*EchoContext) GetRuleContext ¶
func (s *EchoContext) GetRuleContext() antlr.RuleContext
func (*EchoContext) IsEchoContext ¶
func (*EchoContext) IsEchoContext()
func (*EchoContext) Opn ¶
func (s *EchoContext) Opn() IOpnContext
func (*EchoContext) ToStringTree ¶
func (s *EchoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ElseBlockContext ¶
type ElseBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElseBlockContext ¶
func NewElseBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElseBlockContext
func NewEmptyElseBlockContext ¶
func NewEmptyElseBlockContext() *ElseBlockContext
func (*ElseBlockContext) Accept ¶
func (s *ElseBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ElseBlockContext) Cls ¶
func (s *ElseBlockContext) Cls() IClsContext
func (*ElseBlockContext) ELSE ¶
func (s *ElseBlockContext) ELSE() antlr.TerminalNode
func (*ElseBlockContext) GetParser ¶
func (s *ElseBlockContext) GetParser() antlr.Parser
func (*ElseBlockContext) GetRuleContext ¶
func (s *ElseBlockContext) GetRuleContext() antlr.RuleContext
func (*ElseBlockContext) IsElseBlockContext ¶
func (*ElseBlockContext) IsElseBlockContext()
func (*ElseBlockContext) Opn ¶
func (s *ElseBlockContext) Opn() IOpnContext
func (*ElseBlockContext) ToStringTree ¶
func (s *ElseBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EndContext ¶
type EndContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEndContext ¶
func NewEmptyEndContext() *EndContext
func NewEndContext ¶
func NewEndContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EndContext
func (*EndContext) Accept ¶
func (s *EndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EndContext) Cls ¶
func (s *EndContext) Cls() IClsContext
func (*EndContext) END ¶
func (s *EndContext) END() antlr.TerminalNode
func (*EndContext) GetParser ¶
func (s *EndContext) GetParser() antlr.Parser
func (*EndContext) GetRuleContext ¶
func (s *EndContext) GetRuleContext() antlr.RuleContext
func (*EndContext) IsEndContext ¶
func (*EndContext) IsEndContext()
func (*EndContext) Opn ¶
func (s *EndContext) Opn() IOpnContext
func (*EndContext) ToStringTree ¶
func (s *EndContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionContext ¶
type ExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) Accept ¶
func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionContext) AllExpression ¶
func (s *ExpressionContext) AllExpression() []IExpressionContext
func (*ExpressionContext) Expression ¶
func (s *ExpressionContext) Expression(i int) IExpressionContext
func (*ExpressionContext) GetFilter ¶
func (s *ExpressionContext) GetFilter() antlr.Token
func (*ExpressionContext) GetOperator ¶
func (s *ExpressionContext) GetOperator() antlr.Token
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) IDENTIFIER ¶
func (s *ExpressionContext) IDENTIFIER() antlr.TerminalNode
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) Operand ¶
func (s *ExpressionContext) Operand() IOperandContext
func (*ExpressionContext) SetFilter ¶
func (s *ExpressionContext) SetFilter(v antlr.Token)
func (*ExpressionContext) SetOperator ¶
func (s *ExpressionContext) SetOperator(v antlr.Token)
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ExpressionContext) UnaryExpression ¶
func (s *ExpressionContext) UnaryExpression() IUnaryExpressionContext
type FieldSelectorContext ¶
type FieldSelectorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldSelectorContext ¶
func NewEmptyFieldSelectorContext() *FieldSelectorContext
func NewFieldSelectorContext ¶
func NewFieldSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldSelectorContext
func (*FieldSelectorContext) Accept ¶
func (s *FieldSelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FieldSelectorContext) DOT ¶
func (s *FieldSelectorContext) DOT() antlr.TerminalNode
func (*FieldSelectorContext) GetParser ¶
func (s *FieldSelectorContext) GetParser() antlr.Parser
func (*FieldSelectorContext) GetRuleContext ¶
func (s *FieldSelectorContext) GetRuleContext() antlr.RuleContext
func (*FieldSelectorContext) Identifier ¶
func (s *FieldSelectorContext) Identifier() IIdentifierContext
func (*FieldSelectorContext) IsFieldSelectorContext ¶
func (*FieldSelectorContext) IsFieldSelectorContext()
func (*FieldSelectorContext) ToStringTree ¶
func (s *FieldSelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FloatLiteralContext ¶
type FloatLiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFloatLiteralContext ¶
func NewEmptyFloatLiteralContext() *FloatLiteralContext
func NewFloatLiteralContext ¶
func NewFloatLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatLiteralContext
func (*FloatLiteralContext) Accept ¶
func (s *FloatLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FloatLiteralContext) AllINT ¶
func (s *FloatLiteralContext) AllINT() []antlr.TerminalNode
func (*FloatLiteralContext) DOT ¶
func (s *FloatLiteralContext) DOT() antlr.TerminalNode
func (*FloatLiteralContext) GetParser ¶
func (s *FloatLiteralContext) GetParser() antlr.Parser
func (*FloatLiteralContext) GetRuleContext ¶
func (s *FloatLiteralContext) GetRuleContext() antlr.RuleContext
func (*FloatLiteralContext) INT ¶
func (s *FloatLiteralContext) INT(i int) antlr.TerminalNode
func (*FloatLiteralContext) IsFloatLiteralContext ¶
func (*FloatLiteralContext) IsFloatLiteralContext()
func (*FloatLiteralContext) ToStringTree ¶
func (s *FloatLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ForBlockContext ¶
type ForBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyForBlockContext ¶
func NewEmptyForBlockContext() *ForBlockContext
func NewForBlockContext ¶
func NewForBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForBlockContext
func (*ForBlockContext) Accept ¶
func (s *ForBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ForBlockContext) AllEVEN ¶
func (s *ForBlockContext) AllEVEN() []antlr.TerminalNode
func (*ForBlockContext) AllFIRST ¶
func (s *ForBlockContext) AllFIRST() []antlr.TerminalNode
func (*ForBlockContext) AllIdentifier ¶
func (s *ForBlockContext) AllIdentifier() []IIdentifierContext
func (*ForBlockContext) AllLAST ¶
func (s *ForBlockContext) AllLAST() []antlr.TerminalNode
func (*ForBlockContext) Cls ¶
func (s *ForBlockContext) Cls() IClsContext
func (*ForBlockContext) EVEN ¶
func (s *ForBlockContext) EVEN(i int) antlr.TerminalNode
func (*ForBlockContext) Expression ¶
func (s *ForBlockContext) Expression() IExpressionContext
func (*ForBlockContext) FIRST ¶
func (s *ForBlockContext) FIRST(i int) antlr.TerminalNode
func (*ForBlockContext) FOR ¶
func (s *ForBlockContext) FOR() antlr.TerminalNode
func (*ForBlockContext) GetKey ¶
func (s *ForBlockContext) GetKey() IIdentifierContext
func (*ForBlockContext) GetParser ¶
func (s *ForBlockContext) GetParser() antlr.Parser
func (*ForBlockContext) GetRuleContext ¶
func (s *ForBlockContext) GetRuleContext() antlr.RuleContext
func (*ForBlockContext) GetValue ¶
func (s *ForBlockContext) GetValue() IIdentifierContext
func (*ForBlockContext) IN ¶
func (s *ForBlockContext) IN() antlr.TerminalNode
func (*ForBlockContext) Identifier ¶
func (s *ForBlockContext) Identifier(i int) IIdentifierContext
func (*ForBlockContext) IsForBlockContext ¶
func (*ForBlockContext) IsForBlockContext()
func (*ForBlockContext) LAST ¶
func (s *ForBlockContext) LAST(i int) antlr.TerminalNode
func (*ForBlockContext) Opn ¶
func (s *ForBlockContext) Opn() IOpnContext
func (*ForBlockContext) SetKey ¶
func (s *ForBlockContext) SetKey(v IIdentifierContext)
func (*ForBlockContext) SetValue ¶
func (s *ForBlockContext) SetValue(v IIdentifierContext)
func (*ForBlockContext) ToStringTree ¶
func (s *ForBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GoGenTemplateLexer ¶
type GoGenTemplateLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewGoGenTemplateLexer ¶
func NewGoGenTemplateLexer(input antlr.CharStream) *GoGenTemplateLexer
NewGoGenTemplateLexer produces a new lexer instance for the optional input antlr.CharStream.
type GoGenTemplateParser ¶
type GoGenTemplateParser struct {
*antlr.BaseParser
}
func NewGoGenTemplateParser ¶
func NewGoGenTemplateParser(input antlr.TokenStream) *GoGenTemplateParser
NewGoGenTemplateParser produces a new parser instance for the optional input antlr.TokenStream.
func (*GoGenTemplateParser) BoolLiteral ¶
func (p *GoGenTemplateParser) BoolLiteral() (localctx IBoolLiteralContext)
func (*GoGenTemplateParser) Call ¶
func (p *GoGenTemplateParser) Call() (localctx ICallContext)
func (*GoGenTemplateParser) Cls ¶
func (p *GoGenTemplateParser) Cls() (localctx IClsContext)
func (*GoGenTemplateParser) DefaultParam ¶
func (p *GoGenTemplateParser) DefaultParam() (localctx IDefaultParamContext)
func (*GoGenTemplateParser) Echo ¶
func (p *GoGenTemplateParser) Echo() (localctx IEchoContext)
func (*GoGenTemplateParser) ElseBlock ¶
func (p *GoGenTemplateParser) ElseBlock() (localctx IElseBlockContext)
func (*GoGenTemplateParser) End ¶
func (p *GoGenTemplateParser) End() (localctx IEndContext)
func (*GoGenTemplateParser) Expression ¶
func (p *GoGenTemplateParser) Expression() (localctx IExpressionContext)
func (*GoGenTemplateParser) Expression_Sempred ¶
func (p *GoGenTemplateParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*GoGenTemplateParser) FieldSelector ¶
func (p *GoGenTemplateParser) FieldSelector() (localctx IFieldSelectorContext)
func (*GoGenTemplateParser) FloatLiteral ¶
func (p *GoGenTemplateParser) FloatLiteral() (localctx IFloatLiteralContext)
func (*GoGenTemplateParser) ForBlock ¶
func (p *GoGenTemplateParser) ForBlock() (localctx IForBlockContext)
func (*GoGenTemplateParser) Identifier ¶
func (p *GoGenTemplateParser) Identifier() (localctx IIdentifierContext)
func (*GoGenTemplateParser) IfBlock ¶
func (p *GoGenTemplateParser) IfBlock() (localctx IIfBlockContext)
func (*GoGenTemplateParser) ImportParameter ¶
func (p *GoGenTemplateParser) ImportParameter() (localctx IImportParameterContext)
func (*GoGenTemplateParser) ImportParameters ¶
func (p *GoGenTemplateParser) ImportParameters() (localctx IImportParametersContext)
func (*GoGenTemplateParser) IndentBlock ¶
func (p *GoGenTemplateParser) IndentBlock() (localctx IIndentBlockContext)
func (*GoGenTemplateParser) Index ¶
func (p *GoGenTemplateParser) Index() (localctx IIndexContext)
func (*GoGenTemplateParser) IntLiteral ¶
func (p *GoGenTemplateParser) IntLiteral() (localctx IIntLiteralContext)
func (*GoGenTemplateParser) Literal ¶
func (p *GoGenTemplateParser) Literal() (localctx ILiteralContext)
func (*GoGenTemplateParser) Operand ¶
func (p *GoGenTemplateParser) Operand() (localctx IOperandContext)
func (*GoGenTemplateParser) Opn ¶
func (p *GoGenTemplateParser) Opn() (localctx IOpnContext)
func (*GoGenTemplateParser) RootExpression ¶
func (p *GoGenTemplateParser) RootExpression() (localctx IRootExpressionContext)
func (*GoGenTemplateParser) RootSelector ¶
func (p *GoGenTemplateParser) RootSelector() (localctx IRootSelectorContext)
func (*GoGenTemplateParser) Selector ¶
func (p *GoGenTemplateParser) Selector() (localctx ISelectorContext)
func (*GoGenTemplateParser) SelectorChain ¶
func (p *GoGenTemplateParser) SelectorChain() (localctx ISelectorChainContext)
func (*GoGenTemplateParser) Sempred ¶
func (p *GoGenTemplateParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*GoGenTemplateParser) Slice ¶
func (p *GoGenTemplateParser) Slice() (localctx ISliceContext)
func (*GoGenTemplateParser) StringLiteral ¶
func (p *GoGenTemplateParser) StringLiteral() (localctx IStringLiteralContext)
func (*GoGenTemplateParser) UnaryExpression ¶
func (p *GoGenTemplateParser) UnaryExpression() (localctx IUnaryExpressionContext)
func (*GoGenTemplateParser) Variable ¶
func (p *GoGenTemplateParser) Variable() (localctx IVariableContext)
func (*GoGenTemplateParser) View ¶
func (p *GoGenTemplateParser) View() (localctx IViewContext)
func (*GoGenTemplateParser) ViewParam ¶
func (p *GoGenTemplateParser) ViewParam() (localctx IViewParamContext)
func (*GoGenTemplateParser) VisitDefaultParameters ¶
func (p *GoGenTemplateParser) VisitDefaultParameters() (localctx IVisitDefaultParametersContext)
type GoGenTemplateVisitor ¶
type GoGenTemplateVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by GoGenTemplateParser#identifier. VisitIdentifier(ctx *IdentifierContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#opn. VisitOpn(ctx *OpnContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#cls. VisitCls(ctx *ClsContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#end. VisitEnd(ctx *EndContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#forBlock. VisitForBlock(ctx *ForBlockContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#ifBlock. VisitIfBlock(ctx *IfBlockContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#elseBlock. VisitElseBlock(ctx *ElseBlockContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#indentBlock. VisitIndentBlock(ctx *IndentBlockContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#echo. VisitEcho(ctx *EchoContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#view. VisitView(ctx *ViewContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#viewParam. VisitViewParam(ctx *ViewParamContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#visitDefaultParameters. VisitVisitDefaultParameters(ctx *VisitDefaultParametersContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#defaultParam. VisitDefaultParam(ctx *DefaultParamContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#importParameters. VisitImportParameters(ctx *ImportParametersContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#importParameter. VisitImportParameter(ctx *ImportParameterContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#rootExpression. VisitRootExpression(ctx *RootExpressionContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#expression. VisitExpression(ctx *ExpressionContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#operand. VisitOperand(ctx *OperandContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#unaryExpression. VisitUnaryExpression(ctx *UnaryExpressionContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#literal. VisitLiteral(ctx *LiteralContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#boolLiteral. VisitBoolLiteral(ctx *BoolLiteralContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#intLiteral. VisitIntLiteral(ctx *IntLiteralContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#floatLiteral. VisitFloatLiteral(ctx *FloatLiteralContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#stringLiteral. VisitStringLiteral(ctx *StringLiteralContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#selectorChain. VisitSelectorChain(ctx *SelectorChainContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#rootSelector. VisitRootSelector(ctx *RootSelectorContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#selector. VisitSelector(ctx *SelectorContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#fieldSelector. VisitFieldSelector(ctx *FieldSelectorContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#index. VisitIndex(ctx *IndexContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#slice. VisitSlice(ctx *SliceContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#call. VisitCall(ctx *CallContext) interface{} // Visit a parse tree produced by GoGenTemplateParser#variable. VisitVariable(ctx *VariableContext) interface{} }
A complete Visitor for a parse tree produced by GoGenTemplateParser.
type IBoolLiteralContext ¶
type IBoolLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBoolLiteralContext differentiates from other interfaces. IsBoolLiteralContext() }
IBoolLiteralContext is an interface to support dynamic dispatch.
type ICallContext ¶
type ICallContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCallContext differentiates from other interfaces. IsCallContext() }
ICallContext is an interface to support dynamic dispatch.
type IClsContext ¶
type IClsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsClsContext differentiates from other interfaces. IsClsContext() }
IClsContext is an interface to support dynamic dispatch.
type IDefaultParamContext ¶
type IDefaultParamContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode Literal() ILiteralContext // IsDefaultParamContext differentiates from other interfaces. IsDefaultParamContext() }
IDefaultParamContext is an interface to support dynamic dispatch.
type IEchoContext ¶
type IEchoContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Opn() IOpnContext Expression() IExpressionContext Cls() IClsContext // IsEchoContext differentiates from other interfaces. IsEchoContext() }
IEchoContext is an interface to support dynamic dispatch.
type IElseBlockContext ¶
type IElseBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Opn() IOpnContext ELSE() antlr.TerminalNode Cls() IClsContext // IsElseBlockContext differentiates from other interfaces. IsElseBlockContext() }
IElseBlockContext is an interface to support dynamic dispatch.
type IEndContext ¶
type IEndContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Opn() IOpnContext END() antlr.TerminalNode Cls() IClsContext // IsEndContext differentiates from other interfaces. IsEndContext() }
IEndContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOperator returns the operator token. GetOperator() antlr.Token // GetFilter returns the filter token. GetFilter() antlr.Token // SetOperator sets the operator token. SetOperator(antlr.Token) // SetFilter sets the filter token. SetFilter(antlr.Token) // Getter signatures Operand() IOperandContext UnaryExpression() IUnaryExpressionContext AllExpression() []IExpressionContext Expression(i int) IExpressionContext IDENTIFIER() antlr.TerminalNode // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFieldSelectorContext ¶
type IFieldSelectorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DOT() antlr.TerminalNode Identifier() IIdentifierContext // IsFieldSelectorContext differentiates from other interfaces. IsFieldSelectorContext() }
IFieldSelectorContext is an interface to support dynamic dispatch.
type IFloatLiteralContext ¶
type IFloatLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllINT() []antlr.TerminalNode INT(i int) antlr.TerminalNode DOT() antlr.TerminalNode // IsFloatLiteralContext differentiates from other interfaces. IsFloatLiteralContext() }
IFloatLiteralContext is an interface to support dynamic dispatch.
type IForBlockContext ¶
type IForBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetKey returns the key rule contexts. GetKey() IIdentifierContext // GetValue returns the value rule contexts. GetValue() IIdentifierContext // SetKey sets the key rule contexts. SetKey(IIdentifierContext) // SetValue sets the value rule contexts. SetValue(IIdentifierContext) // Getter signatures Opn() IOpnContext FOR() antlr.TerminalNode IN() antlr.TerminalNode Expression() IExpressionContext Cls() IClsContext AllIdentifier() []IIdentifierContext Identifier(i int) IIdentifierContext AllFIRST() []antlr.TerminalNode FIRST(i int) antlr.TerminalNode AllLAST() []antlr.TerminalNode LAST(i int) antlr.TerminalNode AllEVEN() []antlr.TerminalNode EVEN(i int) antlr.TerminalNode // IsForBlockContext differentiates from other interfaces. IsForBlockContext() }
IForBlockContext is an interface to support dynamic dispatch.
type IIdentifierContext ¶
type IIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode FOR() antlr.TerminalNode IN() antlr.TerminalNode END() antlr.TerminalNode IF() antlr.TerminalNode ELSE() antlr.TerminalNode FIRST() antlr.TerminalNode LAST() antlr.TerminalNode EVEN() antlr.TerminalNode INDENT() antlr.TerminalNode // IsIdentifierContext differentiates from other interfaces. IsIdentifierContext() }
IIdentifierContext is an interface to support dynamic dispatch.
type IIfBlockContext ¶
type IIfBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Opn() IOpnContext IF() antlr.TerminalNode Expression() IExpressionContext Cls() IClsContext // IsIfBlockContext differentiates from other interfaces. IsIfBlockContext() }
IIfBlockContext is an interface to support dynamic dispatch.
type IImportParameterContext ¶
type IImportParameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode Expression() IExpressionContext // IsImportParameterContext differentiates from other interfaces. IsImportParameterContext() }
IImportParameterContext is an interface to support dynamic dispatch.
type IImportParametersContext ¶
type IImportParametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllImportParameter() []IImportParameterContext ImportParameter(i int) IImportParameterContext // IsImportParametersContext differentiates from other interfaces. IsImportParametersContext() }
IImportParametersContext is an interface to support dynamic dispatch.
type IIndentBlockContext ¶
type IIndentBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Opn() IOpnContext INDENT() antlr.TerminalNode Cls() IClsContext Expression() IExpressionContext // IsIndentBlockContext differentiates from other interfaces. IsIndentBlockContext() }
IIndentBlockContext is an interface to support dynamic dispatch.
type IIndexContext ¶
type IIndexContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Expression() IExpressionContext // IsIndexContext differentiates from other interfaces. IsIndexContext() }
IIndexContext is an interface to support dynamic dispatch.
type IIntLiteralContext ¶
type IIntLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures INT() antlr.TerminalNode // IsIntLiteralContext differentiates from other interfaces. IsIntLiteralContext() }
IIntLiteralContext is an interface to support dynamic dispatch.
type ILiteralContext ¶
type ILiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BoolLiteral() IBoolLiteralContext IntLiteral() IIntLiteralContext FloatLiteral() IFloatLiteralContext StringLiteral() IStringLiteralContext // IsLiteralContext differentiates from other interfaces. IsLiteralContext() }
ILiteralContext is an interface to support dynamic dispatch.
type IOperandContext ¶
type IOperandContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Literal() ILiteralContext SelectorChain() ISelectorChainContext Expression() IExpressionContext // IsOperandContext differentiates from other interfaces. IsOperandContext() }
IOperandContext is an interface to support dynamic dispatch.
type IOpnContext ¶
type IOpnContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOpnContext differentiates from other interfaces. IsOpnContext() }
IOpnContext is an interface to support dynamic dispatch.
type IRootExpressionContext ¶
type IRootExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Expression() IExpressionContext EOF() antlr.TerminalNode // IsRootExpressionContext differentiates from other interfaces. IsRootExpressionContext() }
IRootExpressionContext is an interface to support dynamic dispatch.
type IRootSelectorContext ¶
type IRootSelectorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DOT() antlr.TerminalNode Index() IIndexContext SelectorChain() ISelectorChainContext // IsRootSelectorContext differentiates from other interfaces. IsRootSelectorContext() }
IRootSelectorContext is an interface to support dynamic dispatch.
type ISelectorChainContext ¶
type ISelectorChainContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RootSelector() IRootSelectorContext Variable() IVariableContext AllSelector() []ISelectorContext Selector(i int) ISelectorContext // IsSelectorChainContext differentiates from other interfaces. IsSelectorChainContext() }
ISelectorChainContext is an interface to support dynamic dispatch.
type ISelectorContext ¶
type ISelectorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures FieldSelector() IFieldSelectorContext Index() IIndexContext Slice() ISliceContext Call() ICallContext // IsSelectorContext differentiates from other interfaces. IsSelectorContext() }
ISelectorContext is an interface to support dynamic dispatch.
type ISliceContext ¶
type ISliceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetFrom returns the from rule contexts. GetFrom() IExpressionContext // GetTo returns the to rule contexts. GetTo() IExpressionContext // SetFrom sets the from rule contexts. SetFrom(IExpressionContext) // SetTo sets the to rule contexts. SetTo(IExpressionContext) // Getter signatures AllExpression() []IExpressionContext Expression(i int) IExpressionContext // IsSliceContext differentiates from other interfaces. IsSliceContext() }
ISliceContext is an interface to support dynamic dispatch.
type IStringLiteralContext ¶
type IStringLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures STRING() antlr.TerminalNode // IsStringLiteralContext differentiates from other interfaces. IsStringLiteralContext() }
IStringLiteralContext is an interface to support dynamic dispatch.
type IUnaryExpressionContext ¶
type IUnaryExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NOT() antlr.TerminalNode Expression() IExpressionContext EXISTS() antlr.TerminalNode Variable() IVariableContext // IsUnaryExpressionContext differentiates from other interfaces. IsUnaryExpressionContext() }
IUnaryExpressionContext is an interface to support dynamic dispatch.
type IVariableContext ¶
type IVariableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() IIdentifierContext // IsVariableContext differentiates from other interfaces. IsVariableContext() }
IVariableContext is an interface to support dynamic dispatch.
type IViewContext ¶
type IViewContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetPkg returns the pkg token. GetPkg() antlr.Token // GetName returns the name token. GetName() antlr.Token // SetPkg sets the pkg token. SetPkg(antlr.Token) // SetName sets the name token. SetName(antlr.Token) // Getter signatures Opn() IOpnContext Expression() IExpressionContext Cls() IClsContext AllViewParam() []IViewParamContext ViewParam(i int) IViewParamContext AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode DOT() antlr.TerminalNode // IsViewContext differentiates from other interfaces. IsViewContext() }
IViewContext is an interface to support dynamic dispatch.
type IViewParamContext ¶
type IViewParamContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode Expression() IExpressionContext // IsViewParamContext differentiates from other interfaces. IsViewParamContext() }
IViewParamContext is an interface to support dynamic dispatch.
type IVisitDefaultParametersContext ¶
type IVisitDefaultParametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllDefaultParam() []IDefaultParamContext DefaultParam(i int) IDefaultParamContext // IsVisitDefaultParametersContext differentiates from other interfaces. IsVisitDefaultParametersContext() }
IVisitDefaultParametersContext 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) ELSE ¶
func (s *IdentifierContext) ELSE() antlr.TerminalNode
func (*IdentifierContext) END ¶
func (s *IdentifierContext) END() antlr.TerminalNode
func (*IdentifierContext) EVEN ¶
func (s *IdentifierContext) EVEN() antlr.TerminalNode
func (*IdentifierContext) FIRST ¶
func (s *IdentifierContext) FIRST() antlr.TerminalNode
func (*IdentifierContext) FOR ¶
func (s *IdentifierContext) FOR() 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) IF ¶
func (s *IdentifierContext) IF() antlr.TerminalNode
func (*IdentifierContext) IN ¶
func (s *IdentifierContext) IN() antlr.TerminalNode
func (*IdentifierContext) INDENT ¶
func (s *IdentifierContext) INDENT() antlr.TerminalNode
func (*IdentifierContext) IsIdentifierContext ¶
func (*IdentifierContext) IsIdentifierContext()
func (*IdentifierContext) LAST ¶
func (s *IdentifierContext) LAST() antlr.TerminalNode
func (*IdentifierContext) ToStringTree ¶
func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IfBlockContext ¶
type IfBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIfBlockContext ¶
func NewEmptyIfBlockContext() *IfBlockContext
func NewIfBlockContext ¶
func NewIfBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfBlockContext
func (*IfBlockContext) Accept ¶
func (s *IfBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IfBlockContext) Cls ¶
func (s *IfBlockContext) Cls() IClsContext
func (*IfBlockContext) Expression ¶
func (s *IfBlockContext) Expression() IExpressionContext
func (*IfBlockContext) GetParser ¶
func (s *IfBlockContext) GetParser() antlr.Parser
func (*IfBlockContext) GetRuleContext ¶
func (s *IfBlockContext) GetRuleContext() antlr.RuleContext
func (*IfBlockContext) IF ¶
func (s *IfBlockContext) IF() antlr.TerminalNode
func (*IfBlockContext) IsIfBlockContext ¶
func (*IfBlockContext) IsIfBlockContext()
func (*IfBlockContext) Opn ¶
func (s *IfBlockContext) Opn() IOpnContext
func (*IfBlockContext) ToStringTree ¶
func (s *IfBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportParameterContext ¶
type ImportParameterContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportParameterContext ¶
func NewEmptyImportParameterContext() *ImportParameterContext
func NewImportParameterContext ¶
func NewImportParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportParameterContext
func (*ImportParameterContext) Accept ¶
func (s *ImportParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportParameterContext) Expression ¶
func (s *ImportParameterContext) Expression() IExpressionContext
func (*ImportParameterContext) GetParser ¶
func (s *ImportParameterContext) GetParser() antlr.Parser
func (*ImportParameterContext) GetRuleContext ¶
func (s *ImportParameterContext) GetRuleContext() antlr.RuleContext
func (*ImportParameterContext) IDENTIFIER ¶
func (s *ImportParameterContext) IDENTIFIER() antlr.TerminalNode
func (*ImportParameterContext) IsImportParameterContext ¶
func (*ImportParameterContext) IsImportParameterContext()
func (*ImportParameterContext) ToStringTree ¶
func (s *ImportParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportParametersContext ¶
type ImportParametersContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportParametersContext ¶
func NewEmptyImportParametersContext() *ImportParametersContext
func NewImportParametersContext ¶
func NewImportParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportParametersContext
func (*ImportParametersContext) Accept ¶
func (s *ImportParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportParametersContext) AllImportParameter ¶
func (s *ImportParametersContext) AllImportParameter() []IImportParameterContext
func (*ImportParametersContext) GetParser ¶
func (s *ImportParametersContext) GetParser() antlr.Parser
func (*ImportParametersContext) GetRuleContext ¶
func (s *ImportParametersContext) GetRuleContext() antlr.RuleContext
func (*ImportParametersContext) ImportParameter ¶
func (s *ImportParametersContext) ImportParameter(i int) IImportParameterContext
func (*ImportParametersContext) IsImportParametersContext ¶
func (*ImportParametersContext) IsImportParametersContext()
func (*ImportParametersContext) ToStringTree ¶
func (s *ImportParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IndentBlockContext ¶
type IndentBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIndentBlockContext ¶
func NewEmptyIndentBlockContext() *IndentBlockContext
func NewIndentBlockContext ¶
func NewIndentBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndentBlockContext
func (*IndentBlockContext) Accept ¶
func (s *IndentBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IndentBlockContext) Cls ¶
func (s *IndentBlockContext) Cls() IClsContext
func (*IndentBlockContext) Expression ¶
func (s *IndentBlockContext) Expression() IExpressionContext
func (*IndentBlockContext) GetParser ¶
func (s *IndentBlockContext) GetParser() antlr.Parser
func (*IndentBlockContext) GetRuleContext ¶
func (s *IndentBlockContext) GetRuleContext() antlr.RuleContext
func (*IndentBlockContext) INDENT ¶
func (s *IndentBlockContext) INDENT() antlr.TerminalNode
func (*IndentBlockContext) IsIndentBlockContext ¶
func (*IndentBlockContext) IsIndentBlockContext()
func (*IndentBlockContext) Opn ¶
func (s *IndentBlockContext) Opn() IOpnContext
func (*IndentBlockContext) ToStringTree ¶
func (s *IndentBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IndexContext ¶
type IndexContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIndexContext ¶
func NewEmptyIndexContext() *IndexContext
func NewIndexContext ¶
func NewIndexContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexContext
func (*IndexContext) Accept ¶
func (s *IndexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IndexContext) Expression ¶
func (s *IndexContext) Expression() IExpressionContext
func (*IndexContext) GetParser ¶
func (s *IndexContext) GetParser() antlr.Parser
func (*IndexContext) GetRuleContext ¶
func (s *IndexContext) GetRuleContext() antlr.RuleContext
func (*IndexContext) IsIndexContext ¶
func (*IndexContext) IsIndexContext()
func (*IndexContext) ToStringTree ¶
func (s *IndexContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IntLiteralContext ¶
type IntLiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIntLiteralContext ¶
func NewEmptyIntLiteralContext() *IntLiteralContext
func NewIntLiteralContext ¶
func NewIntLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntLiteralContext
func (*IntLiteralContext) Accept ¶
func (s *IntLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IntLiteralContext) GetParser ¶
func (s *IntLiteralContext) GetParser() antlr.Parser
func (*IntLiteralContext) GetRuleContext ¶
func (s *IntLiteralContext) GetRuleContext() antlr.RuleContext
func (*IntLiteralContext) INT ¶
func (s *IntLiteralContext) INT() antlr.TerminalNode
func (*IntLiteralContext) IsIntLiteralContext ¶
func (*IntLiteralContext) IsIntLiteralContext()
func (*IntLiteralContext) ToStringTree ¶
func (s *IntLiteralContext) 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) BoolLiteral ¶
func (s *LiteralContext) BoolLiteral() IBoolLiteralContext
func (*LiteralContext) FloatLiteral ¶
func (s *LiteralContext) FloatLiteral() IFloatLiteralContext
func (*LiteralContext) GetParser ¶
func (s *LiteralContext) GetParser() antlr.Parser
func (*LiteralContext) GetRuleContext ¶
func (s *LiteralContext) GetRuleContext() antlr.RuleContext
func (*LiteralContext) IntLiteral ¶
func (s *LiteralContext) IntLiteral() IIntLiteralContext
func (*LiteralContext) IsLiteralContext ¶
func (*LiteralContext) IsLiteralContext()
func (*LiteralContext) StringLiteral ¶
func (s *LiteralContext) StringLiteral() IStringLiteralContext
func (*LiteralContext) ToStringTree ¶
func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OperandContext ¶
type OperandContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperandContext ¶
func NewEmptyOperandContext() *OperandContext
func NewOperandContext ¶
func NewOperandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperandContext
func (*OperandContext) Accept ¶
func (s *OperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OperandContext) Expression ¶
func (s *OperandContext) Expression() IExpressionContext
func (*OperandContext) GetParser ¶
func (s *OperandContext) GetParser() antlr.Parser
func (*OperandContext) GetRuleContext ¶
func (s *OperandContext) GetRuleContext() antlr.RuleContext
func (*OperandContext) IsOperandContext ¶
func (*OperandContext) IsOperandContext()
func (*OperandContext) Literal ¶
func (s *OperandContext) Literal() ILiteralContext
func (*OperandContext) SelectorChain ¶
func (s *OperandContext) SelectorChain() ISelectorChainContext
func (*OperandContext) ToStringTree ¶
func (s *OperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OpnContext ¶
type OpnContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOpnContext ¶
func NewEmptyOpnContext() *OpnContext
func NewOpnContext ¶
func NewOpnContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OpnContext
func (*OpnContext) Accept ¶
func (s *OpnContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OpnContext) GetParser ¶
func (s *OpnContext) GetParser() antlr.Parser
func (*OpnContext) GetRuleContext ¶
func (s *OpnContext) GetRuleContext() antlr.RuleContext
func (*OpnContext) IsOpnContext ¶
func (*OpnContext) IsOpnContext()
func (*OpnContext) ToStringTree ¶
func (s *OpnContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RootExpressionContext ¶
type RootExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRootExpressionContext ¶
func NewEmptyRootExpressionContext() *RootExpressionContext
func NewRootExpressionContext ¶
func NewRootExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootExpressionContext
func (*RootExpressionContext) Accept ¶
func (s *RootExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RootExpressionContext) EOF ¶
func (s *RootExpressionContext) EOF() antlr.TerminalNode
func (*RootExpressionContext) Expression ¶
func (s *RootExpressionContext) Expression() IExpressionContext
func (*RootExpressionContext) GetParser ¶
func (s *RootExpressionContext) GetParser() antlr.Parser
func (*RootExpressionContext) GetRuleContext ¶
func (s *RootExpressionContext) GetRuleContext() antlr.RuleContext
func (*RootExpressionContext) IsRootExpressionContext ¶
func (*RootExpressionContext) IsRootExpressionContext()
func (*RootExpressionContext) ToStringTree ¶
func (s *RootExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RootSelectorContext ¶
type RootSelectorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRootSelectorContext ¶
func NewEmptyRootSelectorContext() *RootSelectorContext
func NewRootSelectorContext ¶
func NewRootSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootSelectorContext
func (*RootSelectorContext) Accept ¶
func (s *RootSelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RootSelectorContext) DOT ¶
func (s *RootSelectorContext) DOT() antlr.TerminalNode
func (*RootSelectorContext) GetParser ¶
func (s *RootSelectorContext) GetParser() antlr.Parser
func (*RootSelectorContext) GetRuleContext ¶
func (s *RootSelectorContext) GetRuleContext() antlr.RuleContext
func (*RootSelectorContext) Index ¶
func (s *RootSelectorContext) Index() IIndexContext
func (*RootSelectorContext) IsRootSelectorContext ¶
func (*RootSelectorContext) IsRootSelectorContext()
func (*RootSelectorContext) SelectorChain ¶
func (s *RootSelectorContext) SelectorChain() ISelectorChainContext
func (*RootSelectorContext) ToStringTree ¶
func (s *RootSelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SelectorChainContext ¶
type SelectorChainContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySelectorChainContext ¶
func NewEmptySelectorChainContext() *SelectorChainContext
func NewSelectorChainContext ¶
func NewSelectorChainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorChainContext
func (*SelectorChainContext) Accept ¶
func (s *SelectorChainContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectorChainContext) AllSelector ¶
func (s *SelectorChainContext) AllSelector() []ISelectorContext
func (*SelectorChainContext) GetParser ¶
func (s *SelectorChainContext) GetParser() antlr.Parser
func (*SelectorChainContext) GetRuleContext ¶
func (s *SelectorChainContext) GetRuleContext() antlr.RuleContext
func (*SelectorChainContext) IsSelectorChainContext ¶
func (*SelectorChainContext) IsSelectorChainContext()
func (*SelectorChainContext) RootSelector ¶
func (s *SelectorChainContext) RootSelector() IRootSelectorContext
func (*SelectorChainContext) Selector ¶
func (s *SelectorChainContext) Selector(i int) ISelectorContext
func (*SelectorChainContext) ToStringTree ¶
func (s *SelectorChainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SelectorChainContext) Variable ¶
func (s *SelectorChainContext) Variable() IVariableContext
type SelectorContext ¶
type SelectorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySelectorContext ¶
func NewEmptySelectorContext() *SelectorContext
func NewSelectorContext ¶
func NewSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorContext
func (*SelectorContext) Accept ¶
func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectorContext) Call ¶
func (s *SelectorContext) Call() ICallContext
func (*SelectorContext) FieldSelector ¶
func (s *SelectorContext) FieldSelector() IFieldSelectorContext
func (*SelectorContext) GetParser ¶
func (s *SelectorContext) GetParser() antlr.Parser
func (*SelectorContext) GetRuleContext ¶
func (s *SelectorContext) GetRuleContext() antlr.RuleContext
func (*SelectorContext) Index ¶
func (s *SelectorContext) Index() IIndexContext
func (*SelectorContext) IsSelectorContext ¶
func (*SelectorContext) IsSelectorContext()
func (*SelectorContext) Slice ¶
func (s *SelectorContext) Slice() ISliceContext
func (*SelectorContext) ToStringTree ¶
func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SliceContext ¶
type SliceContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySliceContext ¶
func NewEmptySliceContext() *SliceContext
func NewSliceContext ¶
func NewSliceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceContext
func (*SliceContext) Accept ¶
func (s *SliceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SliceContext) AllExpression ¶
func (s *SliceContext) AllExpression() []IExpressionContext
func (*SliceContext) Expression ¶
func (s *SliceContext) Expression(i int) IExpressionContext
func (*SliceContext) GetFrom ¶
func (s *SliceContext) GetFrom() IExpressionContext
func (*SliceContext) GetParser ¶
func (s *SliceContext) GetParser() antlr.Parser
func (*SliceContext) GetRuleContext ¶
func (s *SliceContext) GetRuleContext() antlr.RuleContext
func (*SliceContext) GetTo ¶
func (s *SliceContext) GetTo() IExpressionContext
func (*SliceContext) IsSliceContext ¶
func (*SliceContext) IsSliceContext()
func (*SliceContext) SetFrom ¶
func (s *SliceContext) SetFrom(v IExpressionContext)
func (*SliceContext) SetTo ¶
func (s *SliceContext) SetTo(v IExpressionContext)
func (*SliceContext) ToStringTree ¶
func (s *SliceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringLiteralContext ¶
type StringLiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStringLiteralContext ¶
func NewEmptyStringLiteralContext() *StringLiteralContext
func NewStringLiteralContext ¶
func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext
func (*StringLiteralContext) Accept ¶
func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringLiteralContext) GetParser ¶
func (s *StringLiteralContext) GetParser() antlr.Parser
func (*StringLiteralContext) GetRuleContext ¶
func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
func (*StringLiteralContext) IsStringLiteralContext ¶
func (*StringLiteralContext) IsStringLiteralContext()
func (*StringLiteralContext) STRING ¶
func (s *StringLiteralContext) STRING() antlr.TerminalNode
func (*StringLiteralContext) ToStringTree ¶
func (s *StringLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UnaryExpressionContext ¶
type UnaryExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnaryExpressionContext ¶
func NewEmptyUnaryExpressionContext() *UnaryExpressionContext
func NewUnaryExpressionContext ¶
func NewUnaryExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnaryExpressionContext
func (*UnaryExpressionContext) Accept ¶
func (s *UnaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UnaryExpressionContext) EXISTS ¶
func (s *UnaryExpressionContext) EXISTS() antlr.TerminalNode
func (*UnaryExpressionContext) Expression ¶
func (s *UnaryExpressionContext) Expression() IExpressionContext
func (*UnaryExpressionContext) GetParser ¶
func (s *UnaryExpressionContext) GetParser() antlr.Parser
func (*UnaryExpressionContext) GetRuleContext ¶
func (s *UnaryExpressionContext) GetRuleContext() antlr.RuleContext
func (*UnaryExpressionContext) IsUnaryExpressionContext ¶
func (*UnaryExpressionContext) IsUnaryExpressionContext()
func (*UnaryExpressionContext) NOT ¶
func (s *UnaryExpressionContext) NOT() antlr.TerminalNode
func (*UnaryExpressionContext) ToStringTree ¶
func (s *UnaryExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UnaryExpressionContext) Variable ¶
func (s *UnaryExpressionContext) Variable() IVariableContext
type VariableContext ¶
type VariableContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVariableContext ¶
func NewEmptyVariableContext() *VariableContext
func NewVariableContext ¶
func NewVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableContext
func (*VariableContext) Accept ¶
func (s *VariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VariableContext) GetParser ¶
func (s *VariableContext) GetParser() antlr.Parser
func (*VariableContext) GetRuleContext ¶
func (s *VariableContext) GetRuleContext() antlr.RuleContext
func (*VariableContext) Identifier ¶
func (s *VariableContext) Identifier() IIdentifierContext
func (*VariableContext) IsVariableContext ¶
func (*VariableContext) IsVariableContext()
func (*VariableContext) ToStringTree ¶
func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ViewContext ¶
type ViewContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyViewContext ¶
func NewEmptyViewContext() *ViewContext
func NewViewContext ¶
func NewViewContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ViewContext
func (*ViewContext) Accept ¶
func (s *ViewContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ViewContext) AllIDENTIFIER ¶
func (s *ViewContext) AllIDENTIFIER() []antlr.TerminalNode
func (*ViewContext) AllViewParam ¶
func (s *ViewContext) AllViewParam() []IViewParamContext
func (*ViewContext) Cls ¶
func (s *ViewContext) Cls() IClsContext
func (*ViewContext) DOT ¶
func (s *ViewContext) DOT() antlr.TerminalNode
func (*ViewContext) Expression ¶
func (s *ViewContext) Expression() IExpressionContext
func (*ViewContext) GetName ¶
func (s *ViewContext) GetName() antlr.Token
func (*ViewContext) GetParser ¶
func (s *ViewContext) GetParser() antlr.Parser
func (*ViewContext) GetPkg ¶
func (s *ViewContext) GetPkg() antlr.Token
func (*ViewContext) GetRuleContext ¶
func (s *ViewContext) GetRuleContext() antlr.RuleContext
func (*ViewContext) IDENTIFIER ¶
func (s *ViewContext) IDENTIFIER(i int) antlr.TerminalNode
func (*ViewContext) IsViewContext ¶
func (*ViewContext) IsViewContext()
func (*ViewContext) Opn ¶
func (s *ViewContext) Opn() IOpnContext
func (*ViewContext) SetName ¶
func (s *ViewContext) SetName(v antlr.Token)
func (*ViewContext) SetPkg ¶
func (s *ViewContext) SetPkg(v antlr.Token)
func (*ViewContext) ToStringTree ¶
func (s *ViewContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ViewContext) ViewParam ¶
func (s *ViewContext) ViewParam(i int) IViewParamContext
type ViewParamContext ¶
type ViewParamContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyViewParamContext ¶
func NewEmptyViewParamContext() *ViewParamContext
func NewViewParamContext ¶
func NewViewParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ViewParamContext
func (*ViewParamContext) Accept ¶
func (s *ViewParamContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ViewParamContext) Expression ¶
func (s *ViewParamContext) Expression() IExpressionContext
func (*ViewParamContext) GetParser ¶
func (s *ViewParamContext) GetParser() antlr.Parser
func (*ViewParamContext) GetRuleContext ¶
func (s *ViewParamContext) GetRuleContext() antlr.RuleContext
func (*ViewParamContext) IDENTIFIER ¶
func (s *ViewParamContext) IDENTIFIER() antlr.TerminalNode
func (*ViewParamContext) IsViewParamContext ¶
func (*ViewParamContext) IsViewParamContext()
func (*ViewParamContext) ToStringTree ¶
func (s *ViewParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VisitDefaultParametersContext ¶
type VisitDefaultParametersContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVisitDefaultParametersContext ¶
func NewEmptyVisitDefaultParametersContext() *VisitDefaultParametersContext
func NewVisitDefaultParametersContext ¶
func NewVisitDefaultParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VisitDefaultParametersContext
func (*VisitDefaultParametersContext) Accept ¶
func (s *VisitDefaultParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VisitDefaultParametersContext) AllDefaultParam ¶
func (s *VisitDefaultParametersContext) AllDefaultParam() []IDefaultParamContext
func (*VisitDefaultParametersContext) DefaultParam ¶
func (s *VisitDefaultParametersContext) DefaultParam(i int) IDefaultParamContext
func (*VisitDefaultParametersContext) GetParser ¶
func (s *VisitDefaultParametersContext) GetParser() antlr.Parser
func (*VisitDefaultParametersContext) GetRuleContext ¶
func (s *VisitDefaultParametersContext) GetRuleContext() antlr.RuleContext
func (*VisitDefaultParametersContext) IsVisitDefaultParametersContext ¶
func (*VisitDefaultParametersContext) IsVisitDefaultParametersContext()
func (*VisitDefaultParametersContext) ToStringTree ¶
func (s *VisitDefaultParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string