Documentation ¶
Index ¶
- Constants
- type BaseDokafileVisitor
- func (v *BaseDokafileVisitor) VisitComment(ctx *CommentContext) interface{}
- func (v *BaseDokafileVisitor) VisitElif_instruction(ctx *Elif_instructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitElse_instruction(ctx *Else_instructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitIf_expression(ctx *If_expressionContext) interface{}
- func (v *BaseDokafileVisitor) VisitIf_instruction(ctx *If_instructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitInclude_instruction(ctx *Include_instructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitInstruction(ctx *InstructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitInstructions(ctx *InstructionsContext) interface{}
- func (v *BaseDokafileVisitor) VisitNative_instruction(ctx *Native_instructionContext) interface{}
- func (v *BaseDokafileVisitor) VisitNothing(ctx *NothingContext) interface{}
- func (v *BaseDokafileVisitor) VisitTranslation(ctx *TranslationContext) interface{}
- func (v *BaseDokafileVisitor) VisitValue(ctx *ValueContext) interface{}
- type CommentContext
- func (s *CommentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CommentContext) Comment() antlr.TerminalNode
- func (s *CommentContext) GetParser() antlr.Parser
- func (s *CommentContext) GetRuleContext() antlr.RuleContext
- func (*CommentContext) IsCommentContext()
- func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DokafileLexer
- type DokafileParser
- func (p *DokafileParser) Comment() (localctx ICommentContext)
- func (p *DokafileParser) Elif_instruction() (localctx IElif_instructionContext)
- func (p *DokafileParser) Else_instruction() (localctx IElse_instructionContext)
- func (p *DokafileParser) If_expression() (localctx IIf_expressionContext)
- func (p *DokafileParser) If_instruction() (localctx IIf_instructionContext)
- func (p *DokafileParser) Include_instruction() (localctx IInclude_instructionContext)
- func (p *DokafileParser) Instruction() (localctx IInstructionContext)
- func (p *DokafileParser) Instructions() (localctx IInstructionsContext)
- func (p *DokafileParser) Native_instruction() (localctx INative_instructionContext)
- func (p *DokafileParser) Nothing() (localctx INothingContext)
- func (p *DokafileParser) Translation() (localctx ITranslationContext)
- func (p *DokafileParser) Value() (localctx IValueContext)
- type DokafileVisitor
- type Elif_instructionContext
- func (s *Elif_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Elif_instructionContext) AllSpacing() []antlr.TerminalNode
- func (s *Elif_instructionContext) Elif() antlr.TerminalNode
- func (s *Elif_instructionContext) Elif_instruction() IElif_instructionContext
- func (s *Elif_instructionContext) Else_instruction() IElse_instructionContext
- func (s *Elif_instructionContext) GetParser() antlr.Parser
- func (s *Elif_instructionContext) GetRuleContext() antlr.RuleContext
- func (s *Elif_instructionContext) If_expression() IIf_expressionContext
- func (s *Elif_instructionContext) Instructions() IInstructionsContext
- func (*Elif_instructionContext) IsElif_instructionContext()
- func (s *Elif_instructionContext) Spacing(i int) antlr.TerminalNode
- func (s *Elif_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Else_instructionContext
- func (s *Else_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Else_instructionContext) Else() antlr.TerminalNode
- func (s *Else_instructionContext) GetParser() antlr.Parser
- func (s *Else_instructionContext) GetRuleContext() antlr.RuleContext
- func (s *Else_instructionContext) Instructions() IInstructionsContext
- func (*Else_instructionContext) IsElse_instructionContext()
- func (s *Else_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ICommentContext
- type IElif_instructionContext
- type IElse_instructionContext
- type IIf_expressionContext
- type IIf_instructionContext
- type IInclude_instructionContext
- type IInstructionContext
- type IInstructionsContext
- type INative_instructionContext
- type INothingContext
- type ITranslationContext
- type IValueContext
- type If_expressionContext
- func (s *If_expressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *If_expressionContext) AllSpacing() []antlr.TerminalNode
- func (s *If_expressionContext) AllValue() []IValueContext
- func (s *If_expressionContext) GetParser() antlr.Parser
- func (s *If_expressionContext) GetRuleContext() antlr.RuleContext
- func (*If_expressionContext) IsIf_expressionContext()
- func (s *If_expressionContext) OperatorEq() antlr.TerminalNode
- func (s *If_expressionContext) OperatorNe() antlr.TerminalNode
- func (s *If_expressionContext) Spacing(i int) antlr.TerminalNode
- func (s *If_expressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *If_expressionContext) Value(i int) IValueContext
- type If_instructionContext
- func (s *If_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *If_instructionContext) AllSpacing() []antlr.TerminalNode
- func (s *If_instructionContext) Elif_instruction() IElif_instructionContext
- func (s *If_instructionContext) End() antlr.TerminalNode
- func (s *If_instructionContext) GetParser() antlr.Parser
- func (s *If_instructionContext) GetRuleContext() antlr.RuleContext
- func (s *If_instructionContext) If() antlr.TerminalNode
- func (s *If_instructionContext) If_expression() IIf_expressionContext
- func (s *If_instructionContext) Instructions() IInstructionsContext
- func (*If_instructionContext) IsIf_instructionContext()
- func (s *If_instructionContext) Spacing(i int) antlr.TerminalNode
- func (s *If_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Include_instructionContext
- func (s *Include_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Include_instructionContext) GetParser() antlr.Parser
- func (s *Include_instructionContext) GetRuleContext() antlr.RuleContext
- func (s *Include_instructionContext) Include() antlr.TerminalNode
- func (*Include_instructionContext) IsInclude_instructionContext()
- func (s *Include_instructionContext) Spacing() antlr.TerminalNode
- func (s *Include_instructionContext) StringLiteral() antlr.TerminalNode
- func (s *Include_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InstructionContext
- func (s *InstructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *InstructionContext) Comment() ICommentContext
- func (s *InstructionContext) GetParser() antlr.Parser
- func (s *InstructionContext) GetRuleContext() antlr.RuleContext
- func (s *InstructionContext) If_instruction() IIf_instructionContext
- func (s *InstructionContext) Include_instruction() IInclude_instructionContext
- func (*InstructionContext) IsInstructionContext()
- func (s *InstructionContext) Native_instruction() INative_instructionContext
- func (s *InstructionContext) Nothing() INothingContext
- func (s *InstructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InstructionsContext
- func (s *InstructionsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *InstructionsContext) AllInstruction() []IInstructionContext
- func (s *InstructionsContext) AllSpacing() []antlr.TerminalNode
- func (s *InstructionsContext) GetParser() antlr.Parser
- func (s *InstructionsContext) GetRuleContext() antlr.RuleContext
- func (s *InstructionsContext) Instruction(i int) IInstructionContext
- func (*InstructionsContext) IsInstructionsContext()
- func (s *InstructionsContext) Spacing(i int) antlr.TerminalNode
- func (s *InstructionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Native_instructionContext
- func (s *Native_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Native_instructionContext) GetParser() antlr.Parser
- func (s *Native_instructionContext) GetRuleContext() antlr.RuleContext
- func (*Native_instructionContext) IsNative_instructionContext()
- func (s *Native_instructionContext) NativeInstructionCall() antlr.TerminalNode
- func (s *Native_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NothingContext
- func (s *NothingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NothingContext) GetParser() antlr.Parser
- func (s *NothingContext) GetRuleContext() antlr.RuleContext
- func (*NothingContext) IsNothingContext()
- func (s *NothingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TranslationContext
- func (s *TranslationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TranslationContext) EOF() antlr.TerminalNode
- func (s *TranslationContext) GetParser() antlr.Parser
- func (s *TranslationContext) GetRuleContext() antlr.RuleContext
- func (s *TranslationContext) Instructions() IInstructionsContext
- func (*TranslationContext) IsTranslationContext()
- func (s *TranslationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueContext
- func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) StringLiteral() antlr.TerminalNode
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ValueContext) Variable() antlr.TerminalNode
Constants ¶
const ( DokafileLexerT__0 = 1 DokafileLexerIf = 2 DokafileLexerElse = 3 DokafileLexerElif = 4 DokafileLexerEnd = 5 DokafileLexerOperatorEq = 6 DokafileLexerOperatorNe = 7 DokafileLexerVariable = 8 DokafileLexerInclude = 9 DokafileLexerNativeInstructionCall = 10 DokafileLexerStringLiteral = 11 DokafileLexerComment = 12 DokafileLexerSpacing = 13 )
DokafileLexer tokens.
const ( DokafileParserEOF = antlr.TokenEOF DokafileParserT__0 = 1 DokafileParserIf = 2 DokafileParserElse = 3 DokafileParserElif = 4 DokafileParserEnd = 5 DokafileParserOperatorEq = 6 DokafileParserOperatorNe = 7 DokafileParserVariable = 8 DokafileParserInclude = 9 DokafileParserNativeInstructionCall = 10 DokafileParserStringLiteral = 11 DokafileParserComment = 12 DokafileParserSpacing = 13 )
DokafileParser tokens.
const ( DokafileParserRULE_translation = 0 DokafileParserRULE_instructions = 1 DokafileParserRULE_instruction = 2 DokafileParserRULE_nothing = 3 DokafileParserRULE_comment = 4 DokafileParserRULE_native_instruction = 5 DokafileParserRULE_if_instruction = 6 DokafileParserRULE_elif_instruction = 7 DokafileParserRULE_else_instruction = 8 DokafileParserRULE_if_expression = 9 DokafileParserRULE_value = 10 DokafileParserRULE_include_instruction = 11 )
DokafileParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDokafileVisitor ¶
type BaseDokafileVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseDokafileVisitor) VisitComment ¶
func (v *BaseDokafileVisitor) VisitComment(ctx *CommentContext) interface{}
func (*BaseDokafileVisitor) VisitElif_instruction ¶
func (v *BaseDokafileVisitor) VisitElif_instruction(ctx *Elif_instructionContext) interface{}
func (*BaseDokafileVisitor) VisitElse_instruction ¶
func (v *BaseDokafileVisitor) VisitElse_instruction(ctx *Else_instructionContext) interface{}
func (*BaseDokafileVisitor) VisitIf_expression ¶
func (v *BaseDokafileVisitor) VisitIf_expression(ctx *If_expressionContext) interface{}
func (*BaseDokafileVisitor) VisitIf_instruction ¶
func (v *BaseDokafileVisitor) VisitIf_instruction(ctx *If_instructionContext) interface{}
func (*BaseDokafileVisitor) VisitInclude_instruction ¶
func (v *BaseDokafileVisitor) VisitInclude_instruction(ctx *Include_instructionContext) interface{}
func (*BaseDokafileVisitor) VisitInstruction ¶
func (v *BaseDokafileVisitor) VisitInstruction(ctx *InstructionContext) interface{}
func (*BaseDokafileVisitor) VisitInstructions ¶
func (v *BaseDokafileVisitor) VisitInstructions(ctx *InstructionsContext) interface{}
func (*BaseDokafileVisitor) VisitNative_instruction ¶
func (v *BaseDokafileVisitor) VisitNative_instruction(ctx *Native_instructionContext) interface{}
func (*BaseDokafileVisitor) VisitNothing ¶
func (v *BaseDokafileVisitor) VisitNothing(ctx *NothingContext) interface{}
func (*BaseDokafileVisitor) VisitTranslation ¶
func (v *BaseDokafileVisitor) VisitTranslation(ctx *TranslationContext) interface{}
func (*BaseDokafileVisitor) VisitValue ¶
func (v *BaseDokafileVisitor) VisitValue(ctx *ValueContext) interface{}
type CommentContext ¶
type CommentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommentContext ¶
func NewCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentContext
func NewEmptyCommentContext ¶
func NewEmptyCommentContext() *CommentContext
func (*CommentContext) Accept ¶
func (s *CommentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CommentContext) Comment ¶
func (s *CommentContext) Comment() antlr.TerminalNode
func (*CommentContext) GetParser ¶
func (s *CommentContext) GetParser() antlr.Parser
func (*CommentContext) GetRuleContext ¶
func (s *CommentContext) GetRuleContext() antlr.RuleContext
func (*CommentContext) IsCommentContext ¶
func (*CommentContext) IsCommentContext()
func (*CommentContext) ToStringTree ¶
func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DokafileLexer ¶
func NewDokafileLexer ¶
func NewDokafileLexer(input antlr.CharStream) *DokafileLexer
NewDokafileLexer produces a new lexer instance for the optional input antlr.CharStream.
The *DokafileLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
type DokafileParser ¶
type DokafileParser struct {
*antlr.BaseParser
}
func NewDokafileParser ¶
func NewDokafileParser(input antlr.TokenStream) *DokafileParser
NewDokafileParser produces a new parser instance for the optional input antlr.TokenStream.
The *DokafileParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
func (*DokafileParser) Comment ¶
func (p *DokafileParser) Comment() (localctx ICommentContext)
func (*DokafileParser) Elif_instruction ¶
func (p *DokafileParser) Elif_instruction() (localctx IElif_instructionContext)
func (*DokafileParser) Else_instruction ¶
func (p *DokafileParser) Else_instruction() (localctx IElse_instructionContext)
func (*DokafileParser) If_expression ¶
func (p *DokafileParser) If_expression() (localctx IIf_expressionContext)
func (*DokafileParser) If_instruction ¶
func (p *DokafileParser) If_instruction() (localctx IIf_instructionContext)
func (*DokafileParser) Include_instruction ¶
func (p *DokafileParser) Include_instruction() (localctx IInclude_instructionContext)
func (*DokafileParser) Instruction ¶
func (p *DokafileParser) Instruction() (localctx IInstructionContext)
func (*DokafileParser) Instructions ¶
func (p *DokafileParser) Instructions() (localctx IInstructionsContext)
func (*DokafileParser) Native_instruction ¶
func (p *DokafileParser) Native_instruction() (localctx INative_instructionContext)
func (*DokafileParser) Nothing ¶
func (p *DokafileParser) Nothing() (localctx INothingContext)
func (*DokafileParser) Translation ¶
func (p *DokafileParser) Translation() (localctx ITranslationContext)
func (*DokafileParser) Value ¶
func (p *DokafileParser) Value() (localctx IValueContext)
type DokafileVisitor ¶
type DokafileVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by DokafileParser#translation. VisitTranslation(ctx *TranslationContext) interface{} // Visit a parse tree produced by DokafileParser#instructions. VisitInstructions(ctx *InstructionsContext) interface{} // Visit a parse tree produced by DokafileParser#instruction. VisitInstruction(ctx *InstructionContext) interface{} // Visit a parse tree produced by DokafileParser#nothing. VisitNothing(ctx *NothingContext) interface{} // Visit a parse tree produced by DokafileParser#comment. VisitComment(ctx *CommentContext) interface{} // Visit a parse tree produced by DokafileParser#native_instruction. VisitNative_instruction(ctx *Native_instructionContext) interface{} // Visit a parse tree produced by DokafileParser#if_instruction. VisitIf_instruction(ctx *If_instructionContext) interface{} // Visit a parse tree produced by DokafileParser#elif_instruction. VisitElif_instruction(ctx *Elif_instructionContext) interface{} // Visit a parse tree produced by DokafileParser#else_instruction. VisitElse_instruction(ctx *Else_instructionContext) interface{} // Visit a parse tree produced by DokafileParser#if_expression. VisitIf_expression(ctx *If_expressionContext) interface{} // Visit a parse tree produced by DokafileParser#value. VisitValue(ctx *ValueContext) interface{} // Visit a parse tree produced by DokafileParser#include_instruction. VisitInclude_instruction(ctx *Include_instructionContext) interface{} }
A complete Visitor for a parse tree produced by DokafileParser.
type Elif_instructionContext ¶
type Elif_instructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElif_instructionContext ¶
func NewElif_instructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Elif_instructionContext
func NewEmptyElif_instructionContext ¶
func NewEmptyElif_instructionContext() *Elif_instructionContext
func (*Elif_instructionContext) Accept ¶
func (s *Elif_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Elif_instructionContext) AllSpacing ¶
func (s *Elif_instructionContext) AllSpacing() []antlr.TerminalNode
func (*Elif_instructionContext) Elif ¶
func (s *Elif_instructionContext) Elif() antlr.TerminalNode
func (*Elif_instructionContext) Elif_instruction ¶
func (s *Elif_instructionContext) Elif_instruction() IElif_instructionContext
func (*Elif_instructionContext) Else_instruction ¶
func (s *Elif_instructionContext) Else_instruction() IElse_instructionContext
func (*Elif_instructionContext) GetParser ¶
func (s *Elif_instructionContext) GetParser() antlr.Parser
func (*Elif_instructionContext) GetRuleContext ¶
func (s *Elif_instructionContext) GetRuleContext() antlr.RuleContext
func (*Elif_instructionContext) If_expression ¶
func (s *Elif_instructionContext) If_expression() IIf_expressionContext
func (*Elif_instructionContext) Instructions ¶
func (s *Elif_instructionContext) Instructions() IInstructionsContext
func (*Elif_instructionContext) IsElif_instructionContext ¶
func (*Elif_instructionContext) IsElif_instructionContext()
func (*Elif_instructionContext) Spacing ¶
func (s *Elif_instructionContext) Spacing(i int) antlr.TerminalNode
func (*Elif_instructionContext) ToStringTree ¶
func (s *Elif_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Else_instructionContext ¶
type Else_instructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElse_instructionContext ¶
func NewElse_instructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Else_instructionContext
func NewEmptyElse_instructionContext ¶
func NewEmptyElse_instructionContext() *Else_instructionContext
func (*Else_instructionContext) Accept ¶
func (s *Else_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Else_instructionContext) Else ¶
func (s *Else_instructionContext) Else() antlr.TerminalNode
func (*Else_instructionContext) GetParser ¶
func (s *Else_instructionContext) GetParser() antlr.Parser
func (*Else_instructionContext) GetRuleContext ¶
func (s *Else_instructionContext) GetRuleContext() antlr.RuleContext
func (*Else_instructionContext) Instructions ¶
func (s *Else_instructionContext) Instructions() IInstructionsContext
func (*Else_instructionContext) IsElse_instructionContext ¶
func (*Else_instructionContext) IsElse_instructionContext()
func (*Else_instructionContext) ToStringTree ¶
func (s *Else_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ICommentContext ¶
type ICommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommentContext differentiates from other interfaces. IsCommentContext() }
ICommentContext is an interface to support dynamic dispatch.
type IElif_instructionContext ¶
type IElif_instructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsElif_instructionContext differentiates from other interfaces. IsElif_instructionContext() }
IElif_instructionContext is an interface to support dynamic dispatch.
type IElse_instructionContext ¶
type IElse_instructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsElse_instructionContext differentiates from other interfaces. IsElse_instructionContext() }
IElse_instructionContext is an interface to support dynamic dispatch.
type IIf_expressionContext ¶
type IIf_expressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_expressionContext differentiates from other interfaces. IsIf_expressionContext() }
IIf_expressionContext is an interface to support dynamic dispatch.
type IIf_instructionContext ¶
type IIf_instructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_instructionContext differentiates from other interfaces. IsIf_instructionContext() }
IIf_instructionContext is an interface to support dynamic dispatch.
type IInclude_instructionContext ¶
type IInclude_instructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInclude_instructionContext differentiates from other interfaces. IsInclude_instructionContext() }
IInclude_instructionContext is an interface to support dynamic dispatch.
type IInstructionContext ¶
type IInstructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInstructionContext differentiates from other interfaces. IsInstructionContext() }
IInstructionContext is an interface to support dynamic dispatch.
type IInstructionsContext ¶
type IInstructionsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInstructionsContext differentiates from other interfaces. IsInstructionsContext() }
IInstructionsContext is an interface to support dynamic dispatch.
type INative_instructionContext ¶
type INative_instructionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNative_instructionContext differentiates from other interfaces. IsNative_instructionContext() }
INative_instructionContext is an interface to support dynamic dispatch.
type INothingContext ¶
type INothingContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNothingContext differentiates from other interfaces. IsNothingContext() }
INothingContext is an interface to support dynamic dispatch.
type ITranslationContext ¶
type ITranslationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTranslationContext differentiates from other interfaces. IsTranslationContext() }
ITranslationContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type If_expressionContext ¶
type If_expressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_expressionContext ¶
func NewEmptyIf_expressionContext() *If_expressionContext
func NewIf_expressionContext ¶
func NewIf_expressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_expressionContext
func (*If_expressionContext) Accept ¶
func (s *If_expressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*If_expressionContext) AllSpacing ¶
func (s *If_expressionContext) AllSpacing() []antlr.TerminalNode
func (*If_expressionContext) AllValue ¶
func (s *If_expressionContext) AllValue() []IValueContext
func (*If_expressionContext) GetParser ¶
func (s *If_expressionContext) GetParser() antlr.Parser
func (*If_expressionContext) GetRuleContext ¶
func (s *If_expressionContext) GetRuleContext() antlr.RuleContext
func (*If_expressionContext) IsIf_expressionContext ¶
func (*If_expressionContext) IsIf_expressionContext()
func (*If_expressionContext) OperatorEq ¶
func (s *If_expressionContext) OperatorEq() antlr.TerminalNode
func (*If_expressionContext) OperatorNe ¶
func (s *If_expressionContext) OperatorNe() antlr.TerminalNode
func (*If_expressionContext) Spacing ¶
func (s *If_expressionContext) Spacing(i int) antlr.TerminalNode
func (*If_expressionContext) ToStringTree ¶
func (s *If_expressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*If_expressionContext) Value ¶
func (s *If_expressionContext) Value(i int) IValueContext
type If_instructionContext ¶
type If_instructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_instructionContext ¶
func NewEmptyIf_instructionContext() *If_instructionContext
func NewIf_instructionContext ¶
func NewIf_instructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_instructionContext
func (*If_instructionContext) Accept ¶
func (s *If_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*If_instructionContext) AllSpacing ¶
func (s *If_instructionContext) AllSpacing() []antlr.TerminalNode
func (*If_instructionContext) Elif_instruction ¶
func (s *If_instructionContext) Elif_instruction() IElif_instructionContext
func (*If_instructionContext) End ¶
func (s *If_instructionContext) End() antlr.TerminalNode
func (*If_instructionContext) GetParser ¶
func (s *If_instructionContext) GetParser() antlr.Parser
func (*If_instructionContext) GetRuleContext ¶
func (s *If_instructionContext) GetRuleContext() antlr.RuleContext
func (*If_instructionContext) If ¶
func (s *If_instructionContext) If() antlr.TerminalNode
func (*If_instructionContext) If_expression ¶
func (s *If_instructionContext) If_expression() IIf_expressionContext
func (*If_instructionContext) Instructions ¶
func (s *If_instructionContext) Instructions() IInstructionsContext
func (*If_instructionContext) IsIf_instructionContext ¶
func (*If_instructionContext) IsIf_instructionContext()
func (*If_instructionContext) Spacing ¶
func (s *If_instructionContext) Spacing(i int) antlr.TerminalNode
func (*If_instructionContext) ToStringTree ¶
func (s *If_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Include_instructionContext ¶
type Include_instructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInclude_instructionContext ¶
func NewEmptyInclude_instructionContext() *Include_instructionContext
func NewInclude_instructionContext ¶
func NewInclude_instructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Include_instructionContext
func (*Include_instructionContext) Accept ¶
func (s *Include_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Include_instructionContext) GetParser ¶
func (s *Include_instructionContext) GetParser() antlr.Parser
func (*Include_instructionContext) GetRuleContext ¶
func (s *Include_instructionContext) GetRuleContext() antlr.RuleContext
func (*Include_instructionContext) Include ¶
func (s *Include_instructionContext) Include() antlr.TerminalNode
func (*Include_instructionContext) IsInclude_instructionContext ¶
func (*Include_instructionContext) IsInclude_instructionContext()
func (*Include_instructionContext) Spacing ¶
func (s *Include_instructionContext) Spacing() antlr.TerminalNode
func (*Include_instructionContext) StringLiteral ¶
func (s *Include_instructionContext) StringLiteral() antlr.TerminalNode
func (*Include_instructionContext) ToStringTree ¶
func (s *Include_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InstructionContext ¶
type InstructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInstructionContext ¶
func NewEmptyInstructionContext() *InstructionContext
func NewInstructionContext ¶
func NewInstructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InstructionContext
func (*InstructionContext) Accept ¶
func (s *InstructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*InstructionContext) Comment ¶
func (s *InstructionContext) Comment() ICommentContext
func (*InstructionContext) GetParser ¶
func (s *InstructionContext) GetParser() antlr.Parser
func (*InstructionContext) GetRuleContext ¶
func (s *InstructionContext) GetRuleContext() antlr.RuleContext
func (*InstructionContext) If_instruction ¶
func (s *InstructionContext) If_instruction() IIf_instructionContext
func (*InstructionContext) Include_instruction ¶
func (s *InstructionContext) Include_instruction() IInclude_instructionContext
func (*InstructionContext) IsInstructionContext ¶
func (*InstructionContext) IsInstructionContext()
func (*InstructionContext) Native_instruction ¶
func (s *InstructionContext) Native_instruction() INative_instructionContext
func (*InstructionContext) Nothing ¶
func (s *InstructionContext) Nothing() INothingContext
func (*InstructionContext) ToStringTree ¶
func (s *InstructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InstructionsContext ¶
type InstructionsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInstructionsContext ¶
func NewEmptyInstructionsContext() *InstructionsContext
func NewInstructionsContext ¶
func NewInstructionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InstructionsContext
func (*InstructionsContext) Accept ¶
func (s *InstructionsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*InstructionsContext) AllInstruction ¶
func (s *InstructionsContext) AllInstruction() []IInstructionContext
func (*InstructionsContext) AllSpacing ¶
func (s *InstructionsContext) AllSpacing() []antlr.TerminalNode
func (*InstructionsContext) GetParser ¶
func (s *InstructionsContext) GetParser() antlr.Parser
func (*InstructionsContext) GetRuleContext ¶
func (s *InstructionsContext) GetRuleContext() antlr.RuleContext
func (*InstructionsContext) Instruction ¶
func (s *InstructionsContext) Instruction(i int) IInstructionContext
func (*InstructionsContext) IsInstructionsContext ¶
func (*InstructionsContext) IsInstructionsContext()
func (*InstructionsContext) Spacing ¶
func (s *InstructionsContext) Spacing(i int) antlr.TerminalNode
func (*InstructionsContext) ToStringTree ¶
func (s *InstructionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Native_instructionContext ¶
type Native_instructionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNative_instructionContext ¶
func NewEmptyNative_instructionContext() *Native_instructionContext
func NewNative_instructionContext ¶
func NewNative_instructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Native_instructionContext
func (*Native_instructionContext) Accept ¶
func (s *Native_instructionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Native_instructionContext) GetParser ¶
func (s *Native_instructionContext) GetParser() antlr.Parser
func (*Native_instructionContext) GetRuleContext ¶
func (s *Native_instructionContext) GetRuleContext() antlr.RuleContext
func (*Native_instructionContext) IsNative_instructionContext ¶
func (*Native_instructionContext) IsNative_instructionContext()
func (*Native_instructionContext) NativeInstructionCall ¶
func (s *Native_instructionContext) NativeInstructionCall() antlr.TerminalNode
func (*Native_instructionContext) ToStringTree ¶
func (s *Native_instructionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NothingContext ¶
type NothingContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNothingContext ¶
func NewEmptyNothingContext() *NothingContext
func NewNothingContext ¶
func NewNothingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NothingContext
func (*NothingContext) Accept ¶
func (s *NothingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NothingContext) GetParser ¶
func (s *NothingContext) GetParser() antlr.Parser
func (*NothingContext) GetRuleContext ¶
func (s *NothingContext) GetRuleContext() antlr.RuleContext
func (*NothingContext) IsNothingContext ¶
func (*NothingContext) IsNothingContext()
func (*NothingContext) ToStringTree ¶
func (s *NothingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TranslationContext ¶
type TranslationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTranslationContext ¶
func NewEmptyTranslationContext() *TranslationContext
func NewTranslationContext ¶
func NewTranslationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TranslationContext
func (*TranslationContext) Accept ¶
func (s *TranslationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TranslationContext) EOF ¶
func (s *TranslationContext) EOF() antlr.TerminalNode
func (*TranslationContext) GetParser ¶
func (s *TranslationContext) GetParser() antlr.Parser
func (*TranslationContext) GetRuleContext ¶
func (s *TranslationContext) GetRuleContext() antlr.RuleContext
func (*TranslationContext) Instructions ¶
func (s *TranslationContext) Instructions() IInstructionsContext
func (*TranslationContext) IsTranslationContext ¶
func (*TranslationContext) IsTranslationContext()
func (*TranslationContext) ToStringTree ¶
func (s *TranslationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ValueContext ¶
type ValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) Accept ¶
func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) StringLiteral ¶
func (s *ValueContext) StringLiteral() antlr.TerminalNode
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ValueContext) Variable ¶
func (s *ValueContext) Variable() antlr.TerminalNode