Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyAtomContext(p *AtomContext)
- func InitEmptyAtomsContext(p *AtomsContext)
- func InitEmptyBoundsBlockContext(p *BoundsBlockContext)
- func InitEmptyClauseBodyContext(p *ClauseBodyContext)
- func InitEmptyClauseContext(p *ClauseContext)
- func InitEmptyConstraintsBlockContext(p *ConstraintsBlockContext)
- func InitEmptyDeclContext(p *DeclContext)
- func InitEmptyDescrBlockContext(p *DescrBlockContext)
- func InitEmptyLetStmtContext(p *LetStmtContext)
- func InitEmptyLiteralOrFmlContext(p *LiteralOrFmlContext)
- func InitEmptyPackageDeclContext(p *PackageDeclContext)
- func InitEmptyProgramContext(p *ProgramContext)
- func InitEmptyStartContext(p *StartContext)
- func InitEmptyTermContext(p *TermContext)
- func InitEmptyTransformContext(p *TransformContext)
- func InitEmptyUseDeclContext(p *UseDeclContext)
- func MangleLexerInit()
- func MangleParserInit()
- type ApplContext
- func (s *ApplContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ApplContext) AllCOMMA() []antlr.TerminalNode
- func (s *ApplContext) AllTerm() []ITermContext
- func (s *ApplContext) COMMA(i int) antlr.TerminalNode
- func (s *ApplContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ApplContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ApplContext) GetRuleContext() antlr.RuleContext
- func (s *ApplContext) LPAREN() antlr.TerminalNode
- func (s *ApplContext) NAME() antlr.TerminalNode
- func (s *ApplContext) RPAREN() antlr.TerminalNode
- func (s *ApplContext) Term(i int) ITermContext
- type AtomContext
- func (s *AtomContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) GetParser() antlr.Parser
- func (s *AtomContext) GetRuleContext() antlr.RuleContext
- func (*AtomContext) IsAtomContext()
- func (s *AtomContext) Term() ITermContext
- func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AtomsContext
- func (s *AtomsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtomsContext) AllAtom() []IAtomContext
- func (s *AtomsContext) AllCOMMA() []antlr.TerminalNode
- func (s *AtomsContext) Atom(i int) IAtomContext
- func (s *AtomsContext) COMMA(i int) antlr.TerminalNode
- func (s *AtomsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomsContext) GetParser() antlr.Parser
- func (s *AtomsContext) GetRuleContext() antlr.RuleContext
- func (*AtomsContext) IsAtomsContext()
- func (s *AtomsContext) LBRACKET() antlr.TerminalNode
- func (s *AtomsContext) RBRACKET() antlr.TerminalNode
- func (s *AtomsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BStrContext
- func (s *BStrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BStrContext) BYTESTRING() antlr.TerminalNode
- func (s *BStrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BStrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BStrContext) GetRuleContext() antlr.RuleContext
- type BaseMangleListener
- func (s *BaseMangleListener) EnterAppl(ctx *ApplContext)
- func (s *BaseMangleListener) EnterAtom(ctx *AtomContext)
- func (s *BaseMangleListener) EnterAtoms(ctx *AtomsContext)
- func (s *BaseMangleListener) EnterBStr(ctx *BStrContext)
- func (s *BaseMangleListener) EnterBoundsBlock(ctx *BoundsBlockContext)
- func (s *BaseMangleListener) EnterClause(ctx *ClauseContext)
- func (s *BaseMangleListener) EnterClauseBody(ctx *ClauseBodyContext)
- func (s *BaseMangleListener) EnterConst(ctx *ConstContext)
- func (s *BaseMangleListener) EnterConstraintsBlock(ctx *ConstraintsBlockContext)
- func (s *BaseMangleListener) EnterDecl(ctx *DeclContext)
- func (s *BaseMangleListener) EnterDescrBlock(ctx *DescrBlockContext)
- func (s *BaseMangleListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseMangleListener) EnterFloat(ctx *FloatContext)
- func (s *BaseMangleListener) EnterLetStmt(ctx *LetStmtContext)
- func (s *BaseMangleListener) EnterList(ctx *ListContext)
- func (s *BaseMangleListener) EnterLiteralOrFml(ctx *LiteralOrFmlContext)
- func (s *BaseMangleListener) EnterMap(ctx *MapContext)
- func (s *BaseMangleListener) EnterNum(ctx *NumContext)
- func (s *BaseMangleListener) EnterPackageDecl(ctx *PackageDeclContext)
- func (s *BaseMangleListener) EnterProgram(ctx *ProgramContext)
- func (s *BaseMangleListener) EnterStart(ctx *StartContext)
- func (s *BaseMangleListener) EnterStr(ctx *StrContext)
- func (s *BaseMangleListener) EnterStruct(ctx *StructContext)
- func (s *BaseMangleListener) EnterTransform(ctx *TransformContext)
- func (s *BaseMangleListener) EnterUseDecl(ctx *UseDeclContext)
- func (s *BaseMangleListener) EnterVar(ctx *VarContext)
- func (s *BaseMangleListener) ExitAppl(ctx *ApplContext)
- func (s *BaseMangleListener) ExitAtom(ctx *AtomContext)
- func (s *BaseMangleListener) ExitAtoms(ctx *AtomsContext)
- func (s *BaseMangleListener) ExitBStr(ctx *BStrContext)
- func (s *BaseMangleListener) ExitBoundsBlock(ctx *BoundsBlockContext)
- func (s *BaseMangleListener) ExitClause(ctx *ClauseContext)
- func (s *BaseMangleListener) ExitClauseBody(ctx *ClauseBodyContext)
- func (s *BaseMangleListener) ExitConst(ctx *ConstContext)
- func (s *BaseMangleListener) ExitConstraintsBlock(ctx *ConstraintsBlockContext)
- func (s *BaseMangleListener) ExitDecl(ctx *DeclContext)
- func (s *BaseMangleListener) ExitDescrBlock(ctx *DescrBlockContext)
- func (s *BaseMangleListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseMangleListener) ExitFloat(ctx *FloatContext)
- func (s *BaseMangleListener) ExitLetStmt(ctx *LetStmtContext)
- func (s *BaseMangleListener) ExitList(ctx *ListContext)
- func (s *BaseMangleListener) ExitLiteralOrFml(ctx *LiteralOrFmlContext)
- func (s *BaseMangleListener) ExitMap(ctx *MapContext)
- func (s *BaseMangleListener) ExitNum(ctx *NumContext)
- func (s *BaseMangleListener) ExitPackageDecl(ctx *PackageDeclContext)
- func (s *BaseMangleListener) ExitProgram(ctx *ProgramContext)
- func (s *BaseMangleListener) ExitStart(ctx *StartContext)
- func (s *BaseMangleListener) ExitStr(ctx *StrContext)
- func (s *BaseMangleListener) ExitStruct(ctx *StructContext)
- func (s *BaseMangleListener) ExitTransform(ctx *TransformContext)
- func (s *BaseMangleListener) ExitUseDecl(ctx *UseDeclContext)
- func (s *BaseMangleListener) ExitVar(ctx *VarContext)
- func (s *BaseMangleListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseMangleListener) VisitTerminal(node antlr.TerminalNode)
- type BaseMangleVisitor
- func (v *BaseMangleVisitor) VisitAppl(ctx *ApplContext) interface{}
- func (v *BaseMangleVisitor) VisitAtom(ctx *AtomContext) interface{}
- func (v *BaseMangleVisitor) VisitAtoms(ctx *AtomsContext) interface{}
- func (v *BaseMangleVisitor) VisitBStr(ctx *BStrContext) interface{}
- func (v *BaseMangleVisitor) VisitBoundsBlock(ctx *BoundsBlockContext) interface{}
- func (v *BaseMangleVisitor) VisitClause(ctx *ClauseContext) interface{}
- func (v *BaseMangleVisitor) VisitClauseBody(ctx *ClauseBodyContext) interface{}
- func (v *BaseMangleVisitor) VisitConst(ctx *ConstContext) interface{}
- func (v *BaseMangleVisitor) VisitConstraintsBlock(ctx *ConstraintsBlockContext) interface{}
- func (v *BaseMangleVisitor) VisitDecl(ctx *DeclContext) interface{}
- func (v *BaseMangleVisitor) VisitDescrBlock(ctx *DescrBlockContext) interface{}
- func (v *BaseMangleVisitor) VisitFloat(ctx *FloatContext) interface{}
- func (v *BaseMangleVisitor) VisitLetStmt(ctx *LetStmtContext) interface{}
- func (v *BaseMangleVisitor) VisitList(ctx *ListContext) interface{}
- func (v *BaseMangleVisitor) VisitLiteralOrFml(ctx *LiteralOrFmlContext) interface{}
- func (v *BaseMangleVisitor) VisitMap(ctx *MapContext) interface{}
- func (v *BaseMangleVisitor) VisitNum(ctx *NumContext) interface{}
- func (v *BaseMangleVisitor) VisitPackageDecl(ctx *PackageDeclContext) interface{}
- func (v *BaseMangleVisitor) VisitProgram(ctx *ProgramContext) interface{}
- func (v *BaseMangleVisitor) VisitStart(ctx *StartContext) interface{}
- func (v *BaseMangleVisitor) VisitStr(ctx *StrContext) interface{}
- func (v *BaseMangleVisitor) VisitStruct(ctx *StructContext) interface{}
- func (v *BaseMangleVisitor) VisitTransform(ctx *TransformContext) interface{}
- func (v *BaseMangleVisitor) VisitUseDecl(ctx *UseDeclContext) interface{}
- func (v *BaseMangleVisitor) VisitVar(ctx *VarContext) interface{}
- type BoundsBlockContext
- func (s *BoundsBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BoundsBlockContext) AllCOMMA() []antlr.TerminalNode
- func (s *BoundsBlockContext) AllTerm() []ITermContext
- func (s *BoundsBlockContext) BOUND() antlr.TerminalNode
- func (s *BoundsBlockContext) COMMA(i int) antlr.TerminalNode
- func (s *BoundsBlockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BoundsBlockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BoundsBlockContext) GetParser() antlr.Parser
- func (s *BoundsBlockContext) GetRuleContext() antlr.RuleContext
- func (*BoundsBlockContext) IsBoundsBlockContext()
- func (s *BoundsBlockContext) LBRACKET() antlr.TerminalNode
- func (s *BoundsBlockContext) RBRACKET() antlr.TerminalNode
- func (s *BoundsBlockContext) Term(i int) ITermContext
- func (s *BoundsBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClauseBodyContext
- func (s *ClauseBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClauseBodyContext) AllCOMMA() []antlr.TerminalNode
- func (s *ClauseBodyContext) AllLiteralOrFml() []ILiteralOrFmlContext
- func (s *ClauseBodyContext) COMMA(i int) antlr.TerminalNode
- func (s *ClauseBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClauseBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClauseBodyContext) GetParser() antlr.Parser
- func (s *ClauseBodyContext) GetRuleContext() antlr.RuleContext
- func (*ClauseBodyContext) IsClauseBodyContext()
- func (s *ClauseBodyContext) LiteralOrFml(i int) ILiteralOrFmlContext
- func (s *ClauseBodyContext) PIPEGREATER() antlr.TerminalNode
- func (s *ClauseBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ClauseBodyContext) Transform() ITransformContext
- type ClauseContext
- func (s *ClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClauseContext) Atom() IAtomContext
- func (s *ClauseContext) COLONDASH() antlr.TerminalNode
- func (s *ClauseContext) ClauseBody() IClauseBodyContext
- func (s *ClauseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClauseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClauseContext) GetParser() antlr.Parser
- func (s *ClauseContext) GetRuleContext() antlr.RuleContext
- func (*ClauseContext) IsClauseContext()
- func (s *ClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConstContext
- func (s *ConstContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ConstContext) CONSTANT() antlr.TerminalNode
- func (s *ConstContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstContext) GetRuleContext() antlr.RuleContext
- type ConstraintsBlockContext
- func (s *ConstraintsBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ConstraintsBlockContext) Atoms() IAtomsContext
- func (s *ConstraintsBlockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstraintsBlockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstraintsBlockContext) GetParser() antlr.Parser
- func (s *ConstraintsBlockContext) GetRuleContext() antlr.RuleContext
- func (*ConstraintsBlockContext) IsConstraintsBlockContext()
- func (s *ConstraintsBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeclContext
- func (s *DeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DeclContext) AllBoundsBlock() []IBoundsBlockContext
- func (s *DeclContext) Atom() IAtomContext
- func (s *DeclContext) BoundsBlock(i int) IBoundsBlockContext
- func (s *DeclContext) ConstraintsBlock() IConstraintsBlockContext
- func (s *DeclContext) DECL() antlr.TerminalNode
- func (s *DeclContext) DescrBlock() IDescrBlockContext
- func (s *DeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclContext) GetParser() antlr.Parser
- func (s *DeclContext) GetRuleContext() antlr.RuleContext
- func (*DeclContext) IsDeclContext()
- func (s *DeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DescrBlockContext
- func (s *DescrBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DescrBlockContext) Atoms() IAtomsContext
- func (s *DescrBlockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DescrBlockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DescrBlockContext) GetParser() antlr.Parser
- func (s *DescrBlockContext) GetRuleContext() antlr.RuleContext
- func (*DescrBlockContext) IsDescrBlockContext()
- func (s *DescrBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FloatContext
- func (s *FloatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FloatContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FloatContext) FLOAT() antlr.TerminalNode
- func (s *FloatContext) GetRuleContext() antlr.RuleContext
- type IAtomContext
- type IAtomsContext
- type IBoundsBlockContext
- type IClauseBodyContext
- type IClauseContext
- type IConstraintsBlockContext
- type IDeclContext
- type IDescrBlockContext
- type ILetStmtContext
- type ILiteralOrFmlContext
- type IPackageDeclContext
- type IProgramContext
- type IStartContext
- type ITermContext
- type ITransformContext
- type IUseDeclContext
- type LetStmtContext
- func (s *LetStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LetStmtContext) EQ() antlr.TerminalNode
- func (s *LetStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LetStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LetStmtContext) GetParser() antlr.Parser
- func (s *LetStmtContext) GetRuleContext() antlr.RuleContext
- func (*LetStmtContext) IsLetStmtContext()
- func (s *LetStmtContext) LET() antlr.TerminalNode
- func (s *LetStmtContext) Term() ITermContext
- func (s *LetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *LetStmtContext) VARIABLE() antlr.TerminalNode
- type ListContext
- func (s *ListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListContext) AllCOMMA() []antlr.TerminalNode
- func (s *ListContext) AllTerm() []ITermContext
- func (s *ListContext) COMMA(i int) antlr.TerminalNode
- func (s *ListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ListContext) GetRuleContext() antlr.RuleContext
- func (s *ListContext) LBRACKET() antlr.TerminalNode
- func (s *ListContext) RBRACKET() antlr.TerminalNode
- func (s *ListContext) Term(i int) ITermContext
- type LiteralOrFmlContext
- func (s *LiteralOrFmlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralOrFmlContext) AllTerm() []ITermContext
- func (s *LiteralOrFmlContext) BANG() antlr.TerminalNode
- func (s *LiteralOrFmlContext) BANGEQ() antlr.TerminalNode
- func (s *LiteralOrFmlContext) EQ() antlr.TerminalNode
- func (s *LiteralOrFmlContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralOrFmlContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralOrFmlContext) GREATER() antlr.TerminalNode
- func (s *LiteralOrFmlContext) GREATEREQ() antlr.TerminalNode
- func (s *LiteralOrFmlContext) GetParser() antlr.Parser
- func (s *LiteralOrFmlContext) GetRuleContext() antlr.RuleContext
- func (*LiteralOrFmlContext) IsLiteralOrFmlContext()
- func (s *LiteralOrFmlContext) LESS() antlr.TerminalNode
- func (s *LiteralOrFmlContext) LESSEQ() antlr.TerminalNode
- func (s *LiteralOrFmlContext) Term(i int) ITermContext
- func (s *LiteralOrFmlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MangleLexer
- type MangleListener
- type MangleParser
- func (p *MangleParser) Atom() (localctx IAtomContext)
- func (p *MangleParser) Atoms() (localctx IAtomsContext)
- func (p *MangleParser) BoundsBlock() (localctx IBoundsBlockContext)
- func (p *MangleParser) Clause() (localctx IClauseContext)
- func (p *MangleParser) ClauseBody() (localctx IClauseBodyContext)
- func (p *MangleParser) ConstraintsBlock() (localctx IConstraintsBlockContext)
- func (p *MangleParser) Decl() (localctx IDeclContext)
- func (p *MangleParser) DescrBlock() (localctx IDescrBlockContext)
- func (p *MangleParser) LetStmt() (localctx ILetStmtContext)
- func (p *MangleParser) LiteralOrFml() (localctx ILiteralOrFmlContext)
- func (p *MangleParser) PackageDecl() (localctx IPackageDeclContext)
- func (p *MangleParser) Program() (localctx IProgramContext)
- func (p *MangleParser) Start_() (localctx IStartContext)
- func (p *MangleParser) Term() (localctx ITermContext)
- func (p *MangleParser) Transform() (localctx ITransformContext)
- func (p *MangleParser) UseDecl() (localctx IUseDeclContext)
- type MangleVisitor
- type MapContext
- func (s *MapContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MapContext) AllCOMMA() []antlr.TerminalNode
- func (s *MapContext) AllTerm() []ITermContext
- func (s *MapContext) COMMA(i int) antlr.TerminalNode
- func (s *MapContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MapContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MapContext) GetRuleContext() antlr.RuleContext
- func (s *MapContext) LBRACKET() antlr.TerminalNode
- func (s *MapContext) RBRACKET() antlr.TerminalNode
- func (s *MapContext) Term(i int) ITermContext
- type NumContext
- func (s *NumContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NumContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NumContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NumContext) GetRuleContext() antlr.RuleContext
- func (s *NumContext) NUMBER() antlr.TerminalNode
- type PackageDeclContext
- func (s *PackageDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PackageDeclContext) Atoms() IAtomsContext
- func (s *PackageDeclContext) BANG() antlr.TerminalNode
- func (s *PackageDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PackageDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PackageDeclContext) GetParser() antlr.Parser
- func (s *PackageDeclContext) GetRuleContext() antlr.RuleContext
- func (*PackageDeclContext) IsPackageDeclContext()
- func (s *PackageDeclContext) NAME() antlr.TerminalNode
- func (s *PackageDeclContext) PACKAGE() antlr.TerminalNode
- func (s *PackageDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProgramContext
- func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ProgramContext) AllClause() []IClauseContext
- func (s *ProgramContext) AllDecl() []IDeclContext
- func (s *ProgramContext) AllUseDecl() []IUseDeclContext
- func (s *ProgramContext) Clause(i int) IClauseContext
- func (s *ProgramContext) Decl(i int) IDeclContext
- func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) GetParser() antlr.Parser
- func (s *ProgramContext) GetRuleContext() antlr.RuleContext
- func (*ProgramContext) IsProgramContext()
- func (s *ProgramContext) PackageDecl() IPackageDeclContext
- func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProgramContext) UseDecl(i int) IUseDeclContext
- type StartContext
- func (s *StartContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StartContext) EOF() antlr.TerminalNode
- func (s *StartContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StartContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StartContext) GetParser() antlr.Parser
- func (s *StartContext) GetRuleContext() antlr.RuleContext
- func (*StartContext) IsStartContext()
- func (s *StartContext) Program() IProgramContext
- func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StrContext
- func (s *StrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StrContext) GetRuleContext() antlr.RuleContext
- func (s *StrContext) STRING() antlr.TerminalNode
- type StructContext
- func (s *StructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StructContext) AllCOMMA() []antlr.TerminalNode
- func (s *StructContext) AllTerm() []ITermContext
- func (s *StructContext) COMMA(i int) antlr.TerminalNode
- func (s *StructContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructContext) GetRuleContext() antlr.RuleContext
- func (s *StructContext) Term(i int) ITermContext
- type TermContext
- type TransformContext
- func (s *TransformContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TransformContext) AllCOMMA() []antlr.TerminalNode
- func (s *TransformContext) AllLetStmt() []ILetStmtContext
- func (s *TransformContext) COMMA(i int) antlr.TerminalNode
- func (s *TransformContext) DO() antlr.TerminalNode
- func (s *TransformContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TransformContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TransformContext) GetParser() antlr.Parser
- func (s *TransformContext) GetRuleContext() antlr.RuleContext
- func (*TransformContext) IsTransformContext()
- func (s *TransformContext) LetStmt(i int) ILetStmtContext
- func (s *TransformContext) Term() ITermContext
- func (s *TransformContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UseDeclContext
- func (s *UseDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UseDeclContext) Atoms() IAtomsContext
- func (s *UseDeclContext) BANG() antlr.TerminalNode
- func (s *UseDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UseDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UseDeclContext) GetParser() antlr.Parser
- func (s *UseDeclContext) GetRuleContext() antlr.RuleContext
- func (*UseDeclContext) IsUseDeclContext()
- func (s *UseDeclContext) NAME() antlr.TerminalNode
- func (s *UseDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UseDeclContext) USE() antlr.TerminalNode
- type VarContext
- func (s *VarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VarContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VarContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VarContext) GetRuleContext() antlr.RuleContext
- func (s *VarContext) VARIABLE() antlr.TerminalNode
Constants ¶
const ( MangleLexerT__0 = 1 MangleLexerT__1 = 2 MangleLexerT__2 = 3 MangleLexerT__3 = 4 MangleLexerT__4 = 5 MangleLexerT__5 = 6 MangleLexerWHITESPACE = 7 MangleLexerCOMMENT = 8 MangleLexerPACKAGE = 9 MangleLexerUSE = 10 MangleLexerDECL = 11 MangleLexerBOUND = 12 MangleLexerLET = 13 MangleLexerDO = 14 MangleLexerLPAREN = 15 MangleLexerRPAREN = 16 MangleLexerLBRACKET = 17 MangleLexerRBRACKET = 18 MangleLexerEQ = 19 MangleLexerBANGEQ = 20 MangleLexerCOMMA = 21 MangleLexerBANG = 22 MangleLexerLESS = 23 MangleLexerLESSEQ = 24 MangleLexerGREATER = 25 MangleLexerGREATEREQ = 26 MangleLexerCOLONDASH = 27 MangleLexerNEWLINE = 28 MangleLexerPIPEGREATER = 29 MangleLexerNUMBER = 30 MangleLexerFLOAT = 31 MangleLexerVARIABLE = 32 MangleLexerNAME = 33 MangleLexerCONSTANT = 34 MangleLexerSTRING = 35 MangleLexerBYTESTRING = 36 )
MangleLexer tokens.
const ( MangleParserEOF = antlr.TokenEOF MangleParserT__0 = 1 MangleParserT__1 = 2 MangleParserT__2 = 3 MangleParserT__3 = 4 MangleParserT__4 = 5 MangleParserT__5 = 6 MangleParserWHITESPACE = 7 MangleParserCOMMENT = 8 MangleParserPACKAGE = 9 MangleParserUSE = 10 MangleParserDECL = 11 MangleParserBOUND = 12 MangleParserLET = 13 MangleParserDO = 14 MangleParserLPAREN = 15 MangleParserRPAREN = 16 MangleParserLBRACKET = 17 MangleParserRBRACKET = 18 MangleParserEQ = 19 MangleParserBANGEQ = 20 MangleParserCOMMA = 21 MangleParserBANG = 22 MangleParserLESS = 23 MangleParserLESSEQ = 24 MangleParserGREATER = 25 MangleParserGREATEREQ = 26 MangleParserCOLONDASH = 27 MangleParserNEWLINE = 28 MangleParserPIPEGREATER = 29 MangleParserNUMBER = 30 MangleParserFLOAT = 31 MangleParserVARIABLE = 32 MangleParserNAME = 33 MangleParserCONSTANT = 34 MangleParserSTRING = 35 MangleParserBYTESTRING = 36 )
MangleParser tokens.
const ( MangleParserRULE_start = 0 MangleParserRULE_program = 1 MangleParserRULE_packageDecl = 2 MangleParserRULE_useDecl = 3 MangleParserRULE_decl = 4 MangleParserRULE_descrBlock = 5 MangleParserRULE_boundsBlock = 6 MangleParserRULE_constraintsBlock = 7 MangleParserRULE_clause = 8 MangleParserRULE_clauseBody = 9 MangleParserRULE_transform = 10 MangleParserRULE_letStmt = 11 MangleParserRULE_literalOrFml = 12 MangleParserRULE_term = 13 MangleParserRULE_atom = 14 MangleParserRULE_atoms = 15 )
MangleParser rules.
Variables ¶
var MangleLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var MangleParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyAtomContext ¶
func InitEmptyAtomContext(p *AtomContext)
func InitEmptyAtomsContext ¶
func InitEmptyAtomsContext(p *AtomsContext)
func InitEmptyBoundsBlockContext ¶
func InitEmptyBoundsBlockContext(p *BoundsBlockContext)
func InitEmptyClauseBodyContext ¶
func InitEmptyClauseBodyContext(p *ClauseBodyContext)
func InitEmptyClauseContext ¶
func InitEmptyClauseContext(p *ClauseContext)
func InitEmptyConstraintsBlockContext ¶
func InitEmptyConstraintsBlockContext(p *ConstraintsBlockContext)
func InitEmptyDeclContext ¶
func InitEmptyDeclContext(p *DeclContext)
func InitEmptyDescrBlockContext ¶
func InitEmptyDescrBlockContext(p *DescrBlockContext)
func InitEmptyLetStmtContext ¶
func InitEmptyLetStmtContext(p *LetStmtContext)
func InitEmptyLiteralOrFmlContext ¶
func InitEmptyLiteralOrFmlContext(p *LiteralOrFmlContext)
func InitEmptyPackageDeclContext ¶
func InitEmptyPackageDeclContext(p *PackageDeclContext)
func InitEmptyProgramContext ¶
func InitEmptyProgramContext(p *ProgramContext)
func InitEmptyStartContext ¶
func InitEmptyStartContext(p *StartContext)
func InitEmptyTermContext ¶
func InitEmptyTermContext(p *TermContext)
func InitEmptyTransformContext ¶
func InitEmptyTransformContext(p *TransformContext)
func InitEmptyUseDeclContext ¶
func InitEmptyUseDeclContext(p *UseDeclContext)
func MangleLexerInit ¶
func MangleLexerInit()
MangleLexerInit initializes any static state used to implement MangleLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewMangleLexer(). You can call this function if you wish to initialize the static state ahead of time.
func MangleParserInit ¶
func MangleParserInit()
MangleParserInit initializes any static state used to implement MangleParser. By default the static state used to implement the parser is lazily initialized during the first call to NewMangleParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type ApplContext ¶
type ApplContext struct {
TermContext
}
func NewApplContext ¶
func NewApplContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ApplContext
func (*ApplContext) Accept ¶
func (s *ApplContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ApplContext) AllCOMMA ¶
func (s *ApplContext) AllCOMMA() []antlr.TerminalNode
func (*ApplContext) AllTerm ¶
func (s *ApplContext) AllTerm() []ITermContext
func (*ApplContext) COMMA ¶
func (s *ApplContext) COMMA(i int) antlr.TerminalNode
func (*ApplContext) EnterRule ¶
func (s *ApplContext) EnterRule(listener antlr.ParseTreeListener)
func (*ApplContext) ExitRule ¶
func (s *ApplContext) ExitRule(listener antlr.ParseTreeListener)
func (*ApplContext) GetRuleContext ¶
func (s *ApplContext) GetRuleContext() antlr.RuleContext
func (*ApplContext) LPAREN ¶
func (s *ApplContext) LPAREN() antlr.TerminalNode
func (*ApplContext) NAME ¶
func (s *ApplContext) NAME() antlr.TerminalNode
func (*ApplContext) RPAREN ¶
func (s *ApplContext) RPAREN() antlr.TerminalNode
func (*ApplContext) Term ¶
func (s *ApplContext) Term(i int) ITermContext
type AtomContext ¶
type AtomContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomContext ¶
func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext
func NewEmptyAtomContext ¶
func NewEmptyAtomContext() *AtomContext
func (*AtomContext) Accept ¶
func (s *AtomContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtomContext) EnterRule ¶
func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomContext) ExitRule ¶
func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomContext) GetParser ¶
func (s *AtomContext) GetParser() antlr.Parser
func (*AtomContext) GetRuleContext ¶
func (s *AtomContext) GetRuleContext() antlr.RuleContext
func (*AtomContext) IsAtomContext ¶
func (*AtomContext) IsAtomContext()
func (*AtomContext) Term ¶
func (s *AtomContext) Term() ITermContext
func (*AtomContext) ToStringTree ¶
func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtomsContext ¶
type AtomsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomsContext ¶
func NewAtomsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomsContext
func NewEmptyAtomsContext ¶
func NewEmptyAtomsContext() *AtomsContext
func (*AtomsContext) Accept ¶
func (s *AtomsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtomsContext) AllAtom ¶
func (s *AtomsContext) AllAtom() []IAtomContext
func (*AtomsContext) AllCOMMA ¶
func (s *AtomsContext) AllCOMMA() []antlr.TerminalNode
func (*AtomsContext) Atom ¶
func (s *AtomsContext) Atom(i int) IAtomContext
func (*AtomsContext) COMMA ¶
func (s *AtomsContext) COMMA(i int) antlr.TerminalNode
func (*AtomsContext) EnterRule ¶
func (s *AtomsContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomsContext) ExitRule ¶
func (s *AtomsContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomsContext) GetParser ¶
func (s *AtomsContext) GetParser() antlr.Parser
func (*AtomsContext) GetRuleContext ¶
func (s *AtomsContext) GetRuleContext() antlr.RuleContext
func (*AtomsContext) IsAtomsContext ¶
func (*AtomsContext) IsAtomsContext()
func (*AtomsContext) LBRACKET ¶
func (s *AtomsContext) LBRACKET() antlr.TerminalNode
func (*AtomsContext) RBRACKET ¶
func (s *AtomsContext) RBRACKET() antlr.TerminalNode
func (*AtomsContext) ToStringTree ¶
func (s *AtomsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BStrContext ¶ added in v0.2.0
type BStrContext struct {
TermContext
}
func NewBStrContext ¶ added in v0.2.0
func NewBStrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BStrContext
func (*BStrContext) Accept ¶ added in v0.2.0
func (s *BStrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BStrContext) BYTESTRING ¶ added in v0.2.0
func (s *BStrContext) BYTESTRING() antlr.TerminalNode
func (*BStrContext) EnterRule ¶ added in v0.2.0
func (s *BStrContext) EnterRule(listener antlr.ParseTreeListener)
func (*BStrContext) ExitRule ¶ added in v0.2.0
func (s *BStrContext) ExitRule(listener antlr.ParseTreeListener)
func (*BStrContext) GetRuleContext ¶ added in v0.2.0
func (s *BStrContext) GetRuleContext() antlr.RuleContext
type BaseMangleListener ¶
type BaseMangleListener struct{}
BaseMangleListener is a complete listener for a parse tree produced by MangleParser.
func (*BaseMangleListener) EnterAppl ¶
func (s *BaseMangleListener) EnterAppl(ctx *ApplContext)
EnterAppl is called when production Appl is entered.
func (*BaseMangleListener) EnterAtom ¶
func (s *BaseMangleListener) EnterAtom(ctx *AtomContext)
EnterAtom is called when production atom is entered.
func (*BaseMangleListener) EnterAtoms ¶
func (s *BaseMangleListener) EnterAtoms(ctx *AtomsContext)
EnterAtoms is called when production atoms is entered.
func (*BaseMangleListener) EnterBStr ¶ added in v0.2.0
func (s *BaseMangleListener) EnterBStr(ctx *BStrContext)
EnterBStr is called when production BStr is entered.
func (*BaseMangleListener) EnterBoundsBlock ¶
func (s *BaseMangleListener) EnterBoundsBlock(ctx *BoundsBlockContext)
EnterBoundsBlock is called when production boundsBlock is entered.
func (*BaseMangleListener) EnterClause ¶
func (s *BaseMangleListener) EnterClause(ctx *ClauseContext)
EnterClause is called when production clause is entered.
func (*BaseMangleListener) EnterClauseBody ¶
func (s *BaseMangleListener) EnterClauseBody(ctx *ClauseBodyContext)
EnterClauseBody is called when production clauseBody is entered.
func (*BaseMangleListener) EnterConst ¶
func (s *BaseMangleListener) EnterConst(ctx *ConstContext)
EnterConst is called when production Const is entered.
func (*BaseMangleListener) EnterConstraintsBlock ¶
func (s *BaseMangleListener) EnterConstraintsBlock(ctx *ConstraintsBlockContext)
EnterConstraintsBlock is called when production constraintsBlock is entered.
func (*BaseMangleListener) EnterDecl ¶
func (s *BaseMangleListener) EnterDecl(ctx *DeclContext)
EnterDecl is called when production decl is entered.
func (*BaseMangleListener) EnterDescrBlock ¶
func (s *BaseMangleListener) EnterDescrBlock(ctx *DescrBlockContext)
EnterDescrBlock is called when production descrBlock is entered.
func (*BaseMangleListener) EnterEveryRule ¶
func (s *BaseMangleListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseMangleListener) EnterFloat ¶
func (s *BaseMangleListener) EnterFloat(ctx *FloatContext)
EnterFloat is called when production Float is entered.
func (*BaseMangleListener) EnterLetStmt ¶
func (s *BaseMangleListener) EnterLetStmt(ctx *LetStmtContext)
EnterLetStmt is called when production letStmt is entered.
func (*BaseMangleListener) EnterList ¶
func (s *BaseMangleListener) EnterList(ctx *ListContext)
EnterList is called when production List is entered.
func (*BaseMangleListener) EnterLiteralOrFml ¶
func (s *BaseMangleListener) EnterLiteralOrFml(ctx *LiteralOrFmlContext)
EnterLiteralOrFml is called when production literalOrFml is entered.
func (*BaseMangleListener) EnterMap ¶
func (s *BaseMangleListener) EnterMap(ctx *MapContext)
EnterMap is called when production Map is entered.
func (*BaseMangleListener) EnterNum ¶
func (s *BaseMangleListener) EnterNum(ctx *NumContext)
EnterNum is called when production Num is entered.
func (*BaseMangleListener) EnterPackageDecl ¶
func (s *BaseMangleListener) EnterPackageDecl(ctx *PackageDeclContext)
EnterPackageDecl is called when production packageDecl is entered.
func (*BaseMangleListener) EnterProgram ¶
func (s *BaseMangleListener) EnterProgram(ctx *ProgramContext)
EnterProgram is called when production program is entered.
func (*BaseMangleListener) EnterStart ¶
func (s *BaseMangleListener) EnterStart(ctx *StartContext)
EnterStart is called when production start is entered.
func (*BaseMangleListener) EnterStr ¶
func (s *BaseMangleListener) EnterStr(ctx *StrContext)
EnterStr is called when production Str is entered.
func (*BaseMangleListener) EnterStruct ¶
func (s *BaseMangleListener) EnterStruct(ctx *StructContext)
EnterStruct is called when production Struct is entered.
func (*BaseMangleListener) EnterTransform ¶
func (s *BaseMangleListener) EnterTransform(ctx *TransformContext)
EnterTransform is called when production transform is entered.
func (*BaseMangleListener) EnterUseDecl ¶
func (s *BaseMangleListener) EnterUseDecl(ctx *UseDeclContext)
EnterUseDecl is called when production useDecl is entered.
func (*BaseMangleListener) EnterVar ¶
func (s *BaseMangleListener) EnterVar(ctx *VarContext)
EnterVar is called when production Var is entered.
func (*BaseMangleListener) ExitAppl ¶
func (s *BaseMangleListener) ExitAppl(ctx *ApplContext)
ExitAppl is called when production Appl is exited.
func (*BaseMangleListener) ExitAtom ¶
func (s *BaseMangleListener) ExitAtom(ctx *AtomContext)
ExitAtom is called when production atom is exited.
func (*BaseMangleListener) ExitAtoms ¶
func (s *BaseMangleListener) ExitAtoms(ctx *AtomsContext)
ExitAtoms is called when production atoms is exited.
func (*BaseMangleListener) ExitBStr ¶ added in v0.2.0
func (s *BaseMangleListener) ExitBStr(ctx *BStrContext)
ExitBStr is called when production BStr is exited.
func (*BaseMangleListener) ExitBoundsBlock ¶
func (s *BaseMangleListener) ExitBoundsBlock(ctx *BoundsBlockContext)
ExitBoundsBlock is called when production boundsBlock is exited.
func (*BaseMangleListener) ExitClause ¶
func (s *BaseMangleListener) ExitClause(ctx *ClauseContext)
ExitClause is called when production clause is exited.
func (*BaseMangleListener) ExitClauseBody ¶
func (s *BaseMangleListener) ExitClauseBody(ctx *ClauseBodyContext)
ExitClauseBody is called when production clauseBody is exited.
func (*BaseMangleListener) ExitConst ¶
func (s *BaseMangleListener) ExitConst(ctx *ConstContext)
ExitConst is called when production Const is exited.
func (*BaseMangleListener) ExitConstraintsBlock ¶
func (s *BaseMangleListener) ExitConstraintsBlock(ctx *ConstraintsBlockContext)
ExitConstraintsBlock is called when production constraintsBlock is exited.
func (*BaseMangleListener) ExitDecl ¶
func (s *BaseMangleListener) ExitDecl(ctx *DeclContext)
ExitDecl is called when production decl is exited.
func (*BaseMangleListener) ExitDescrBlock ¶
func (s *BaseMangleListener) ExitDescrBlock(ctx *DescrBlockContext)
ExitDescrBlock is called when production descrBlock is exited.
func (*BaseMangleListener) ExitEveryRule ¶
func (s *BaseMangleListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseMangleListener) ExitFloat ¶
func (s *BaseMangleListener) ExitFloat(ctx *FloatContext)
ExitFloat is called when production Float is exited.
func (*BaseMangleListener) ExitLetStmt ¶
func (s *BaseMangleListener) ExitLetStmt(ctx *LetStmtContext)
ExitLetStmt is called when production letStmt is exited.
func (*BaseMangleListener) ExitList ¶
func (s *BaseMangleListener) ExitList(ctx *ListContext)
ExitList is called when production List is exited.
func (*BaseMangleListener) ExitLiteralOrFml ¶
func (s *BaseMangleListener) ExitLiteralOrFml(ctx *LiteralOrFmlContext)
ExitLiteralOrFml is called when production literalOrFml is exited.
func (*BaseMangleListener) ExitMap ¶
func (s *BaseMangleListener) ExitMap(ctx *MapContext)
ExitMap is called when production Map is exited.
func (*BaseMangleListener) ExitNum ¶
func (s *BaseMangleListener) ExitNum(ctx *NumContext)
ExitNum is called when production Num is exited.
func (*BaseMangleListener) ExitPackageDecl ¶
func (s *BaseMangleListener) ExitPackageDecl(ctx *PackageDeclContext)
ExitPackageDecl is called when production packageDecl is exited.
func (*BaseMangleListener) ExitProgram ¶
func (s *BaseMangleListener) ExitProgram(ctx *ProgramContext)
ExitProgram is called when production program is exited.
func (*BaseMangleListener) ExitStart ¶
func (s *BaseMangleListener) ExitStart(ctx *StartContext)
ExitStart is called when production start is exited.
func (*BaseMangleListener) ExitStr ¶
func (s *BaseMangleListener) ExitStr(ctx *StrContext)
ExitStr is called when production Str is exited.
func (*BaseMangleListener) ExitStruct ¶
func (s *BaseMangleListener) ExitStruct(ctx *StructContext)
ExitStruct is called when production Struct is exited.
func (*BaseMangleListener) ExitTransform ¶
func (s *BaseMangleListener) ExitTransform(ctx *TransformContext)
ExitTransform is called when production transform is exited.
func (*BaseMangleListener) ExitUseDecl ¶
func (s *BaseMangleListener) ExitUseDecl(ctx *UseDeclContext)
ExitUseDecl is called when production useDecl is exited.
func (*BaseMangleListener) ExitVar ¶
func (s *BaseMangleListener) ExitVar(ctx *VarContext)
ExitVar is called when production Var is exited.
func (*BaseMangleListener) VisitErrorNode ¶
func (s *BaseMangleListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseMangleListener) VisitTerminal ¶
func (s *BaseMangleListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseMangleVisitor ¶
type BaseMangleVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseMangleVisitor) VisitAppl ¶
func (v *BaseMangleVisitor) VisitAppl(ctx *ApplContext) interface{}
func (*BaseMangleVisitor) VisitAtom ¶
func (v *BaseMangleVisitor) VisitAtom(ctx *AtomContext) interface{}
func (*BaseMangleVisitor) VisitAtoms ¶
func (v *BaseMangleVisitor) VisitAtoms(ctx *AtomsContext) interface{}
func (*BaseMangleVisitor) VisitBStr ¶ added in v0.2.0
func (v *BaseMangleVisitor) VisitBStr(ctx *BStrContext) interface{}
func (*BaseMangleVisitor) VisitBoundsBlock ¶
func (v *BaseMangleVisitor) VisitBoundsBlock(ctx *BoundsBlockContext) interface{}
func (*BaseMangleVisitor) VisitClause ¶
func (v *BaseMangleVisitor) VisitClause(ctx *ClauseContext) interface{}
func (*BaseMangleVisitor) VisitClauseBody ¶
func (v *BaseMangleVisitor) VisitClauseBody(ctx *ClauseBodyContext) interface{}
func (*BaseMangleVisitor) VisitConst ¶
func (v *BaseMangleVisitor) VisitConst(ctx *ConstContext) interface{}
func (*BaseMangleVisitor) VisitConstraintsBlock ¶
func (v *BaseMangleVisitor) VisitConstraintsBlock(ctx *ConstraintsBlockContext) interface{}
func (*BaseMangleVisitor) VisitDecl ¶
func (v *BaseMangleVisitor) VisitDecl(ctx *DeclContext) interface{}
func (*BaseMangleVisitor) VisitDescrBlock ¶
func (v *BaseMangleVisitor) VisitDescrBlock(ctx *DescrBlockContext) interface{}
func (*BaseMangleVisitor) VisitFloat ¶
func (v *BaseMangleVisitor) VisitFloat(ctx *FloatContext) interface{}
func (*BaseMangleVisitor) VisitLetStmt ¶
func (v *BaseMangleVisitor) VisitLetStmt(ctx *LetStmtContext) interface{}
func (*BaseMangleVisitor) VisitList ¶
func (v *BaseMangleVisitor) VisitList(ctx *ListContext) interface{}
func (*BaseMangleVisitor) VisitLiteralOrFml ¶
func (v *BaseMangleVisitor) VisitLiteralOrFml(ctx *LiteralOrFmlContext) interface{}
func (*BaseMangleVisitor) VisitMap ¶
func (v *BaseMangleVisitor) VisitMap(ctx *MapContext) interface{}
func (*BaseMangleVisitor) VisitNum ¶
func (v *BaseMangleVisitor) VisitNum(ctx *NumContext) interface{}
func (*BaseMangleVisitor) VisitPackageDecl ¶
func (v *BaseMangleVisitor) VisitPackageDecl(ctx *PackageDeclContext) interface{}
func (*BaseMangleVisitor) VisitProgram ¶
func (v *BaseMangleVisitor) VisitProgram(ctx *ProgramContext) interface{}
func (*BaseMangleVisitor) VisitStart ¶
func (v *BaseMangleVisitor) VisitStart(ctx *StartContext) interface{}
func (*BaseMangleVisitor) VisitStr ¶
func (v *BaseMangleVisitor) VisitStr(ctx *StrContext) interface{}
func (*BaseMangleVisitor) VisitStruct ¶
func (v *BaseMangleVisitor) VisitStruct(ctx *StructContext) interface{}
func (*BaseMangleVisitor) VisitTransform ¶
func (v *BaseMangleVisitor) VisitTransform(ctx *TransformContext) interface{}
func (*BaseMangleVisitor) VisitUseDecl ¶
func (v *BaseMangleVisitor) VisitUseDecl(ctx *UseDeclContext) interface{}
func (*BaseMangleVisitor) VisitVar ¶
func (v *BaseMangleVisitor) VisitVar(ctx *VarContext) interface{}
type BoundsBlockContext ¶
type BoundsBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBoundsBlockContext ¶
func NewBoundsBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoundsBlockContext
func NewEmptyBoundsBlockContext ¶
func NewEmptyBoundsBlockContext() *BoundsBlockContext
func (*BoundsBlockContext) Accept ¶
func (s *BoundsBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BoundsBlockContext) AllCOMMA ¶
func (s *BoundsBlockContext) AllCOMMA() []antlr.TerminalNode
func (*BoundsBlockContext) AllTerm ¶
func (s *BoundsBlockContext) AllTerm() []ITermContext
func (*BoundsBlockContext) BOUND ¶
func (s *BoundsBlockContext) BOUND() antlr.TerminalNode
func (*BoundsBlockContext) COMMA ¶
func (s *BoundsBlockContext) COMMA(i int) antlr.TerminalNode
func (*BoundsBlockContext) EnterRule ¶
func (s *BoundsBlockContext) EnterRule(listener antlr.ParseTreeListener)
func (*BoundsBlockContext) ExitRule ¶
func (s *BoundsBlockContext) ExitRule(listener antlr.ParseTreeListener)
func (*BoundsBlockContext) GetParser ¶
func (s *BoundsBlockContext) GetParser() antlr.Parser
func (*BoundsBlockContext) GetRuleContext ¶
func (s *BoundsBlockContext) GetRuleContext() antlr.RuleContext
func (*BoundsBlockContext) IsBoundsBlockContext ¶
func (*BoundsBlockContext) IsBoundsBlockContext()
func (*BoundsBlockContext) LBRACKET ¶
func (s *BoundsBlockContext) LBRACKET() antlr.TerminalNode
func (*BoundsBlockContext) RBRACKET ¶
func (s *BoundsBlockContext) RBRACKET() antlr.TerminalNode
func (*BoundsBlockContext) Term ¶
func (s *BoundsBlockContext) Term(i int) ITermContext
func (*BoundsBlockContext) ToStringTree ¶
func (s *BoundsBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ClauseBodyContext ¶
type ClauseBodyContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClauseBodyContext ¶
func NewClauseBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClauseBodyContext
func NewEmptyClauseBodyContext ¶
func NewEmptyClauseBodyContext() *ClauseBodyContext
func (*ClauseBodyContext) Accept ¶
func (s *ClauseBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClauseBodyContext) AllCOMMA ¶
func (s *ClauseBodyContext) AllCOMMA() []antlr.TerminalNode
func (*ClauseBodyContext) AllLiteralOrFml ¶
func (s *ClauseBodyContext) AllLiteralOrFml() []ILiteralOrFmlContext
func (*ClauseBodyContext) COMMA ¶
func (s *ClauseBodyContext) COMMA(i int) antlr.TerminalNode
func (*ClauseBodyContext) EnterRule ¶
func (s *ClauseBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*ClauseBodyContext) ExitRule ¶
func (s *ClauseBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*ClauseBodyContext) GetParser ¶
func (s *ClauseBodyContext) GetParser() antlr.Parser
func (*ClauseBodyContext) GetRuleContext ¶
func (s *ClauseBodyContext) GetRuleContext() antlr.RuleContext
func (*ClauseBodyContext) IsClauseBodyContext ¶
func (*ClauseBodyContext) IsClauseBodyContext()
func (*ClauseBodyContext) LiteralOrFml ¶
func (s *ClauseBodyContext) LiteralOrFml(i int) ILiteralOrFmlContext
func (*ClauseBodyContext) PIPEGREATER ¶
func (s *ClauseBodyContext) PIPEGREATER() antlr.TerminalNode
func (*ClauseBodyContext) ToStringTree ¶
func (s *ClauseBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ClauseBodyContext) Transform ¶
func (s *ClauseBodyContext) Transform() ITransformContext
type ClauseContext ¶
type ClauseContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClauseContext ¶
func NewClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClauseContext
func NewEmptyClauseContext ¶
func NewEmptyClauseContext() *ClauseContext
func (*ClauseContext) Accept ¶
func (s *ClauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClauseContext) Atom ¶
func (s *ClauseContext) Atom() IAtomContext
func (*ClauseContext) COLONDASH ¶
func (s *ClauseContext) COLONDASH() antlr.TerminalNode
func (*ClauseContext) ClauseBody ¶
func (s *ClauseContext) ClauseBody() IClauseBodyContext
func (*ClauseContext) EnterRule ¶
func (s *ClauseContext) EnterRule(listener antlr.ParseTreeListener)
func (*ClauseContext) ExitRule ¶
func (s *ClauseContext) ExitRule(listener antlr.ParseTreeListener)
func (*ClauseContext) GetParser ¶
func (s *ClauseContext) GetParser() antlr.Parser
func (*ClauseContext) GetRuleContext ¶
func (s *ClauseContext) GetRuleContext() antlr.RuleContext
func (*ClauseContext) IsClauseContext ¶
func (*ClauseContext) IsClauseContext()
func (*ClauseContext) ToStringTree ¶
func (s *ClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ConstContext ¶
type ConstContext struct {
TermContext
}
func NewConstContext ¶
func NewConstContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ConstContext
func (*ConstContext) Accept ¶
func (s *ConstContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ConstContext) CONSTANT ¶
func (s *ConstContext) CONSTANT() antlr.TerminalNode
func (*ConstContext) EnterRule ¶
func (s *ConstContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstContext) ExitRule ¶
func (s *ConstContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstContext) GetRuleContext ¶
func (s *ConstContext) GetRuleContext() antlr.RuleContext
type ConstraintsBlockContext ¶
type ConstraintsBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConstraintsBlockContext ¶
func NewConstraintsBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstraintsBlockContext
func NewEmptyConstraintsBlockContext ¶
func NewEmptyConstraintsBlockContext() *ConstraintsBlockContext
func (*ConstraintsBlockContext) Accept ¶
func (s *ConstraintsBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ConstraintsBlockContext) Atoms ¶
func (s *ConstraintsBlockContext) Atoms() IAtomsContext
func (*ConstraintsBlockContext) EnterRule ¶
func (s *ConstraintsBlockContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstraintsBlockContext) ExitRule ¶
func (s *ConstraintsBlockContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstraintsBlockContext) GetParser ¶
func (s *ConstraintsBlockContext) GetParser() antlr.Parser
func (*ConstraintsBlockContext) GetRuleContext ¶
func (s *ConstraintsBlockContext) GetRuleContext() antlr.RuleContext
func (*ConstraintsBlockContext) IsConstraintsBlockContext ¶
func (*ConstraintsBlockContext) IsConstraintsBlockContext()
func (*ConstraintsBlockContext) ToStringTree ¶
func (s *ConstraintsBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeclContext ¶
type DeclContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclContext ¶
func NewDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclContext
func NewEmptyDeclContext ¶
func NewEmptyDeclContext() *DeclContext
func (*DeclContext) Accept ¶
func (s *DeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DeclContext) AllBoundsBlock ¶
func (s *DeclContext) AllBoundsBlock() []IBoundsBlockContext
func (*DeclContext) Atom ¶
func (s *DeclContext) Atom() IAtomContext
func (*DeclContext) BoundsBlock ¶
func (s *DeclContext) BoundsBlock(i int) IBoundsBlockContext
func (*DeclContext) ConstraintsBlock ¶
func (s *DeclContext) ConstraintsBlock() IConstraintsBlockContext
func (*DeclContext) DECL ¶
func (s *DeclContext) DECL() antlr.TerminalNode
func (*DeclContext) DescrBlock ¶
func (s *DeclContext) DescrBlock() IDescrBlockContext
func (*DeclContext) EnterRule ¶
func (s *DeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclContext) ExitRule ¶
func (s *DeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclContext) GetParser ¶
func (s *DeclContext) GetParser() antlr.Parser
func (*DeclContext) GetRuleContext ¶
func (s *DeclContext) GetRuleContext() antlr.RuleContext
func (*DeclContext) IsDeclContext ¶
func (*DeclContext) IsDeclContext()
func (*DeclContext) ToStringTree ¶
func (s *DeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DescrBlockContext ¶
type DescrBlockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDescrBlockContext ¶
func NewDescrBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DescrBlockContext
func NewEmptyDescrBlockContext ¶
func NewEmptyDescrBlockContext() *DescrBlockContext
func (*DescrBlockContext) Accept ¶
func (s *DescrBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DescrBlockContext) Atoms ¶
func (s *DescrBlockContext) Atoms() IAtomsContext
func (*DescrBlockContext) EnterRule ¶
func (s *DescrBlockContext) EnterRule(listener antlr.ParseTreeListener)
func (*DescrBlockContext) ExitRule ¶
func (s *DescrBlockContext) ExitRule(listener antlr.ParseTreeListener)
func (*DescrBlockContext) GetParser ¶
func (s *DescrBlockContext) GetParser() antlr.Parser
func (*DescrBlockContext) GetRuleContext ¶
func (s *DescrBlockContext) GetRuleContext() antlr.RuleContext
func (*DescrBlockContext) IsDescrBlockContext ¶
func (*DescrBlockContext) IsDescrBlockContext()
func (*DescrBlockContext) ToStringTree ¶
func (s *DescrBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FloatContext ¶
type FloatContext struct {
TermContext
}
func NewFloatContext ¶
func NewFloatContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FloatContext
func (*FloatContext) Accept ¶
func (s *FloatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FloatContext) EnterRule ¶
func (s *FloatContext) EnterRule(listener antlr.ParseTreeListener)
func (*FloatContext) ExitRule ¶
func (s *FloatContext) ExitRule(listener antlr.ParseTreeListener)
func (*FloatContext) FLOAT ¶
func (s *FloatContext) FLOAT() antlr.TerminalNode
func (*FloatContext) GetRuleContext ¶
func (s *FloatContext) GetRuleContext() antlr.RuleContext
type IAtomContext ¶
type IAtomContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Term() ITermContext // IsAtomContext differentiates from other interfaces. IsAtomContext() }
IAtomContext is an interface to support dynamic dispatch.
type IAtomsContext ¶
type IAtomsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACKET() antlr.TerminalNode RBRACKET() antlr.TerminalNode AllAtom() []IAtomContext Atom(i int) IAtomContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsAtomsContext differentiates from other interfaces. IsAtomsContext() }
IAtomsContext is an interface to support dynamic dispatch.
type IBoundsBlockContext ¶
type IBoundsBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BOUND() antlr.TerminalNode LBRACKET() antlr.TerminalNode RBRACKET() antlr.TerminalNode AllTerm() []ITermContext Term(i int) ITermContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsBoundsBlockContext differentiates from other interfaces. IsBoundsBlockContext() }
IBoundsBlockContext is an interface to support dynamic dispatch.
type IClauseBodyContext ¶
type IClauseBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllLiteralOrFml() []ILiteralOrFmlContext LiteralOrFml(i int) ILiteralOrFmlContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode PIPEGREATER() antlr.TerminalNode Transform() ITransformContext // IsClauseBodyContext differentiates from other interfaces. IsClauseBodyContext() }
IClauseBodyContext is an interface to support dynamic dispatch.
type IClauseContext ¶
type IClauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Atom() IAtomContext COLONDASH() antlr.TerminalNode ClauseBody() IClauseBodyContext // IsClauseContext differentiates from other interfaces. IsClauseContext() }
IClauseContext is an interface to support dynamic dispatch.
type IConstraintsBlockContext ¶
type IConstraintsBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Atoms() IAtomsContext // IsConstraintsBlockContext differentiates from other interfaces. IsConstraintsBlockContext() }
IConstraintsBlockContext is an interface to support dynamic dispatch.
type IDeclContext ¶
type IDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DECL() antlr.TerminalNode Atom() IAtomContext DescrBlock() IDescrBlockContext AllBoundsBlock() []IBoundsBlockContext BoundsBlock(i int) IBoundsBlockContext ConstraintsBlock() IConstraintsBlockContext // IsDeclContext differentiates from other interfaces. IsDeclContext() }
IDeclContext is an interface to support dynamic dispatch.
type IDescrBlockContext ¶
type IDescrBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Atoms() IAtomsContext // IsDescrBlockContext differentiates from other interfaces. IsDescrBlockContext() }
IDescrBlockContext is an interface to support dynamic dispatch.
type ILetStmtContext ¶
type ILetStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LET() antlr.TerminalNode VARIABLE() antlr.TerminalNode EQ() antlr.TerminalNode Term() ITermContext // IsLetStmtContext differentiates from other interfaces. IsLetStmtContext() }
ILetStmtContext is an interface to support dynamic dispatch.
type ILiteralOrFmlContext ¶
type ILiteralOrFmlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllTerm() []ITermContext Term(i int) ITermContext EQ() antlr.TerminalNode BANGEQ() antlr.TerminalNode LESS() antlr.TerminalNode LESSEQ() antlr.TerminalNode GREATER() antlr.TerminalNode GREATEREQ() antlr.TerminalNode BANG() antlr.TerminalNode // IsLiteralOrFmlContext differentiates from other interfaces. IsLiteralOrFmlContext() }
ILiteralOrFmlContext is an interface to support dynamic dispatch.
type IPackageDeclContext ¶
type IPackageDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PACKAGE() antlr.TerminalNode NAME() antlr.TerminalNode BANG() antlr.TerminalNode Atoms() IAtomsContext // IsPackageDeclContext differentiates from other interfaces. IsPackageDeclContext() }
IPackageDeclContext is an interface to support dynamic dispatch.
type IProgramContext ¶
type IProgramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PackageDecl() IPackageDeclContext AllUseDecl() []IUseDeclContext UseDecl(i int) IUseDeclContext AllDecl() []IDeclContext Decl(i int) IDeclContext AllClause() []IClauseContext Clause(i int) IClauseContext // IsProgramContext differentiates from other interfaces. IsProgramContext() }
IProgramContext is an interface to support dynamic dispatch.
type IStartContext ¶
type IStartContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Program() IProgramContext EOF() antlr.TerminalNode // IsStartContext differentiates from other interfaces. IsStartContext() }
IStartContext is an interface to support dynamic dispatch.
type ITermContext ¶
type ITermContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTermContext differentiates from other interfaces. IsTermContext() }
ITermContext is an interface to support dynamic dispatch.
type ITransformContext ¶
type ITransformContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DO() antlr.TerminalNode Term() ITermContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode AllLetStmt() []ILetStmtContext LetStmt(i int) ILetStmtContext // IsTransformContext differentiates from other interfaces. IsTransformContext() }
ITransformContext is an interface to support dynamic dispatch.
type IUseDeclContext ¶
type IUseDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures USE() antlr.TerminalNode NAME() antlr.TerminalNode BANG() antlr.TerminalNode Atoms() IAtomsContext // IsUseDeclContext differentiates from other interfaces. IsUseDeclContext() }
IUseDeclContext is an interface to support dynamic dispatch.
type LetStmtContext ¶
type LetStmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLetStmtContext ¶
func NewEmptyLetStmtContext() *LetStmtContext
func NewLetStmtContext ¶
func NewLetStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LetStmtContext
func (*LetStmtContext) Accept ¶
func (s *LetStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LetStmtContext) EQ ¶
func (s *LetStmtContext) EQ() antlr.TerminalNode
func (*LetStmtContext) EnterRule ¶
func (s *LetStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*LetStmtContext) ExitRule ¶
func (s *LetStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*LetStmtContext) GetParser ¶
func (s *LetStmtContext) GetParser() antlr.Parser
func (*LetStmtContext) GetRuleContext ¶
func (s *LetStmtContext) GetRuleContext() antlr.RuleContext
func (*LetStmtContext) IsLetStmtContext ¶
func (*LetStmtContext) IsLetStmtContext()
func (*LetStmtContext) LET ¶
func (s *LetStmtContext) LET() antlr.TerminalNode
func (*LetStmtContext) Term ¶
func (s *LetStmtContext) Term() ITermContext
func (*LetStmtContext) ToStringTree ¶
func (s *LetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*LetStmtContext) VARIABLE ¶
func (s *LetStmtContext) VARIABLE() antlr.TerminalNode
type ListContext ¶
type ListContext struct {
TermContext
}
func NewListContext ¶
func NewListContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListContext
func (*ListContext) Accept ¶
func (s *ListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListContext) AllCOMMA ¶
func (s *ListContext) AllCOMMA() []antlr.TerminalNode
func (*ListContext) AllTerm ¶
func (s *ListContext) AllTerm() []ITermContext
func (*ListContext) COMMA ¶
func (s *ListContext) COMMA(i int) antlr.TerminalNode
func (*ListContext) EnterRule ¶
func (s *ListContext) EnterRule(listener antlr.ParseTreeListener)
func (*ListContext) ExitRule ¶
func (s *ListContext) ExitRule(listener antlr.ParseTreeListener)
func (*ListContext) GetRuleContext ¶
func (s *ListContext) GetRuleContext() antlr.RuleContext
func (*ListContext) LBRACKET ¶
func (s *ListContext) LBRACKET() antlr.TerminalNode
func (*ListContext) RBRACKET ¶
func (s *ListContext) RBRACKET() antlr.TerminalNode
func (*ListContext) Term ¶
func (s *ListContext) Term(i int) ITermContext
type LiteralOrFmlContext ¶
type LiteralOrFmlContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLiteralOrFmlContext ¶
func NewEmptyLiteralOrFmlContext() *LiteralOrFmlContext
func NewLiteralOrFmlContext ¶
func NewLiteralOrFmlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralOrFmlContext
func (*LiteralOrFmlContext) Accept ¶
func (s *LiteralOrFmlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralOrFmlContext) AllTerm ¶
func (s *LiteralOrFmlContext) AllTerm() []ITermContext
func (*LiteralOrFmlContext) BANG ¶
func (s *LiteralOrFmlContext) BANG() antlr.TerminalNode
func (*LiteralOrFmlContext) BANGEQ ¶
func (s *LiteralOrFmlContext) BANGEQ() antlr.TerminalNode
func (*LiteralOrFmlContext) EQ ¶
func (s *LiteralOrFmlContext) EQ() antlr.TerminalNode
func (*LiteralOrFmlContext) EnterRule ¶
func (s *LiteralOrFmlContext) EnterRule(listener antlr.ParseTreeListener)
func (*LiteralOrFmlContext) ExitRule ¶
func (s *LiteralOrFmlContext) ExitRule(listener antlr.ParseTreeListener)
func (*LiteralOrFmlContext) GREATER ¶
func (s *LiteralOrFmlContext) GREATER() antlr.TerminalNode
func (*LiteralOrFmlContext) GREATEREQ ¶
func (s *LiteralOrFmlContext) GREATEREQ() antlr.TerminalNode
func (*LiteralOrFmlContext) GetParser ¶
func (s *LiteralOrFmlContext) GetParser() antlr.Parser
func (*LiteralOrFmlContext) GetRuleContext ¶
func (s *LiteralOrFmlContext) GetRuleContext() antlr.RuleContext
func (*LiteralOrFmlContext) IsLiteralOrFmlContext ¶
func (*LiteralOrFmlContext) IsLiteralOrFmlContext()
func (*LiteralOrFmlContext) LESS ¶
func (s *LiteralOrFmlContext) LESS() antlr.TerminalNode
func (*LiteralOrFmlContext) LESSEQ ¶
func (s *LiteralOrFmlContext) LESSEQ() antlr.TerminalNode
func (*LiteralOrFmlContext) Term ¶
func (s *LiteralOrFmlContext) Term(i int) ITermContext
func (*LiteralOrFmlContext) ToStringTree ¶
func (s *LiteralOrFmlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MangleLexer ¶
type MangleLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewMangleLexer ¶
func NewMangleLexer(input antlr.CharStream) *MangleLexer
NewMangleLexer produces a new lexer instance for the optional input antlr.CharStream.
type MangleListener ¶
type MangleListener interface { antlr.ParseTreeListener // EnterStart is called when entering the start production. EnterStart(c *StartContext) // EnterProgram is called when entering the program production. EnterProgram(c *ProgramContext) // EnterPackageDecl is called when entering the packageDecl production. EnterPackageDecl(c *PackageDeclContext) // EnterUseDecl is called when entering the useDecl production. EnterUseDecl(c *UseDeclContext) // EnterDecl is called when entering the decl production. EnterDecl(c *DeclContext) // EnterDescrBlock is called when entering the descrBlock production. EnterDescrBlock(c *DescrBlockContext) // EnterBoundsBlock is called when entering the boundsBlock production. EnterBoundsBlock(c *BoundsBlockContext) // EnterConstraintsBlock is called when entering the constraintsBlock production. EnterConstraintsBlock(c *ConstraintsBlockContext) // EnterClause is called when entering the clause production. EnterClause(c *ClauseContext) // EnterClauseBody is called when entering the clauseBody production. EnterClauseBody(c *ClauseBodyContext) // EnterTransform is called when entering the transform production. EnterTransform(c *TransformContext) // EnterLetStmt is called when entering the letStmt production. EnterLetStmt(c *LetStmtContext) // EnterLiteralOrFml is called when entering the literalOrFml production. EnterLiteralOrFml(c *LiteralOrFmlContext) // EnterVar is called when entering the Var production. EnterVar(c *VarContext) // EnterConst is called when entering the Const production. EnterConst(c *ConstContext) // EnterNum is called when entering the Num production. EnterNum(c *NumContext) // EnterFloat is called when entering the Float production. EnterFloat(c *FloatContext) // EnterStr is called when entering the Str production. EnterStr(c *StrContext) // EnterBStr is called when entering the BStr production. EnterBStr(c *BStrContext) // EnterAppl is called when entering the Appl production. EnterAppl(c *ApplContext) // EnterList is called when entering the List production. EnterList(c *ListContext) // EnterMap is called when entering the Map production. EnterMap(c *MapContext) // EnterStruct is called when entering the Struct production. EnterStruct(c *StructContext) // EnterAtom is called when entering the atom production. EnterAtom(c *AtomContext) // EnterAtoms is called when entering the atoms production. EnterAtoms(c *AtomsContext) // ExitStart is called when exiting the start production. ExitStart(c *StartContext) // ExitProgram is called when exiting the program production. ExitProgram(c *ProgramContext) // ExitPackageDecl is called when exiting the packageDecl production. ExitPackageDecl(c *PackageDeclContext) // ExitUseDecl is called when exiting the useDecl production. ExitUseDecl(c *UseDeclContext) // ExitDecl is called when exiting the decl production. ExitDecl(c *DeclContext) // ExitDescrBlock is called when exiting the descrBlock production. ExitDescrBlock(c *DescrBlockContext) // ExitBoundsBlock is called when exiting the boundsBlock production. ExitBoundsBlock(c *BoundsBlockContext) // ExitConstraintsBlock is called when exiting the constraintsBlock production. ExitConstraintsBlock(c *ConstraintsBlockContext) // ExitClause is called when exiting the clause production. ExitClause(c *ClauseContext) // ExitClauseBody is called when exiting the clauseBody production. ExitClauseBody(c *ClauseBodyContext) // ExitTransform is called when exiting the transform production. ExitTransform(c *TransformContext) // ExitLetStmt is called when exiting the letStmt production. ExitLetStmt(c *LetStmtContext) // ExitLiteralOrFml is called when exiting the literalOrFml production. ExitLiteralOrFml(c *LiteralOrFmlContext) // ExitVar is called when exiting the Var production. ExitVar(c *VarContext) // ExitConst is called when exiting the Const production. ExitConst(c *ConstContext) // ExitNum is called when exiting the Num production. ExitNum(c *NumContext) // ExitFloat is called when exiting the Float production. ExitFloat(c *FloatContext) // ExitStr is called when exiting the Str production. ExitStr(c *StrContext) // ExitBStr is called when exiting the BStr production. ExitBStr(c *BStrContext) // ExitAppl is called when exiting the Appl production. ExitAppl(c *ApplContext) // ExitList is called when exiting the List production. ExitList(c *ListContext) // ExitMap is called when exiting the Map production. ExitMap(c *MapContext) // ExitStruct is called when exiting the Struct production. ExitStruct(c *StructContext) // ExitAtom is called when exiting the atom production. ExitAtom(c *AtomContext) // ExitAtoms is called when exiting the atoms production. ExitAtoms(c *AtomsContext) }
MangleListener is a complete listener for a parse tree produced by MangleParser.
type MangleParser ¶
type MangleParser struct {
*antlr.BaseParser
}
func NewMangleParser ¶
func NewMangleParser(input antlr.TokenStream) *MangleParser
NewMangleParser produces a new parser instance for the optional input antlr.TokenStream.
func (*MangleParser) Atom ¶
func (p *MangleParser) Atom() (localctx IAtomContext)
func (*MangleParser) Atoms ¶
func (p *MangleParser) Atoms() (localctx IAtomsContext)
func (*MangleParser) BoundsBlock ¶
func (p *MangleParser) BoundsBlock() (localctx IBoundsBlockContext)
func (*MangleParser) Clause ¶
func (p *MangleParser) Clause() (localctx IClauseContext)
func (*MangleParser) ClauseBody ¶
func (p *MangleParser) ClauseBody() (localctx IClauseBodyContext)
func (*MangleParser) ConstraintsBlock ¶
func (p *MangleParser) ConstraintsBlock() (localctx IConstraintsBlockContext)
func (*MangleParser) Decl ¶
func (p *MangleParser) Decl() (localctx IDeclContext)
func (*MangleParser) DescrBlock ¶
func (p *MangleParser) DescrBlock() (localctx IDescrBlockContext)
func (*MangleParser) LetStmt ¶
func (p *MangleParser) LetStmt() (localctx ILetStmtContext)
func (*MangleParser) LiteralOrFml ¶
func (p *MangleParser) LiteralOrFml() (localctx ILiteralOrFmlContext)
func (*MangleParser) PackageDecl ¶
func (p *MangleParser) PackageDecl() (localctx IPackageDeclContext)
func (*MangleParser) Program ¶
func (p *MangleParser) Program() (localctx IProgramContext)
func (*MangleParser) Start_ ¶
func (p *MangleParser) Start_() (localctx IStartContext)
func (*MangleParser) Term ¶
func (p *MangleParser) Term() (localctx ITermContext)
func (*MangleParser) Transform ¶
func (p *MangleParser) Transform() (localctx ITransformContext)
func (*MangleParser) UseDecl ¶
func (p *MangleParser) UseDecl() (localctx IUseDeclContext)
type MangleVisitor ¶
type MangleVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by MangleParser#start. VisitStart(ctx *StartContext) interface{} // Visit a parse tree produced by MangleParser#program. VisitProgram(ctx *ProgramContext) interface{} // Visit a parse tree produced by MangleParser#packageDecl. VisitPackageDecl(ctx *PackageDeclContext) interface{} // Visit a parse tree produced by MangleParser#useDecl. VisitUseDecl(ctx *UseDeclContext) interface{} // Visit a parse tree produced by MangleParser#decl. VisitDecl(ctx *DeclContext) interface{} // Visit a parse tree produced by MangleParser#descrBlock. VisitDescrBlock(ctx *DescrBlockContext) interface{} // Visit a parse tree produced by MangleParser#boundsBlock. VisitBoundsBlock(ctx *BoundsBlockContext) interface{} // Visit a parse tree produced by MangleParser#constraintsBlock. VisitConstraintsBlock(ctx *ConstraintsBlockContext) interface{} // Visit a parse tree produced by MangleParser#clause. VisitClause(ctx *ClauseContext) interface{} // Visit a parse tree produced by MangleParser#clauseBody. VisitClauseBody(ctx *ClauseBodyContext) interface{} // Visit a parse tree produced by MangleParser#transform. VisitTransform(ctx *TransformContext) interface{} // Visit a parse tree produced by MangleParser#letStmt. VisitLetStmt(ctx *LetStmtContext) interface{} // Visit a parse tree produced by MangleParser#literalOrFml. VisitLiteralOrFml(ctx *LiteralOrFmlContext) interface{} // Visit a parse tree produced by MangleParser#Var. VisitVar(ctx *VarContext) interface{} // Visit a parse tree produced by MangleParser#Const. VisitConst(ctx *ConstContext) interface{} // Visit a parse tree produced by MangleParser#Num. VisitNum(ctx *NumContext) interface{} // Visit a parse tree produced by MangleParser#Float. VisitFloat(ctx *FloatContext) interface{} // Visit a parse tree produced by MangleParser#Str. VisitStr(ctx *StrContext) interface{} // Visit a parse tree produced by MangleParser#BStr. VisitBStr(ctx *BStrContext) interface{} // Visit a parse tree produced by MangleParser#Appl. VisitAppl(ctx *ApplContext) interface{} // Visit a parse tree produced by MangleParser#List. VisitList(ctx *ListContext) interface{} // Visit a parse tree produced by MangleParser#Map. VisitMap(ctx *MapContext) interface{} // Visit a parse tree produced by MangleParser#Struct. VisitStruct(ctx *StructContext) interface{} // Visit a parse tree produced by MangleParser#atom. VisitAtom(ctx *AtomContext) interface{} // Visit a parse tree produced by MangleParser#atoms. VisitAtoms(ctx *AtomsContext) interface{} }
A complete Visitor for a parse tree produced by MangleParser.
type MapContext ¶
type MapContext struct {
TermContext
}
func NewMapContext ¶
func NewMapContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MapContext
func (*MapContext) Accept ¶
func (s *MapContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MapContext) AllCOMMA ¶
func (s *MapContext) AllCOMMA() []antlr.TerminalNode
func (*MapContext) AllTerm ¶
func (s *MapContext) AllTerm() []ITermContext
func (*MapContext) COMMA ¶
func (s *MapContext) COMMA(i int) antlr.TerminalNode
func (*MapContext) EnterRule ¶
func (s *MapContext) EnterRule(listener antlr.ParseTreeListener)
func (*MapContext) ExitRule ¶
func (s *MapContext) ExitRule(listener antlr.ParseTreeListener)
func (*MapContext) GetRuleContext ¶
func (s *MapContext) GetRuleContext() antlr.RuleContext
func (*MapContext) LBRACKET ¶
func (s *MapContext) LBRACKET() antlr.TerminalNode
func (*MapContext) RBRACKET ¶
func (s *MapContext) RBRACKET() antlr.TerminalNode
func (*MapContext) Term ¶
func (s *MapContext) Term(i int) ITermContext
type NumContext ¶
type NumContext struct {
TermContext
}
func NewNumContext ¶
func NewNumContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumContext
func (*NumContext) Accept ¶
func (s *NumContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumContext) EnterRule ¶
func (s *NumContext) EnterRule(listener antlr.ParseTreeListener)
func (*NumContext) ExitRule ¶
func (s *NumContext) ExitRule(listener antlr.ParseTreeListener)
func (*NumContext) GetRuleContext ¶
func (s *NumContext) GetRuleContext() antlr.RuleContext
func (*NumContext) NUMBER ¶
func (s *NumContext) NUMBER() antlr.TerminalNode
type PackageDeclContext ¶
type PackageDeclContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPackageDeclContext ¶
func NewEmptyPackageDeclContext() *PackageDeclContext
func NewPackageDeclContext ¶
func NewPackageDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PackageDeclContext
func (*PackageDeclContext) Accept ¶
func (s *PackageDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PackageDeclContext) Atoms ¶
func (s *PackageDeclContext) Atoms() IAtomsContext
func (*PackageDeclContext) BANG ¶
func (s *PackageDeclContext) BANG() antlr.TerminalNode
func (*PackageDeclContext) EnterRule ¶
func (s *PackageDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*PackageDeclContext) ExitRule ¶
func (s *PackageDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*PackageDeclContext) GetParser ¶
func (s *PackageDeclContext) GetParser() antlr.Parser
func (*PackageDeclContext) GetRuleContext ¶
func (s *PackageDeclContext) GetRuleContext() antlr.RuleContext
func (*PackageDeclContext) IsPackageDeclContext ¶
func (*PackageDeclContext) IsPackageDeclContext()
func (*PackageDeclContext) NAME ¶
func (s *PackageDeclContext) NAME() antlr.TerminalNode
func (*PackageDeclContext) PACKAGE ¶
func (s *PackageDeclContext) PACKAGE() antlr.TerminalNode
func (*PackageDeclContext) ToStringTree ¶
func (s *PackageDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ProgramContext ¶
type ProgramContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramContext ¶
func NewEmptyProgramContext() *ProgramContext
func NewProgramContext ¶
func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext
func (*ProgramContext) Accept ¶
func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ProgramContext) AllClause ¶
func (s *ProgramContext) AllClause() []IClauseContext
func (*ProgramContext) AllDecl ¶
func (s *ProgramContext) AllDecl() []IDeclContext
func (*ProgramContext) AllUseDecl ¶
func (s *ProgramContext) AllUseDecl() []IUseDeclContext
func (*ProgramContext) Clause ¶
func (s *ProgramContext) Clause(i int) IClauseContext
func (*ProgramContext) Decl ¶
func (s *ProgramContext) Decl(i int) IDeclContext
func (*ProgramContext) EnterRule ¶
func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgramContext) ExitRule ¶
func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgramContext) GetParser ¶
func (s *ProgramContext) GetParser() antlr.Parser
func (*ProgramContext) GetRuleContext ¶
func (s *ProgramContext) GetRuleContext() antlr.RuleContext
func (*ProgramContext) IsProgramContext ¶
func (*ProgramContext) IsProgramContext()
func (*ProgramContext) PackageDecl ¶
func (s *ProgramContext) PackageDecl() IPackageDeclContext
func (*ProgramContext) ToStringTree ¶
func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProgramContext) UseDecl ¶
func (s *ProgramContext) UseDecl(i int) IUseDeclContext
type StartContext ¶
type StartContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStartContext ¶
func NewEmptyStartContext() *StartContext
func NewStartContext ¶
func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext
func (*StartContext) Accept ¶
func (s *StartContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StartContext) EOF ¶
func (s *StartContext) EOF() antlr.TerminalNode
func (*StartContext) EnterRule ¶
func (s *StartContext) EnterRule(listener antlr.ParseTreeListener)
func (*StartContext) ExitRule ¶
func (s *StartContext) ExitRule(listener antlr.ParseTreeListener)
func (*StartContext) GetParser ¶
func (s *StartContext) GetParser() antlr.Parser
func (*StartContext) GetRuleContext ¶
func (s *StartContext) GetRuleContext() antlr.RuleContext
func (*StartContext) IsStartContext ¶
func (*StartContext) IsStartContext()
func (*StartContext) Program ¶
func (s *StartContext) Program() IProgramContext
func (*StartContext) ToStringTree ¶
func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StrContext ¶
type StrContext struct {
TermContext
}
func NewStrContext ¶
func NewStrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StrContext
func (*StrContext) Accept ¶
func (s *StrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StrContext) EnterRule ¶
func (s *StrContext) EnterRule(listener antlr.ParseTreeListener)
func (*StrContext) ExitRule ¶
func (s *StrContext) ExitRule(listener antlr.ParseTreeListener)
func (*StrContext) GetRuleContext ¶
func (s *StrContext) GetRuleContext() antlr.RuleContext
func (*StrContext) STRING ¶
func (s *StrContext) STRING() antlr.TerminalNode
type StructContext ¶
type StructContext struct {
TermContext
}
func NewStructContext ¶
func NewStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructContext
func (*StructContext) Accept ¶
func (s *StructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StructContext) AllCOMMA ¶
func (s *StructContext) AllCOMMA() []antlr.TerminalNode
func (*StructContext) AllTerm ¶
func (s *StructContext) AllTerm() []ITermContext
func (*StructContext) COMMA ¶
func (s *StructContext) COMMA(i int) antlr.TerminalNode
func (*StructContext) EnterRule ¶
func (s *StructContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructContext) ExitRule ¶
func (s *StructContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructContext) GetRuleContext ¶
func (s *StructContext) GetRuleContext() antlr.RuleContext
func (*StructContext) Term ¶
func (s *StructContext) Term(i int) ITermContext
type TermContext ¶
type TermContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTermContext ¶
func NewEmptyTermContext() *TermContext
func NewTermContext ¶
func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext
func (*TermContext) CopyAll ¶
func (s *TermContext) CopyAll(ctx *TermContext)
func (*TermContext) GetParser ¶
func (s *TermContext) GetParser() antlr.Parser
func (*TermContext) GetRuleContext ¶
func (s *TermContext) GetRuleContext() antlr.RuleContext
func (*TermContext) IsTermContext ¶
func (*TermContext) IsTermContext()
func (*TermContext) ToStringTree ¶
func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TransformContext ¶
type TransformContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTransformContext ¶
func NewEmptyTransformContext() *TransformContext
func NewTransformContext ¶
func NewTransformContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TransformContext
func (*TransformContext) Accept ¶
func (s *TransformContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TransformContext) AllCOMMA ¶
func (s *TransformContext) AllCOMMA() []antlr.TerminalNode
func (*TransformContext) AllLetStmt ¶
func (s *TransformContext) AllLetStmt() []ILetStmtContext
func (*TransformContext) COMMA ¶
func (s *TransformContext) COMMA(i int) antlr.TerminalNode
func (*TransformContext) DO ¶
func (s *TransformContext) DO() antlr.TerminalNode
func (*TransformContext) EnterRule ¶
func (s *TransformContext) EnterRule(listener antlr.ParseTreeListener)
func (*TransformContext) ExitRule ¶
func (s *TransformContext) ExitRule(listener antlr.ParseTreeListener)
func (*TransformContext) GetParser ¶
func (s *TransformContext) GetParser() antlr.Parser
func (*TransformContext) GetRuleContext ¶
func (s *TransformContext) GetRuleContext() antlr.RuleContext
func (*TransformContext) IsTransformContext ¶
func (*TransformContext) IsTransformContext()
func (*TransformContext) LetStmt ¶
func (s *TransformContext) LetStmt(i int) ILetStmtContext
func (*TransformContext) Term ¶
func (s *TransformContext) Term() ITermContext
func (*TransformContext) ToStringTree ¶
func (s *TransformContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UseDeclContext ¶
type UseDeclContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUseDeclContext ¶
func NewEmptyUseDeclContext() *UseDeclContext
func NewUseDeclContext ¶
func NewUseDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UseDeclContext
func (*UseDeclContext) Accept ¶
func (s *UseDeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UseDeclContext) Atoms ¶
func (s *UseDeclContext) Atoms() IAtomsContext
func (*UseDeclContext) BANG ¶
func (s *UseDeclContext) BANG() antlr.TerminalNode
func (*UseDeclContext) EnterRule ¶
func (s *UseDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*UseDeclContext) ExitRule ¶
func (s *UseDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*UseDeclContext) GetParser ¶
func (s *UseDeclContext) GetParser() antlr.Parser
func (*UseDeclContext) GetRuleContext ¶
func (s *UseDeclContext) GetRuleContext() antlr.RuleContext
func (*UseDeclContext) IsUseDeclContext ¶
func (*UseDeclContext) IsUseDeclContext()
func (*UseDeclContext) NAME ¶
func (s *UseDeclContext) NAME() antlr.TerminalNode
func (*UseDeclContext) ToStringTree ¶
func (s *UseDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UseDeclContext) USE ¶
func (s *UseDeclContext) USE() antlr.TerminalNode
type VarContext ¶
type VarContext struct {
TermContext
}
func NewVarContext ¶
func NewVarContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VarContext
func (*VarContext) Accept ¶
func (s *VarContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VarContext) EnterRule ¶
func (s *VarContext) EnterRule(listener antlr.ParseTreeListener)
func (*VarContext) ExitRule ¶
func (s *VarContext) ExitRule(listener antlr.ParseTreeListener)
func (*VarContext) GetRuleContext ¶
func (s *VarContext) GetRuleContext() antlr.RuleContext
func (*VarContext) VARIABLE ¶
func (s *VarContext) VARIABLE() antlr.TerminalNode