Versions in this module Expand all Collapse all v0 v0.1.0 Jan 2, 2023 v0.0.1 Dec 31, 2022 Changes in this version + const UnitLexerASSIGN + const UnitLexerASSIGN_MODE + const UnitLexerCOMMENT + const UnitLexerCONTINUATION + const UnitLexerDQUOTE + const UnitLexerDQUOTE_STRING_MODE + const UnitLexerEOL + const UnitLexerESCAPE + const UnitLexerHEADER_MODE + const UnitLexerIDENTIFIER + const UnitLexerLBRACKET + const UnitLexerPLAIN_MODE + const UnitLexerRBRACKET + const UnitLexerSQUOTE + const UnitLexerSQUOTE_STRING_MODE + const UnitLexerVALUE + const UnitLexerWHITESPACE + const UnitLexerWHITESPACE_IN_ASSIGN + const UnitParserASSIGN + const UnitParserCOMMENT + const UnitParserCONTINUATION + const UnitParserDQUOTE + const UnitParserEOF + const UnitParserEOL + const UnitParserESCAPE + const UnitParserIDENTIFIER + const UnitParserLBRACKET + const UnitParserRBRACKET + const UnitParserRULE_field + const UnitParserRULE_fieldName + const UnitParserRULE_fields + const UnitParserRULE_plainValue + const UnitParserRULE_plainValues + const UnitParserRULE_quotedValue + const UnitParserRULE_quotedValues + const UnitParserRULE_section + const UnitParserRULE_sectionHeader + const UnitParserRULE_sectionName + const UnitParserRULE_unit + const UnitParserRULE_values + const UnitParserSQUOTE + const UnitParserVALUE + const UnitParserWHITESPACE + const UnitParserWHITESPACE_IN_ASSIGN + func UnitLexerInit() + func UnitParserInit() + type BaseUnitParserListener struct + func (s *BaseUnitParserListener) EnterEveryRule(ctx antlr.ParserRuleContext) + func (s *BaseUnitParserListener) EnterField(ctx *FieldContext) + func (s *BaseUnitParserListener) EnterFieldName(ctx *FieldNameContext) + func (s *BaseUnitParserListener) EnterFields(ctx *FieldsContext) + func (s *BaseUnitParserListener) EnterPlainValue(ctx *PlainValueContext) + func (s *BaseUnitParserListener) EnterPlainValues(ctx *PlainValuesContext) + func (s *BaseUnitParserListener) EnterQuotedValue(ctx *QuotedValueContext) + func (s *BaseUnitParserListener) EnterQuotedValues(ctx *QuotedValuesContext) + func (s *BaseUnitParserListener) EnterSection(ctx *SectionContext) + func (s *BaseUnitParserListener) EnterSectionHeader(ctx *SectionHeaderContext) + func (s *BaseUnitParserListener) EnterSectionName(ctx *SectionNameContext) + func (s *BaseUnitParserListener) EnterUnit(ctx *UnitContext) + func (s *BaseUnitParserListener) EnterValues(ctx *ValuesContext) + func (s *BaseUnitParserListener) ExitEveryRule(ctx antlr.ParserRuleContext) + func (s *BaseUnitParserListener) ExitField(ctx *FieldContext) + func (s *BaseUnitParserListener) ExitFieldName(ctx *FieldNameContext) + func (s *BaseUnitParserListener) ExitFields(ctx *FieldsContext) + func (s *BaseUnitParserListener) ExitPlainValue(ctx *PlainValueContext) + func (s *BaseUnitParserListener) ExitPlainValues(ctx *PlainValuesContext) + func (s *BaseUnitParserListener) ExitQuotedValue(ctx *QuotedValueContext) + func (s *BaseUnitParserListener) ExitQuotedValues(ctx *QuotedValuesContext) + func (s *BaseUnitParserListener) ExitSection(ctx *SectionContext) + func (s *BaseUnitParserListener) ExitSectionHeader(ctx *SectionHeaderContext) + func (s *BaseUnitParserListener) ExitSectionName(ctx *SectionNameContext) + func (s *BaseUnitParserListener) ExitUnit(ctx *UnitContext) + func (s *BaseUnitParserListener) ExitValues(ctx *ValuesContext) + func (s *BaseUnitParserListener) VisitErrorNode(node antlr.ErrorNode) + func (s *BaseUnitParserListener) VisitTerminal(node antlr.TerminalNode) + type FieldContext struct + func NewEmptyFieldContext() *FieldContext + func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext + func (*FieldContext) IsFieldContext() + func (s *FieldContext) ASSIGN() antlr.TerminalNode + func (s *FieldContext) AllEOL() []antlr.TerminalNode + func (s *FieldContext) EOF() antlr.TerminalNode + func (s *FieldContext) EOL(i int) antlr.TerminalNode + func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener) + func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener) + func (s *FieldContext) FieldName() IFieldNameContext + func (s *FieldContext) GetParser() antlr.Parser + func (s *FieldContext) GetRuleContext() antlr.RuleContext + func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *FieldContext) Values() IValuesContext + type FieldNameContext struct + func NewEmptyFieldNameContext() *FieldNameContext + func NewFieldNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldNameContext + func (*FieldNameContext) IsFieldNameContext() + func (s *FieldNameContext) EnterRule(listener antlr.ParseTreeListener) + func (s *FieldNameContext) ExitRule(listener antlr.ParseTreeListener) + func (s *FieldNameContext) GetParser() antlr.Parser + func (s *FieldNameContext) GetRuleContext() antlr.RuleContext + func (s *FieldNameContext) IDENTIFIER() antlr.TerminalNode + func (s *FieldNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type FieldsContext struct + func NewEmptyFieldsContext() *FieldsContext + func NewFieldsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldsContext + func (*FieldsContext) IsFieldsContext() + func (s *FieldsContext) AllField() []IFieldContext + func (s *FieldsContext) EnterRule(listener antlr.ParseTreeListener) + func (s *FieldsContext) ExitRule(listener antlr.ParseTreeListener) + func (s *FieldsContext) Field(i int) IFieldContext + func (s *FieldsContext) GetParser() antlr.Parser + func (s *FieldsContext) GetRuleContext() antlr.RuleContext + func (s *FieldsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type IFieldContext interface + GetParser func() antlr.Parser + IsFieldContext func() + type IFieldNameContext interface + GetParser func() antlr.Parser + IsFieldNameContext func() + type IFieldsContext interface + GetParser func() antlr.Parser + IsFieldsContext func() + type IPlainValueContext interface + GetParser func() antlr.Parser + IsPlainValueContext func() + type IPlainValuesContext interface + GetParser func() antlr.Parser + IsPlainValuesContext func() + type IQuotedValueContext interface + GetParser func() antlr.Parser + IsQuotedValueContext func() + type IQuotedValuesContext interface + GetParser func() antlr.Parser + IsQuotedValuesContext func() + type ISectionContext interface + GetParser func() antlr.Parser + IsSectionContext func() + type ISectionHeaderContext interface + GetParser func() antlr.Parser + IsSectionHeaderContext func() + type ISectionNameContext interface + GetParser func() antlr.Parser + IsSectionNameContext func() + type IUnitContext interface + GetParser func() antlr.Parser + IsUnitContext func() + type IValuesContext interface + GetParser func() antlr.Parser + IsValuesContext func() + type PlainValueContext struct + func NewEmptyPlainValueContext() *PlainValueContext + func NewPlainValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlainValueContext + func (*PlainValueContext) IsPlainValueContext() + func (s *PlainValueContext) EnterRule(listener antlr.ParseTreeListener) + func (s *PlainValueContext) ExitRule(listener antlr.ParseTreeListener) + func (s *PlainValueContext) GetParser() antlr.Parser + func (s *PlainValueContext) GetRuleContext() antlr.RuleContext + func (s *PlainValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *PlainValueContext) VALUE() antlr.TerminalNode + type PlainValuesContext struct + func NewEmptyPlainValuesContext() *PlainValuesContext + func NewPlainValuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlainValuesContext + func (*PlainValuesContext) IsPlainValuesContext() + func (s *PlainValuesContext) AllPlainValue() []IPlainValueContext + func (s *PlainValuesContext) EnterRule(listener antlr.ParseTreeListener) + func (s *PlainValuesContext) ExitRule(listener antlr.ParseTreeListener) + func (s *PlainValuesContext) GetParser() antlr.Parser + func (s *PlainValuesContext) GetRuleContext() antlr.RuleContext + func (s *PlainValuesContext) PlainValue(i int) IPlainValueContext + func (s *PlainValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type QuotedValueContext struct + func NewEmptyQuotedValueContext() *QuotedValueContext + func NewQuotedValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedValueContext + func (*QuotedValueContext) IsQuotedValueContext() + func (s *QuotedValueContext) EnterRule(listener antlr.ParseTreeListener) + func (s *QuotedValueContext) ExitRule(listener antlr.ParseTreeListener) + func (s *QuotedValueContext) GetParser() antlr.Parser + func (s *QuotedValueContext) GetRuleContext() antlr.RuleContext + func (s *QuotedValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + func (s *QuotedValueContext) VALUE() antlr.TerminalNode + type QuotedValuesContext struct + func NewEmptyQuotedValuesContext() *QuotedValuesContext + func NewQuotedValuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedValuesContext + func (*QuotedValuesContext) IsQuotedValuesContext() + func (s *QuotedValuesContext) AllDQUOTE() []antlr.TerminalNode + func (s *QuotedValuesContext) AllQuotedValue() []IQuotedValueContext + func (s *QuotedValuesContext) AllSQUOTE() []antlr.TerminalNode + func (s *QuotedValuesContext) DQUOTE(i int) antlr.TerminalNode + func (s *QuotedValuesContext) EnterRule(listener antlr.ParseTreeListener) + func (s *QuotedValuesContext) ExitRule(listener antlr.ParseTreeListener) + func (s *QuotedValuesContext) GetParser() antlr.Parser + func (s *QuotedValuesContext) GetRuleContext() antlr.RuleContext + func (s *QuotedValuesContext) QuotedValue(i int) IQuotedValueContext + func (s *QuotedValuesContext) SQUOTE(i int) antlr.TerminalNode + func (s *QuotedValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type SectionContext struct + func NewEmptySectionContext() *SectionContext + func NewSectionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionContext + func (*SectionContext) IsSectionContext() + func (s *SectionContext) EnterRule(listener antlr.ParseTreeListener) + func (s *SectionContext) ExitRule(listener antlr.ParseTreeListener) + func (s *SectionContext) Fields() IFieldsContext + func (s *SectionContext) GetParser() antlr.Parser + func (s *SectionContext) GetRuleContext() antlr.RuleContext + func (s *SectionContext) SectionHeader() ISectionHeaderContext + func (s *SectionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type SectionHeaderContext struct + func NewEmptySectionHeaderContext() *SectionHeaderContext + func NewSectionHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionHeaderContext + func (*SectionHeaderContext) IsSectionHeaderContext() + func (s *SectionHeaderContext) EOL() antlr.TerminalNode + func (s *SectionHeaderContext) EnterRule(listener antlr.ParseTreeListener) + func (s *SectionHeaderContext) ExitRule(listener antlr.ParseTreeListener) + func (s *SectionHeaderContext) GetParser() antlr.Parser + func (s *SectionHeaderContext) GetRuleContext() antlr.RuleContext + func (s *SectionHeaderContext) LBRACKET() antlr.TerminalNode + func (s *SectionHeaderContext) RBRACKET() antlr.TerminalNode + func (s *SectionHeaderContext) SectionName() ISectionNameContext + func (s *SectionHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type SectionNameContext struct + func NewEmptySectionNameContext() *SectionNameContext + func NewSectionNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionNameContext + func (*SectionNameContext) IsSectionNameContext() + func (s *SectionNameContext) EnterRule(listener antlr.ParseTreeListener) + func (s *SectionNameContext) ExitRule(listener antlr.ParseTreeListener) + func (s *SectionNameContext) GetParser() antlr.Parser + func (s *SectionNameContext) GetRuleContext() antlr.RuleContext + func (s *SectionNameContext) IDENTIFIER() antlr.TerminalNode + func (s *SectionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type UnitContext struct + func NewEmptyUnitContext() *UnitContext + func NewUnitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnitContext + func (*UnitContext) IsUnitContext() + func (s *UnitContext) AllSection() []ISectionContext + func (s *UnitContext) EOF() antlr.TerminalNode + func (s *UnitContext) EnterRule(listener antlr.ParseTreeListener) + func (s *UnitContext) ExitRule(listener antlr.ParseTreeListener) + func (s *UnitContext) GetParser() antlr.Parser + func (s *UnitContext) GetRuleContext() antlr.RuleContext + func (s *UnitContext) Section(i int) ISectionContext + func (s *UnitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string + type UnitLexer struct + func NewUnitLexer(input antlr.CharStream) *UnitLexer + type UnitParser struct + func NewUnitParser(input antlr.TokenStream) *UnitParser + func (p *UnitParser) Field() (localctx IFieldContext) + func (p *UnitParser) FieldName() (localctx IFieldNameContext) + func (p *UnitParser) Fields() (localctx IFieldsContext) + func (p *UnitParser) PlainValue() (localctx IPlainValueContext) + func (p *UnitParser) PlainValues() (localctx IPlainValuesContext) + func (p *UnitParser) QuotedValue() (localctx IQuotedValueContext) + func (p *UnitParser) QuotedValues() (localctx IQuotedValuesContext) + func (p *UnitParser) Section() (localctx ISectionContext) + func (p *UnitParser) SectionHeader() (localctx ISectionHeaderContext) + func (p *UnitParser) SectionName() (localctx ISectionNameContext) + func (p *UnitParser) Unit() (localctx IUnitContext) + func (p *UnitParser) Values() (localctx IValuesContext) + type UnitParserListener interface + EnterField func(c *FieldContext) + EnterFieldName func(c *FieldNameContext) + EnterFields func(c *FieldsContext) + EnterPlainValue func(c *PlainValueContext) + EnterPlainValues func(c *PlainValuesContext) + EnterQuotedValue func(c *QuotedValueContext) + EnterQuotedValues func(c *QuotedValuesContext) + EnterSection func(c *SectionContext) + EnterSectionHeader func(c *SectionHeaderContext) + EnterSectionName func(c *SectionNameContext) + EnterUnit func(c *UnitContext) + EnterValues func(c *ValuesContext) + ExitField func(c *FieldContext) + ExitFieldName func(c *FieldNameContext) + ExitFields func(c *FieldsContext) + ExitPlainValue func(c *PlainValueContext) + ExitPlainValues func(c *PlainValuesContext) + ExitQuotedValue func(c *QuotedValueContext) + ExitQuotedValues func(c *QuotedValuesContext) + ExitSection func(c *SectionContext) + ExitSectionHeader func(c *SectionHeaderContext) + ExitSectionName func(c *SectionNameContext) + ExitUnit func(c *UnitContext) + ExitValues func(c *ValuesContext) + type ValuesContext struct + func NewEmptyValuesContext() *ValuesContext + func NewValuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValuesContext + func (*ValuesContext) IsValuesContext() + func (s *ValuesContext) AllCONTINUATION() []antlr.TerminalNode + func (s *ValuesContext) AllPlainValues() []IPlainValuesContext + func (s *ValuesContext) AllQuotedValues() []IQuotedValuesContext + func (s *ValuesContext) CONTINUATION(i int) antlr.TerminalNode + func (s *ValuesContext) EnterRule(listener antlr.ParseTreeListener) + func (s *ValuesContext) ExitRule(listener antlr.ParseTreeListener) + func (s *ValuesContext) GetParser() antlr.Parser + func (s *ValuesContext) GetRuleContext() antlr.RuleContext + func (s *ValuesContext) PlainValues(i int) IPlainValuesContext + func (s *ValuesContext) QuotedValues(i int) IQuotedValuesContext + func (s *ValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string