Versions in this module Expand all Collapse all v0 v0.2.1 Aug 10, 2018 v0.1.1 Nov 28, 2017 Changes in this version + const RawLexerIDENTIFIER + const RawLexerINLINE_STRING + const RawLexerINT + const RawLexerNEWLINE + const RawLexerNUMBER + const RawLexerSTRING_LITERAL + const RawLexerT__0 + const RawLexerT__1 + const RawLexerT__2 + const RawLexerWS + const RawParserEOF + const RawParserIDENTIFIER + const RawParserINLINE_STRING + const RawParserINT + const RawParserNEWLINE + const RawParserNUMBER + const RawParserRULE_boolean + const RawParserRULE_eoc + const RawParserRULE_line + const RawParserRULE_set + const RawParserRULE_value + const RawParserSTRING_LITERAL + const RawParserT__0 + const RawParserT__1 + const RawParserT__2 + const RawParserWS + func Parse(lin, col int, data string, storage TokenStorage) (errors []error) + type BooleanContext struct + func NewBooleanContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanContext + func NewEmptyBooleanContext() *BooleanContext + func (*BooleanContext) IsBooleanContext() + func (s *BooleanContext) EnterRule(listener antlr.ParseTreeListener) + func (s *BooleanContext) ExitRule(listener antlr.ParseTreeListener) + func (s *BooleanContext) GetParser() antlr.Parser + func (s *BooleanContext) GetRuleContext() antlr.RuleContext + func (s *BooleanContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type EocContext struct + func NewEmptyEocContext() *EocContext + func NewEocContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EocContext + func (*EocContext) IsEocContext() + func (s *EocContext) AllNEWLINE() []antlr.TerminalNode + func (s *EocContext) EnterRule(listener antlr.ParseTreeListener) + func (s *EocContext) ExitRule(listener antlr.ParseTreeListener) + func (s *EocContext) GetParser() antlr.Parser + func (s *EocContext) GetRuleContext() antlr.RuleContext + func (s *EocContext) NEWLINE(i int) antlr.TerminalNode + func (s *EocContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type Error struct + Col int + Err error + Lin int + type ErrorHandler struct + func NewErrorHandler(lin, col int) *ErrorHandler + func (eh *ErrorHandler) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ...) + func (eh *ErrorHandler) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, ...) + func (eh *ErrorHandler) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, ...) + func (eh *ErrorHandler) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, ...) + type IBooleanContext interface + GetParser func() antlr.Parser + IsBooleanContext func() + type IEocContext interface + GetParser func() antlr.Parser + IsEocContext func() + type ILineContext interface + GetParser func() antlr.Parser + IsLineContext func() + type ISetContext interface + GetParser func() antlr.Parser + IsSetContext func() + type IValueContext interface + GetParser func() antlr.Parser + IsValueContext func() + type LineContext struct + func NewEmptyLineContext() *LineContext + func NewLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LineContext + func (*LineContext) IsLineContext() + func (s *LineContext) EnterRule(listener antlr.ParseTreeListener) + func (s *LineContext) ExitRule(listener antlr.ParseTreeListener) + func (s *LineContext) GetParser() antlr.Parser + func (s *LineContext) GetRuleContext() antlr.RuleContext + func (s *LineContext) IDENTIFIER() antlr.TerminalNode + func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *LineContext) Value() IValueContext + type Listener struct + func NewListener(lin, col int, storage TokenStorage) *Listener + func (l *Listener) EnterBoolean(c *BooleanContext) + func (l *Listener) EnterEoc(c *EocContext) + func (l *Listener) EnterEveryRule(ctx antlr.ParserRuleContext) + func (l *Listener) EnterLine(c *LineContext) + func (l *Listener) EnterSet(c *SetContext) + func (l *Listener) EnterValue(c *ValueContext) + func (l *Listener) ExitBoolean(c *BooleanContext) + func (l *Listener) ExitEoc(c *EocContext) + func (l *Listener) ExitEveryRule(ctx antlr.ParserRuleContext) + func (l *Listener) ExitLine(c *LineContext) + func (l *Listener) ExitSet(c *SetContext) + func (l *Listener) ExitValue(c *ValueContext) + func (l *Listener) VisitErrorNode(node antlr.ErrorNode) + func (l *Listener) VisitTerminal(node antlr.TerminalNode) + type RawLexer struct + func NewRawLexer(input antlr.CharStream) *RawLexer + type RawListener interface + EnterBoolean func(c *BooleanContext) + EnterEoc func(c *EocContext) + EnterLine func(c *LineContext) + EnterSet func(c *SetContext) + EnterValue func(c *ValueContext) + ExitBoolean func(c *BooleanContext) + ExitEoc func(c *EocContext) + ExitLine func(c *LineContext) + ExitSet func(c *SetContext) + ExitValue func(c *ValueContext) + type RawParser struct + func NewRawParser(input antlr.TokenStream) *RawParser + func (p *RawParser) Boolean() (localctx IBooleanContext) + func (p *RawParser) Eoc() (localctx IEocContext) + func (p *RawParser) Line() (localctx ILineContext) + func (p *RawParser) Set() (localctx ISetContext) + func (p *RawParser) Value() (localctx IValueContext) + type SetContext struct + func NewEmptySetContext() *SetContext + func NewSetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetContext + func (*SetContext) IsSetContext() + func (s *SetContext) AllEoc() []IEocContext + func (s *SetContext) AllLine() []ILineContext + func (s *SetContext) EOF() antlr.TerminalNode + func (s *SetContext) EnterRule(listener antlr.ParseTreeListener) + func (s *SetContext) Eoc(i int) IEocContext + func (s *SetContext) ExitRule(listener antlr.ParseTreeListener) + func (s *SetContext) GetParser() antlr.Parser + func (s *SetContext) GetRuleContext() antlr.RuleContext + func (s *SetContext) Line(i int) ILineContext + func (s *SetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type TokenStorage interface + Boolean func(lin, col, xcol int, value string) + Header func(lin, col, xcol int, value string) + ValueNumber func(lin, col, xcol int, value string) + ValueString func(lin, col, xcol int, value string) + type ValueContext struct + func NewEmptyValueContext() *ValueContext + func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext + func (*ValueContext) IsValueContext() + func (s *ValueContext) Boolean() IBooleanContext + func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener) + func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener) + func (s *ValueContext) GetParser() antlr.Parser + func (s *ValueContext) GetRuleContext() antlr.RuleContext + func (s *ValueContext) IDENTIFIER() antlr.TerminalNode + func (s *ValueContext) INLINE_STRING() antlr.TerminalNode + func (s *ValueContext) NUMBER() antlr.TerminalNode + func (s *ValueContext) STRING_LITERAL() antlr.TerminalNode + func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string