Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyAttributeContext(p *AttributeContext)
- func InitEmptyAttributesContext(p *AttributesContext)
- func InitEmptyCommandBodyContext(p *CommandBodyContext)
- func InitEmptyCommandContext(p *CommandContext)
- func InitEmptyCommandSeparatorContext(p *CommandSeparatorContext)
- func InitEmptyCommandsContext(p *CommandsContext)
- func InitEmptyListValueContext(p *ListValueContext)
- func InitEmptySimpleValueContext(p *SimpleValueContext)
- func InitEmptyUidlContext(p *UidlContext)
- func InitEmptyValueContext(p *ValueContext)
- func InitEmptyVersionContext(p *VersionContext)
- func UIDLLexerInit()
- func UIDLParserInit()
- type AttributeContext
- func (s *AttributeContext) AllWhiteSpace() []antlr.TerminalNode
- func (s *AttributeContext) GetParser() antlr.Parser
- func (s *AttributeContext) GetRuleContext() antlr.RuleContext
- func (s *AttributeContext) Identifier() antlr.TerminalNode
- func (*AttributeContext) IsAttributeContext()
- func (s *AttributeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AttributeContext) Value() IValueContext
- func (s *AttributeContext) WhiteSpace(i int) antlr.TerminalNode
- type AttributesContext
- func (s *AttributesContext) AllAttribute() []IAttributeContext
- func (s *AttributesContext) AllComma() []antlr.TerminalNode
- func (s *AttributesContext) Attribute(i int) IAttributeContext
- func (s *AttributesContext) Comma(i int) antlr.TerminalNode
- func (s *AttributesContext) GetParser() antlr.Parser
- func (s *AttributesContext) GetRuleContext() antlr.RuleContext
- func (*AttributesContext) IsAttributesContext()
- func (s *AttributesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AttributesContext) WhiteSpace() antlr.TerminalNode
- type CommandBodyContext
- func (s *CommandBodyContext) Commands() ICommandsContext
- func (s *CommandBodyContext) GetParser() antlr.Parser
- func (s *CommandBodyContext) GetRuleContext() antlr.RuleContext
- func (*CommandBodyContext) IsCommandBodyContext()
- func (s *CommandBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CommandBodyContext) WhiteSpace() antlr.TerminalNode
- type CommandContext
- func (s *CommandContext) AllIdentifier() []antlr.TerminalNode
- func (s *CommandContext) AllWhiteSpace() []antlr.TerminalNode
- func (s *CommandContext) Attributes() IAttributesContext
- func (s *CommandContext) CommandBody() ICommandBodyContext
- func (s *CommandContext) GetParser() antlr.Parser
- func (s *CommandContext) GetRuleContext() antlr.RuleContext
- func (s *CommandContext) Identifier(i int) antlr.TerminalNode
- func (*CommandContext) IsCommandContext()
- func (s *CommandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CommandContext) WhiteSpace(i int) antlr.TerminalNode
- type CommandSeparatorContext
- func (s *CommandSeparatorContext) GetParser() antlr.Parser
- func (s *CommandSeparatorContext) GetRuleContext() antlr.RuleContext
- func (s *CommandSeparatorContext) GetWs() antlr.Token
- func (*CommandSeparatorContext) IsCommandSeparatorContext()
- func (s *CommandSeparatorContext) Semicolon() antlr.TerminalNode
- func (s *CommandSeparatorContext) SetWs(v antlr.Token)
- func (s *CommandSeparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CommandSeparatorContext) WhiteSpace() antlr.TerminalNode
- type CommandsContext
- func (s *CommandsContext) AllCommand() []ICommandContext
- func (s *CommandsContext) AllCommandSeparator() []ICommandSeparatorContext
- func (s *CommandsContext) Command(i int) ICommandContext
- func (s *CommandsContext) CommandSeparator(i int) ICommandSeparatorContext
- func (s *CommandsContext) GetParser() antlr.Parser
- func (s *CommandsContext) GetRuleContext() antlr.RuleContext
- func (*CommandsContext) IsCommandsContext()
- func (s *CommandsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAttributeContext
- type IAttributesContext
- type ICommandBodyContext
- type ICommandContext
- type ICommandSeparatorContext
- type ICommandsContext
- type IListValueContext
- type ISimpleValueContext
- type IUidlContext
- type IValueContext
- type IVersionContext
- type ListValueContext
- func (s *ListValueContext) AllComma() []antlr.TerminalNode
- func (s *ListValueContext) AllSimpleValue() []ISimpleValueContext
- func (s *ListValueContext) Comma(i int) antlr.TerminalNode
- func (s *ListValueContext) GetParser() antlr.Parser
- func (s *ListValueContext) GetRuleContext() antlr.RuleContext
- func (*ListValueContext) IsListValueContext()
- func (s *ListValueContext) SimpleValue(i int) ISimpleValueContext
- func (s *ListValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ListValueContext) WhiteSpace() antlr.TerminalNode
- type SimpleValueContext
- func (s *SimpleValueContext) BackQuotedString() antlr.TerminalNode
- func (s *SimpleValueContext) Bool() antlr.TerminalNode
- func (s *SimpleValueContext) DoubleQuotedString() antlr.TerminalNode
- func (s *SimpleValueContext) Float() antlr.TerminalNode
- func (s *SimpleValueContext) GetParser() antlr.Parser
- func (s *SimpleValueContext) GetRuleContext() antlr.RuleContext
- func (s *SimpleValueContext) Int() antlr.TerminalNode
- func (*SimpleValueContext) IsSimpleValueContext()
- func (s *SimpleValueContext) Natural() antlr.TerminalNode
- func (s *SimpleValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UIDLLexer
- type UIDLParser
- func (p *UIDLParser) Attribute() (localctx IAttributeContext)
- func (p *UIDLParser) Attributes() (localctx IAttributesContext)
- func (p *UIDLParser) Command() (localctx ICommandContext)
- func (p *UIDLParser) CommandBody() (localctx ICommandBodyContext)
- func (p *UIDLParser) CommandSeparator() (localctx ICommandSeparatorContext)
- func (p *UIDLParser) CommandSeparator_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *UIDLParser) Commands() (localctx ICommandsContext)
- func (p *UIDLParser) ListValue() (localctx IListValueContext)
- func (p *UIDLParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *UIDLParser) SimpleValue() (localctx ISimpleValueContext)
- func (p *UIDLParser) Uidl() (localctx IUidlContext)
- func (p *UIDLParser) Value() (localctx IValueContext)
- func (p *UIDLParser) Version() (localctx IVersionContext)
- type UidlContext
- func (s *UidlContext) AllWhiteSpace() []antlr.TerminalNode
- func (s *UidlContext) CommandSeparator() ICommandSeparatorContext
- func (s *UidlContext) Commands() ICommandsContext
- func (s *UidlContext) EOF() antlr.TerminalNode
- func (s *UidlContext) GetParser() antlr.Parser
- func (s *UidlContext) GetRuleContext() antlr.RuleContext
- func (*UidlContext) IsUidlContext()
- func (s *UidlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UidlContext) Version() IVersionContext
- func (s *UidlContext) WhiteSpace(i int) antlr.TerminalNode
- type ValueContext
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) ListValue() IListValueContext
- func (s *ValueContext) SimpleValue() ISimpleValueContext
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VersionContext
- func (s *VersionContext) GetParser() antlr.Parser
- func (s *VersionContext) GetRuleContext() antlr.RuleContext
- func (*VersionContext) IsVersionContext()
- func (s *VersionContext) Natural() antlr.TerminalNode
- func (s *VersionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VersionContext) WhiteSpace() antlr.TerminalNode
Constants ¶
const ( UIDLLexerT__0 = 1 UIDLLexerT__1 = 2 UIDLLexerT__2 = 3 UIDLLexerT__3 = 4 UIDLLexerT__4 = 5 UIDLLexerT__5 = 6 UIDLLexerT__6 = 7 UIDLLexerT__7 = 8 UIDLLexerBool = 9 UIDLLexerDoubleQuotedString = 10 UIDLLexerBackQuotedString = 11 UIDLLexerIdentifier = 12 UIDLLexerNatural = 13 UIDLLexerFloat = 14 UIDLLexerInt = 15 UIDLLexerSemicolon = 16 UIDLLexerComma = 17 UIDLLexerWhiteSpace = 18 )
UIDLLexer tokens.
const ( UIDLParserEOF = antlr.TokenEOF UIDLParserT__0 = 1 UIDLParserT__1 = 2 UIDLParserT__2 = 3 UIDLParserT__3 = 4 UIDLParserT__4 = 5 UIDLParserT__5 = 6 UIDLParserT__6 = 7 UIDLParserT__7 = 8 UIDLParserBool = 9 UIDLParserDoubleQuotedString = 10 UIDLParserBackQuotedString = 11 UIDLParserIdentifier = 12 UIDLParserNatural = 13 UIDLParserFloat = 14 UIDLParserInt = 15 UIDLParserSemicolon = 16 UIDLParserComma = 17 UIDLParserWhiteSpace = 18 )
UIDLParser tokens.
const ( UIDLParserRULE_uidl = 0 UIDLParserRULE_version = 1 UIDLParserRULE_commands = 2 UIDLParserRULE_command = 3 UIDLParserRULE_commandSeparator = 4 UIDLParserRULE_commandBody = 5 UIDLParserRULE_attributes = 6 UIDLParserRULE_attribute = 7 UIDLParserRULE_value = 8 UIDLParserRULE_listValue = 9 UIDLParserRULE_simpleValue = 10 )
UIDLParser rules.
Variables ¶
var UIDLLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var UIDLParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyAttributeContext ¶
func InitEmptyAttributeContext(p *AttributeContext)
func InitEmptyAttributesContext ¶
func InitEmptyAttributesContext(p *AttributesContext)
func InitEmptyCommandBodyContext ¶
func InitEmptyCommandBodyContext(p *CommandBodyContext)
func InitEmptyCommandContext ¶
func InitEmptyCommandContext(p *CommandContext)
func InitEmptyCommandSeparatorContext ¶
func InitEmptyCommandSeparatorContext(p *CommandSeparatorContext)
func InitEmptyCommandsContext ¶
func InitEmptyCommandsContext(p *CommandsContext)
func InitEmptyListValueContext ¶
func InitEmptyListValueContext(p *ListValueContext)
func InitEmptySimpleValueContext ¶
func InitEmptySimpleValueContext(p *SimpleValueContext)
func InitEmptyUidlContext ¶
func InitEmptyUidlContext(p *UidlContext)
func InitEmptyValueContext ¶
func InitEmptyValueContext(p *ValueContext)
func InitEmptyVersionContext ¶
func InitEmptyVersionContext(p *VersionContext)
func UIDLLexerInit ¶
func UIDLLexerInit()
UIDLLexerInit initializes any static state used to implement UIDLLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewUIDLLexer(). You can call this function if you wish to initialize the static state ahead of time.
func UIDLParserInit ¶
func UIDLParserInit()
UIDLParserInit initializes any static state used to implement UIDLParser. By default the static state used to implement the parser is lazily initialized during the first call to NewUIDLParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AttributeContext ¶
type AttributeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAttributeContext ¶
func NewAttributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeContext
func NewEmptyAttributeContext ¶
func NewEmptyAttributeContext() *AttributeContext
func (*AttributeContext) AllWhiteSpace ¶
func (s *AttributeContext) AllWhiteSpace() []antlr.TerminalNode
func (*AttributeContext) GetParser ¶
func (s *AttributeContext) GetParser() antlr.Parser
func (*AttributeContext) GetRuleContext ¶
func (s *AttributeContext) GetRuleContext() antlr.RuleContext
func (*AttributeContext) Identifier ¶
func (s *AttributeContext) Identifier() antlr.TerminalNode
func (*AttributeContext) IsAttributeContext ¶
func (*AttributeContext) IsAttributeContext()
func (*AttributeContext) ToStringTree ¶
func (s *AttributeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AttributeContext) Value ¶
func (s *AttributeContext) Value() IValueContext
func (*AttributeContext) WhiteSpace ¶
func (s *AttributeContext) WhiteSpace(i int) antlr.TerminalNode
type AttributesContext ¶
type AttributesContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAttributesContext ¶
func NewAttributesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributesContext
func NewEmptyAttributesContext ¶
func NewEmptyAttributesContext() *AttributesContext
func (*AttributesContext) AllAttribute ¶
func (s *AttributesContext) AllAttribute() []IAttributeContext
func (*AttributesContext) AllComma ¶
func (s *AttributesContext) AllComma() []antlr.TerminalNode
func (*AttributesContext) Attribute ¶
func (s *AttributesContext) Attribute(i int) IAttributeContext
func (*AttributesContext) Comma ¶
func (s *AttributesContext) Comma(i int) antlr.TerminalNode
func (*AttributesContext) GetParser ¶
func (s *AttributesContext) GetParser() antlr.Parser
func (*AttributesContext) GetRuleContext ¶
func (s *AttributesContext) GetRuleContext() antlr.RuleContext
func (*AttributesContext) IsAttributesContext ¶
func (*AttributesContext) IsAttributesContext()
func (*AttributesContext) ToStringTree ¶
func (s *AttributesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AttributesContext) WhiteSpace ¶
func (s *AttributesContext) WhiteSpace() antlr.TerminalNode
type CommandBodyContext ¶
type CommandBodyContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandBodyContext ¶
func NewCommandBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandBodyContext
func NewEmptyCommandBodyContext ¶
func NewEmptyCommandBodyContext() *CommandBodyContext
func (*CommandBodyContext) Commands ¶
func (s *CommandBodyContext) Commands() ICommandsContext
func (*CommandBodyContext) GetParser ¶
func (s *CommandBodyContext) GetParser() antlr.Parser
func (*CommandBodyContext) GetRuleContext ¶
func (s *CommandBodyContext) GetRuleContext() antlr.RuleContext
func (*CommandBodyContext) IsCommandBodyContext ¶
func (*CommandBodyContext) IsCommandBodyContext()
func (*CommandBodyContext) ToStringTree ¶
func (s *CommandBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CommandBodyContext) WhiteSpace ¶
func (s *CommandBodyContext) WhiteSpace() antlr.TerminalNode
type CommandContext ¶
type CommandContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandContext ¶
func NewCommandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandContext
func NewEmptyCommandContext ¶
func NewEmptyCommandContext() *CommandContext
func (*CommandContext) AllIdentifier ¶
func (s *CommandContext) AllIdentifier() []antlr.TerminalNode
func (*CommandContext) AllWhiteSpace ¶
func (s *CommandContext) AllWhiteSpace() []antlr.TerminalNode
func (*CommandContext) Attributes ¶
func (s *CommandContext) Attributes() IAttributesContext
func (*CommandContext) CommandBody ¶
func (s *CommandContext) CommandBody() ICommandBodyContext
func (*CommandContext) GetParser ¶
func (s *CommandContext) GetParser() antlr.Parser
func (*CommandContext) GetRuleContext ¶
func (s *CommandContext) GetRuleContext() antlr.RuleContext
func (*CommandContext) Identifier ¶
func (s *CommandContext) Identifier(i int) antlr.TerminalNode
func (*CommandContext) IsCommandContext ¶
func (*CommandContext) IsCommandContext()
func (*CommandContext) ToStringTree ¶
func (s *CommandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CommandContext) WhiteSpace ¶
func (s *CommandContext) WhiteSpace(i int) antlr.TerminalNode
type CommandSeparatorContext ¶
type CommandSeparatorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandSeparatorContext ¶
func NewCommandSeparatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandSeparatorContext
func NewEmptyCommandSeparatorContext ¶
func NewEmptyCommandSeparatorContext() *CommandSeparatorContext
func (*CommandSeparatorContext) GetParser ¶
func (s *CommandSeparatorContext) GetParser() antlr.Parser
func (*CommandSeparatorContext) GetRuleContext ¶
func (s *CommandSeparatorContext) GetRuleContext() antlr.RuleContext
func (*CommandSeparatorContext) GetWs ¶
func (s *CommandSeparatorContext) GetWs() antlr.Token
func (*CommandSeparatorContext) IsCommandSeparatorContext ¶
func (*CommandSeparatorContext) IsCommandSeparatorContext()
func (*CommandSeparatorContext) Semicolon ¶
func (s *CommandSeparatorContext) Semicolon() antlr.TerminalNode
func (*CommandSeparatorContext) SetWs ¶
func (s *CommandSeparatorContext) SetWs(v antlr.Token)
func (*CommandSeparatorContext) ToStringTree ¶
func (s *CommandSeparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CommandSeparatorContext) WhiteSpace ¶
func (s *CommandSeparatorContext) WhiteSpace() antlr.TerminalNode
type CommandsContext ¶
type CommandsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandsContext ¶
func NewCommandsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandsContext
func NewEmptyCommandsContext ¶
func NewEmptyCommandsContext() *CommandsContext
func (*CommandsContext) AllCommand ¶
func (s *CommandsContext) AllCommand() []ICommandContext
func (*CommandsContext) AllCommandSeparator ¶
func (s *CommandsContext) AllCommandSeparator() []ICommandSeparatorContext
func (*CommandsContext) Command ¶
func (s *CommandsContext) Command(i int) ICommandContext
func (*CommandsContext) CommandSeparator ¶
func (s *CommandsContext) CommandSeparator(i int) ICommandSeparatorContext
func (*CommandsContext) GetParser ¶
func (s *CommandsContext) GetParser() antlr.Parser
func (*CommandsContext) GetRuleContext ¶
func (s *CommandsContext) GetRuleContext() antlr.RuleContext
func (*CommandsContext) IsCommandsContext ¶
func (*CommandsContext) IsCommandsContext()
func (*CommandsContext) ToStringTree ¶
func (s *CommandsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAttributeContext ¶
type IAttributeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode Value() IValueContext AllWhiteSpace() []antlr.TerminalNode WhiteSpace(i int) antlr.TerminalNode // IsAttributeContext differentiates from other interfaces. IsAttributeContext() }
IAttributeContext is an interface to support dynamic dispatch.
type IAttributesContext ¶
type IAttributesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures WhiteSpace() antlr.TerminalNode AllAttribute() []IAttributeContext Attribute(i int) IAttributeContext AllComma() []antlr.TerminalNode Comma(i int) antlr.TerminalNode // IsAttributesContext differentiates from other interfaces. IsAttributesContext() }
IAttributesContext is an interface to support dynamic dispatch.
type ICommandBodyContext ¶
type ICommandBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Commands() ICommandsContext WhiteSpace() antlr.TerminalNode // IsCommandBodyContext differentiates from other interfaces. IsCommandBodyContext() }
ICommandBodyContext is an interface to support dynamic dispatch.
type ICommandContext ¶
type ICommandContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIdentifier() []antlr.TerminalNode Identifier(i int) antlr.TerminalNode AllWhiteSpace() []antlr.TerminalNode WhiteSpace(i int) antlr.TerminalNode Attributes() IAttributesContext CommandBody() ICommandBodyContext // IsCommandContext differentiates from other interfaces. IsCommandContext() }
ICommandContext is an interface to support dynamic dispatch.
type ICommandSeparatorContext ¶
type ICommandSeparatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetWs returns the ws token. GetWs() antlr.Token // SetWs sets the ws token. SetWs(antlr.Token) // Getter signatures Semicolon() antlr.TerminalNode WhiteSpace() antlr.TerminalNode // IsCommandSeparatorContext differentiates from other interfaces. IsCommandSeparatorContext() }
ICommandSeparatorContext is an interface to support dynamic dispatch.
type ICommandsContext ¶
type ICommandsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCommand() []ICommandContext Command(i int) ICommandContext AllCommandSeparator() []ICommandSeparatorContext CommandSeparator(i int) ICommandSeparatorContext // IsCommandsContext differentiates from other interfaces. IsCommandsContext() }
ICommandsContext is an interface to support dynamic dispatch.
type IListValueContext ¶
type IListValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures WhiteSpace() antlr.TerminalNode AllSimpleValue() []ISimpleValueContext SimpleValue(i int) ISimpleValueContext AllComma() []antlr.TerminalNode Comma(i int) antlr.TerminalNode // IsListValueContext differentiates from other interfaces. IsListValueContext() }
IListValueContext is an interface to support dynamic dispatch.
type ISimpleValueContext ¶
type ISimpleValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DoubleQuotedString() antlr.TerminalNode BackQuotedString() antlr.TerminalNode Float() antlr.TerminalNode Natural() antlr.TerminalNode Int() antlr.TerminalNode Bool() antlr.TerminalNode // IsSimpleValueContext differentiates from other interfaces. IsSimpleValueContext() }
ISimpleValueContext is an interface to support dynamic dispatch.
type IUidlContext ¶
type IUidlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Version() IVersionContext CommandSeparator() ICommandSeparatorContext Commands() ICommandsContext EOF() antlr.TerminalNode AllWhiteSpace() []antlr.TerminalNode WhiteSpace(i int) antlr.TerminalNode // IsUidlContext differentiates from other interfaces. IsUidlContext() }
IUidlContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SimpleValue() ISimpleValueContext ListValue() IListValueContext // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type IVersionContext ¶
type IVersionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures WhiteSpace() antlr.TerminalNode Natural() antlr.TerminalNode // IsVersionContext differentiates from other interfaces. IsVersionContext() }
IVersionContext is an interface to support dynamic dispatch.
type ListValueContext ¶
type ListValueContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListValueContext ¶
func NewEmptyListValueContext() *ListValueContext
func NewListValueContext ¶
func NewListValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListValueContext
func (*ListValueContext) AllComma ¶
func (s *ListValueContext) AllComma() []antlr.TerminalNode
func (*ListValueContext) AllSimpleValue ¶
func (s *ListValueContext) AllSimpleValue() []ISimpleValueContext
func (*ListValueContext) Comma ¶
func (s *ListValueContext) Comma(i int) antlr.TerminalNode
func (*ListValueContext) GetParser ¶
func (s *ListValueContext) GetParser() antlr.Parser
func (*ListValueContext) GetRuleContext ¶
func (s *ListValueContext) GetRuleContext() antlr.RuleContext
func (*ListValueContext) IsListValueContext ¶
func (*ListValueContext) IsListValueContext()
func (*ListValueContext) SimpleValue ¶
func (s *ListValueContext) SimpleValue(i int) ISimpleValueContext
func (*ListValueContext) ToStringTree ¶
func (s *ListValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ListValueContext) WhiteSpace ¶
func (s *ListValueContext) WhiteSpace() antlr.TerminalNode
type SimpleValueContext ¶
type SimpleValueContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleValueContext ¶
func NewEmptySimpleValueContext() *SimpleValueContext
func NewSimpleValueContext ¶
func NewSimpleValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleValueContext
func (*SimpleValueContext) BackQuotedString ¶
func (s *SimpleValueContext) BackQuotedString() antlr.TerminalNode
func (*SimpleValueContext) Bool ¶
func (s *SimpleValueContext) Bool() antlr.TerminalNode
func (*SimpleValueContext) DoubleQuotedString ¶
func (s *SimpleValueContext) DoubleQuotedString() antlr.TerminalNode
func (*SimpleValueContext) Float ¶
func (s *SimpleValueContext) Float() antlr.TerminalNode
func (*SimpleValueContext) GetParser ¶
func (s *SimpleValueContext) GetParser() antlr.Parser
func (*SimpleValueContext) GetRuleContext ¶
func (s *SimpleValueContext) GetRuleContext() antlr.RuleContext
func (*SimpleValueContext) Int ¶
func (s *SimpleValueContext) Int() antlr.TerminalNode
func (*SimpleValueContext) IsSimpleValueContext ¶
func (*SimpleValueContext) IsSimpleValueContext()
func (*SimpleValueContext) Natural ¶
func (s *SimpleValueContext) Natural() antlr.TerminalNode
func (*SimpleValueContext) ToStringTree ¶
func (s *SimpleValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UIDLLexer ¶
type UIDLLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewUIDLLexer ¶
func NewUIDLLexer(input antlr.CharStream) *UIDLLexer
NewUIDLLexer produces a new lexer instance for the optional input antlr.CharStream.
type UIDLParser ¶
type UIDLParser struct {
*antlr.BaseParser
}
func NewUIDLParser ¶
func NewUIDLParser(input antlr.TokenStream) *UIDLParser
NewUIDLParser produces a new parser instance for the optional input antlr.TokenStream.
func (*UIDLParser) Attribute ¶
func (p *UIDLParser) Attribute() (localctx IAttributeContext)
func (*UIDLParser) Attributes ¶
func (p *UIDLParser) Attributes() (localctx IAttributesContext)
func (*UIDLParser) Command ¶
func (p *UIDLParser) Command() (localctx ICommandContext)
func (*UIDLParser) CommandBody ¶
func (p *UIDLParser) CommandBody() (localctx ICommandBodyContext)
func (*UIDLParser) CommandSeparator ¶
func (p *UIDLParser) CommandSeparator() (localctx ICommandSeparatorContext)
func (*UIDLParser) CommandSeparator_Sempred ¶
func (p *UIDLParser) CommandSeparator_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*UIDLParser) Commands ¶
func (p *UIDLParser) Commands() (localctx ICommandsContext)
func (*UIDLParser) ListValue ¶
func (p *UIDLParser) ListValue() (localctx IListValueContext)
func (*UIDLParser) Sempred ¶
func (p *UIDLParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*UIDLParser) SimpleValue ¶
func (p *UIDLParser) SimpleValue() (localctx ISimpleValueContext)
func (*UIDLParser) Uidl ¶
func (p *UIDLParser) Uidl() (localctx IUidlContext)
func (*UIDLParser) Value ¶
func (p *UIDLParser) Value() (localctx IValueContext)
func (*UIDLParser) Version ¶
func (p *UIDLParser) Version() (localctx IVersionContext)
type UidlContext ¶
type UidlContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUidlContext ¶
func NewEmptyUidlContext() *UidlContext
func NewUidlContext ¶
func NewUidlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UidlContext
func (*UidlContext) AllWhiteSpace ¶
func (s *UidlContext) AllWhiteSpace() []antlr.TerminalNode
func (*UidlContext) CommandSeparator ¶
func (s *UidlContext) CommandSeparator() ICommandSeparatorContext
func (*UidlContext) Commands ¶
func (s *UidlContext) Commands() ICommandsContext
func (*UidlContext) EOF ¶
func (s *UidlContext) EOF() antlr.TerminalNode
func (*UidlContext) GetParser ¶
func (s *UidlContext) GetParser() antlr.Parser
func (*UidlContext) GetRuleContext ¶
func (s *UidlContext) GetRuleContext() antlr.RuleContext
func (*UidlContext) IsUidlContext ¶
func (*UidlContext) IsUidlContext()
func (*UidlContext) ToStringTree ¶
func (s *UidlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UidlContext) Version ¶
func (s *UidlContext) Version() IVersionContext
func (*UidlContext) WhiteSpace ¶
func (s *UidlContext) WhiteSpace(i int) antlr.TerminalNode
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) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) ListValue ¶
func (s *ValueContext) ListValue() IListValueContext
func (*ValueContext) SimpleValue ¶
func (s *ValueContext) SimpleValue() ISimpleValueContext
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VersionContext ¶
type VersionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVersionContext ¶
func NewEmptyVersionContext() *VersionContext
func NewVersionContext ¶
func NewVersionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VersionContext
func (*VersionContext) GetParser ¶
func (s *VersionContext) GetParser() antlr.Parser
func (*VersionContext) GetRuleContext ¶
func (s *VersionContext) GetRuleContext() antlr.RuleContext
func (*VersionContext) IsVersionContext ¶
func (*VersionContext) IsVersionContext()
func (*VersionContext) Natural ¶
func (s *VersionContext) Natural() antlr.TerminalNode
func (*VersionContext) ToStringTree ¶
func (s *VersionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VersionContext) WhiteSpace ¶
func (s *VersionContext) WhiteSpace() antlr.TerminalNode