Documentation ¶
Overview ¶
Index ¶
- func NewdatabankLexer(input antlr.CharStream) *databankLexer
- func NewdatabankParser(input antlr.TokenStream) *databankParser
- type BasedatabankListener
- func (s *BasedatabankListener) EnterDatabank(ctx *DatabankContext)
- func (s *BasedatabankListener) EnterDatatype(ctx *DatatypeContext)
- func (s *BasedatabankListener) EnterDatedseries(ctx *DatedseriesContext)
- func (s *BasedatabankListener) EnterDateline(ctx *DatelineContext)
- func (s *BasedatabankListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasedatabankListener) EnterNumber(ctx *NumberContext)
- func (s *BasedatabankListener) EnterSample(ctx *SampleContext)
- func (s *BasedatabankListener) EnterUndatedseries(ctx *UndatedseriesContext)
- func (s *BasedatabankListener) ExitDatabank(ctx *DatabankContext)
- func (s *BasedatabankListener) ExitDatatype(ctx *DatatypeContext)
- func (s *BasedatabankListener) ExitDatedseries(ctx *DatedseriesContext)
- func (s *BasedatabankListener) ExitDateline(ctx *DatelineContext)
- func (s *BasedatabankListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasedatabankListener) ExitNumber(ctx *NumberContext)
- func (s *BasedatabankListener) ExitSample(ctx *SampleContext)
- func (s *BasedatabankListener) ExitUndatedseries(ctx *UndatedseriesContext)
- func (s *BasedatabankListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasedatabankListener) VisitTerminal(node antlr.TerminalNode)
- type DatabankContext
- func (s *DatabankContext) AllEOL() []antlr.TerminalNode
- func (s *DatabankContext) AllSample() []ISampleContext
- func (s *DatabankContext) Datedseries() IDatedseriesContext
- func (s *DatabankContext) EOL(i int) antlr.TerminalNode
- func (s *DatabankContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DatabankContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DatabankContext) GetParser() antlr.Parser
- func (s *DatabankContext) GetRuleContext() antlr.RuleContext
- func (*DatabankContext) IsDatabankContext()
- func (s *DatabankContext) Sample(i int) ISampleContext
- func (s *DatabankContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DatabankContext) Undatedseries() IUndatedseriesContext
- type DatatypeContext
- func (s *DatatypeContext) EOL() antlr.TerminalNode
- func (s *DatatypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DatatypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DatatypeContext) GetParser() antlr.Parser
- func (s *DatatypeContext) GetRuleContext() antlr.RuleContext
- func (*DatatypeContext) IsDatatypeContext()
- func (s *DatatypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DatedseriesContext
- func (s *DatedseriesContext) AllDateline() []IDatelineContext
- func (s *DatedseriesContext) Datatype() IDatatypeContext
- func (s *DatedseriesContext) Dateline(i int) IDatelineContext
- func (s *DatedseriesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DatedseriesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DatedseriesContext) GetParser() antlr.Parser
- func (s *DatedseriesContext) GetRuleContext() antlr.RuleContext
- func (*DatedseriesContext) IsDatedseriesContext()
- func (s *DatedseriesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DatelineContext
- func (s *DatelineContext) EOL() antlr.TerminalNode
- func (s *DatelineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DatelineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DatelineContext) GetParser() antlr.Parser
- func (s *DatelineContext) GetRuleContext() antlr.RuleContext
- func (*DatelineContext) IsDatelineContext()
- func (s *DatelineContext) Number() INumberContext
- func (s *DatelineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IDatabankContext
- type IDatatypeContext
- type IDatedseriesContext
- type IDatelineContext
- type INumberContext
- type ISampleContext
- type IUndatedseriesContext
- type NumberContext
- func (s *NumberContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NumberContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NumberContext) FLOATINGPOINT() antlr.TerminalNode
- func (s *NumberContext) GetParser() antlr.Parser
- func (s *NumberContext) GetRuleContext() antlr.RuleContext
- func (*NumberContext) IsNumberContext()
- func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SampleContext
- func (s *SampleContext) EOL() antlr.TerminalNode
- func (s *SampleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SampleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SampleContext) GetParser() antlr.Parser
- func (s *SampleContext) GetRuleContext() antlr.RuleContext
- func (*SampleContext) IsSampleContext()
- func (s *SampleContext) Number() INumberContext
- func (s *SampleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UndatedseriesContext
- func (s *UndatedseriesContext) AllDateline() []IDatelineContext
- func (s *UndatedseriesContext) Dateline(i int) IDatelineContext
- func (s *UndatedseriesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UndatedseriesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UndatedseriesContext) GetParser() antlr.Parser
- func (s *UndatedseriesContext) GetRuleContext() antlr.RuleContext
- func (*UndatedseriesContext) IsUndatedseriesContext()
- func (s *UndatedseriesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewdatabankLexer ¶
func NewdatabankLexer(input antlr.CharStream) *databankLexer
func NewdatabankParser ¶
func NewdatabankParser(input antlr.TokenStream) *databankParser
Types ¶
type BasedatabankListener ¶
type BasedatabankListener struct{}
BasedatabankListener is a complete listener for a parse tree produced by databankParser.
func (*BasedatabankListener) EnterDatabank ¶
func (s *BasedatabankListener) EnterDatabank(ctx *DatabankContext)
EnterDatabank is called when production databank is entered.
func (*BasedatabankListener) EnterDatatype ¶
func (s *BasedatabankListener) EnterDatatype(ctx *DatatypeContext)
EnterDatatype is called when production datatype is entered.
func (*BasedatabankListener) EnterDatedseries ¶
func (s *BasedatabankListener) EnterDatedseries(ctx *DatedseriesContext)
EnterDatedseries is called when production datedseries is entered.
func (*BasedatabankListener) EnterDateline ¶
func (s *BasedatabankListener) EnterDateline(ctx *DatelineContext)
EnterDateline is called when production dateline is entered.
func (*BasedatabankListener) EnterEveryRule ¶
func (s *BasedatabankListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasedatabankListener) EnterNumber ¶
func (s *BasedatabankListener) EnterNumber(ctx *NumberContext)
EnterNumber is called when production number is entered.
func (*BasedatabankListener) EnterSample ¶
func (s *BasedatabankListener) EnterSample(ctx *SampleContext)
EnterSample is called when production sample is entered.
func (*BasedatabankListener) EnterUndatedseries ¶
func (s *BasedatabankListener) EnterUndatedseries(ctx *UndatedseriesContext)
EnterUndatedseries is called when production undatedseries is entered.
func (*BasedatabankListener) ExitDatabank ¶
func (s *BasedatabankListener) ExitDatabank(ctx *DatabankContext)
ExitDatabank is called when production databank is exited.
func (*BasedatabankListener) ExitDatatype ¶
func (s *BasedatabankListener) ExitDatatype(ctx *DatatypeContext)
ExitDatatype is called when production datatype is exited.
func (*BasedatabankListener) ExitDatedseries ¶
func (s *BasedatabankListener) ExitDatedseries(ctx *DatedseriesContext)
ExitDatedseries is called when production datedseries is exited.
func (*BasedatabankListener) ExitDateline ¶
func (s *BasedatabankListener) ExitDateline(ctx *DatelineContext)
ExitDateline is called when production dateline is exited.
func (*BasedatabankListener) ExitEveryRule ¶
func (s *BasedatabankListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasedatabankListener) ExitNumber ¶
func (s *BasedatabankListener) ExitNumber(ctx *NumberContext)
ExitNumber is called when production number is exited.
func (*BasedatabankListener) ExitSample ¶
func (s *BasedatabankListener) ExitSample(ctx *SampleContext)
ExitSample is called when production sample is exited.
func (*BasedatabankListener) ExitUndatedseries ¶
func (s *BasedatabankListener) ExitUndatedseries(ctx *UndatedseriesContext)
ExitUndatedseries is called when production undatedseries is exited.
func (*BasedatabankListener) VisitErrorNode ¶
func (s *BasedatabankListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasedatabankListener) VisitTerminal ¶
func (s *BasedatabankListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type DatabankContext ¶
type DatabankContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDatabankContext ¶
func NewDatabankContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatabankContext
func NewEmptyDatabankContext ¶
func NewEmptyDatabankContext() *DatabankContext
func (*DatabankContext) AllEOL ¶
func (s *DatabankContext) AllEOL() []antlr.TerminalNode
func (*DatabankContext) AllSample ¶
func (s *DatabankContext) AllSample() []ISampleContext
func (*DatabankContext) Datedseries ¶
func (s *DatabankContext) Datedseries() IDatedseriesContext
func (*DatabankContext) EOL ¶
func (s *DatabankContext) EOL(i int) antlr.TerminalNode
func (*DatabankContext) EnterRule ¶
func (s *DatabankContext) EnterRule(listener antlr.ParseTreeListener)
func (*DatabankContext) ExitRule ¶
func (s *DatabankContext) ExitRule(listener antlr.ParseTreeListener)
func (*DatabankContext) GetParser ¶
func (s *DatabankContext) GetParser() antlr.Parser
func (*DatabankContext) GetRuleContext ¶
func (s *DatabankContext) GetRuleContext() antlr.RuleContext
func (*DatabankContext) IsDatabankContext ¶
func (*DatabankContext) IsDatabankContext()
func (*DatabankContext) Sample ¶
func (s *DatabankContext) Sample(i int) ISampleContext
func (*DatabankContext) ToStringTree ¶
func (s *DatabankContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DatabankContext) Undatedseries ¶
func (s *DatabankContext) Undatedseries() IUndatedseriesContext
type DatatypeContext ¶
type DatatypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDatatypeContext ¶
func NewDatatypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatatypeContext
func NewEmptyDatatypeContext ¶
func NewEmptyDatatypeContext() *DatatypeContext
func (*DatatypeContext) EOL ¶
func (s *DatatypeContext) EOL() antlr.TerminalNode
func (*DatatypeContext) EnterRule ¶
func (s *DatatypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*DatatypeContext) ExitRule ¶
func (s *DatatypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*DatatypeContext) GetParser ¶
func (s *DatatypeContext) GetParser() antlr.Parser
func (*DatatypeContext) GetRuleContext ¶
func (s *DatatypeContext) GetRuleContext() antlr.RuleContext
func (*DatatypeContext) IsDatatypeContext ¶
func (*DatatypeContext) IsDatatypeContext()
func (*DatatypeContext) ToStringTree ¶
func (s *DatatypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DatedseriesContext ¶
type DatedseriesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDatedseriesContext ¶
func NewDatedseriesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatedseriesContext
func NewEmptyDatedseriesContext ¶
func NewEmptyDatedseriesContext() *DatedseriesContext
func (*DatedseriesContext) AllDateline ¶
func (s *DatedseriesContext) AllDateline() []IDatelineContext
func (*DatedseriesContext) Datatype ¶
func (s *DatedseriesContext) Datatype() IDatatypeContext
func (*DatedseriesContext) Dateline ¶
func (s *DatedseriesContext) Dateline(i int) IDatelineContext
func (*DatedseriesContext) EnterRule ¶
func (s *DatedseriesContext) EnterRule(listener antlr.ParseTreeListener)
func (*DatedseriesContext) ExitRule ¶
func (s *DatedseriesContext) ExitRule(listener antlr.ParseTreeListener)
func (*DatedseriesContext) GetParser ¶
func (s *DatedseriesContext) GetParser() antlr.Parser
func (*DatedseriesContext) GetRuleContext ¶
func (s *DatedseriesContext) GetRuleContext() antlr.RuleContext
func (*DatedseriesContext) IsDatedseriesContext ¶
func (*DatedseriesContext) IsDatedseriesContext()
func (*DatedseriesContext) ToStringTree ¶
func (s *DatedseriesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DatelineContext ¶
type DatelineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDatelineContext ¶
func NewDatelineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatelineContext
func NewEmptyDatelineContext ¶
func NewEmptyDatelineContext() *DatelineContext
func (*DatelineContext) EOL ¶
func (s *DatelineContext) EOL() antlr.TerminalNode
func (*DatelineContext) EnterRule ¶
func (s *DatelineContext) EnterRule(listener antlr.ParseTreeListener)
func (*DatelineContext) ExitRule ¶
func (s *DatelineContext) ExitRule(listener antlr.ParseTreeListener)
func (*DatelineContext) GetParser ¶
func (s *DatelineContext) GetParser() antlr.Parser
func (*DatelineContext) GetRuleContext ¶
func (s *DatelineContext) GetRuleContext() antlr.RuleContext
func (*DatelineContext) IsDatelineContext ¶
func (*DatelineContext) IsDatelineContext()
func (*DatelineContext) Number ¶
func (s *DatelineContext) Number() INumberContext
func (*DatelineContext) ToStringTree ¶
func (s *DatelineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IDatabankContext ¶
type IDatabankContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDatabankContext differentiates from other interfaces. IsDatabankContext() }
IDatabankContext is an interface to support dynamic dispatch.
type IDatatypeContext ¶
type IDatatypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDatatypeContext differentiates from other interfaces. IsDatatypeContext() }
IDatatypeContext is an interface to support dynamic dispatch.
type IDatedseriesContext ¶
type IDatedseriesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDatedseriesContext differentiates from other interfaces. IsDatedseriesContext() }
IDatedseriesContext is an interface to support dynamic dispatch.
type IDatelineContext ¶
type IDatelineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDatelineContext differentiates from other interfaces. IsDatelineContext() }
IDatelineContext is an interface to support dynamic dispatch.
type INumberContext ¶
type INumberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNumberContext differentiates from other interfaces. IsNumberContext() }
INumberContext is an interface to support dynamic dispatch.
type ISampleContext ¶
type ISampleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSampleContext differentiates from other interfaces. IsSampleContext() }
ISampleContext is an interface to support dynamic dispatch.
type IUndatedseriesContext ¶
type IUndatedseriesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUndatedseriesContext differentiates from other interfaces. IsUndatedseriesContext() }
IUndatedseriesContext is an interface to support dynamic dispatch.
type NumberContext ¶
type NumberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNumberContext ¶
func NewEmptyNumberContext() *NumberContext
func NewNumberContext ¶
func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext
func (*NumberContext) EnterRule ¶
func (s *NumberContext) EnterRule(listener antlr.ParseTreeListener)
func (*NumberContext) ExitRule ¶
func (s *NumberContext) ExitRule(listener antlr.ParseTreeListener)
func (*NumberContext) FLOATINGPOINT ¶
func (s *NumberContext) FLOATINGPOINT() antlr.TerminalNode
func (*NumberContext) GetParser ¶
func (s *NumberContext) GetParser() antlr.Parser
func (*NumberContext) GetRuleContext ¶
func (s *NumberContext) GetRuleContext() antlr.RuleContext
func (*NumberContext) IsNumberContext ¶
func (*NumberContext) IsNumberContext()
func (*NumberContext) ToStringTree ¶
func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SampleContext ¶
type SampleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySampleContext ¶
func NewEmptySampleContext() *SampleContext
func NewSampleContext ¶
func NewSampleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SampleContext
func (*SampleContext) EOL ¶
func (s *SampleContext) EOL() antlr.TerminalNode
func (*SampleContext) EnterRule ¶
func (s *SampleContext) EnterRule(listener antlr.ParseTreeListener)
func (*SampleContext) ExitRule ¶
func (s *SampleContext) ExitRule(listener antlr.ParseTreeListener)
func (*SampleContext) GetParser ¶
func (s *SampleContext) GetParser() antlr.Parser
func (*SampleContext) GetRuleContext ¶
func (s *SampleContext) GetRuleContext() antlr.RuleContext
func (*SampleContext) IsSampleContext ¶
func (*SampleContext) IsSampleContext()
func (*SampleContext) Number ¶
func (s *SampleContext) Number() INumberContext
func (*SampleContext) ToStringTree ¶
func (s *SampleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UndatedseriesContext ¶
type UndatedseriesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUndatedseriesContext ¶
func NewEmptyUndatedseriesContext() *UndatedseriesContext
func NewUndatedseriesContext ¶
func NewUndatedseriesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UndatedseriesContext
func (*UndatedseriesContext) AllDateline ¶
func (s *UndatedseriesContext) AllDateline() []IDatelineContext
func (*UndatedseriesContext) Dateline ¶
func (s *UndatedseriesContext) Dateline(i int) IDatelineContext
func (*UndatedseriesContext) EnterRule ¶
func (s *UndatedseriesContext) EnterRule(listener antlr.ParseTreeListener)
func (*UndatedseriesContext) ExitRule ¶
func (s *UndatedseriesContext) ExitRule(listener antlr.ParseTreeListener)
func (*UndatedseriesContext) GetParser ¶
func (s *UndatedseriesContext) GetParser() antlr.Parser
func (*UndatedseriesContext) GetRuleContext ¶
func (s *UndatedseriesContext) GetRuleContext() antlr.RuleContext
func (*UndatedseriesContext) IsUndatedseriesContext ¶
func (*UndatedseriesContext) IsUndatedseriesContext()
func (*UndatedseriesContext) ToStringTree ¶
func (s *UndatedseriesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string