parser

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2020 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JiffyLexerD               = 1
	JiffyLexerH               = 2
	JiffyLexerM               = 3
	JiffyLexerS               = 4
	JiffyLexerY               = 5
	JiffyLexerMINUS           = 6
	JiffyLexerMICROSECOND     = 7
	JiffyLexerMICROSECONDS    = 8
	JiffyLexerMS              = 9
	JiffyLexerMILLISECOND     = 10
	JiffyLexerMILLISECONDS    = 11
	JiffyLexerSEC             = 12
	JiffyLexerSECOND          = 13
	JiffyLexerSECONDS         = 14
	JiffyLexerMIN             = 15
	JiffyLexerMINUTE          = 16
	JiffyLexerMINUTES         = 17
	JiffyLexerHRS             = 18
	JiffyLexerHOUR            = 19
	JiffyLexerHOURS           = 20
	JiffyLexerDAY             = 21
	JiffyLexerDAYS            = 22
	JiffyLexerMON             = 23
	JiffyLexerMONTH           = 24
	JiffyLexerMONTHS          = 25
	JiffyLexerYEAR            = 26
	JiffyLexerYEARS           = 27
	JiffyLexerAND             = 28
	JiffyLexerDECIMAL_LITERAL = 29
	JiffyLexerREAL_LITERAL    = 30
	JiffyLexerSPACE           = 31
)

JiffyLexer tokens.

View Source
const (
	JiffyParserEOF             = antlr.TokenEOF
	JiffyParserD               = 1
	JiffyParserH               = 2
	JiffyParserM               = 3
	JiffyParserS               = 4
	JiffyParserY               = 5
	JiffyParserMINUS           = 6
	JiffyParserMICROSECOND     = 7
	JiffyParserMICROSECONDS    = 8
	JiffyParserMS              = 9
	JiffyParserMILLISECOND     = 10
	JiffyParserMILLISECONDS    = 11
	JiffyParserSEC             = 12
	JiffyParserSECOND          = 13
	JiffyParserSECONDS         = 14
	JiffyParserMIN             = 15
	JiffyParserMINUTE          = 16
	JiffyParserMINUTES         = 17
	JiffyParserHRS             = 18
	JiffyParserHOUR            = 19
	JiffyParserHOURS           = 20
	JiffyParserDAY             = 21
	JiffyParserDAYS            = 22
	JiffyParserMON             = 23
	JiffyParserMONTH           = 24
	JiffyParserMONTHS          = 25
	JiffyParserYEAR            = 26
	JiffyParserYEARS           = 27
	JiffyParserAND             = 28
	JiffyParserDECIMAL_LITERAL = 29
	JiffyParserREAL_LITERAL    = 30
	JiffyParserSPACE           = 31
)

JiffyParser tokens.

View Source
const (
	JiffyParserRULE_root           = 0
	JiffyParserRULE_timeexpr       = 1
	JiffyParserRULE_timeatom       = 2
	JiffyParserRULE_microsecond    = 3
	JiffyParserRULE_millisecond    = 4
	JiffyParserRULE_second         = 5
	JiffyParserRULE_minute         = 6
	JiffyParserRULE_hour           = 7
	JiffyParserRULE_day            = 8
	JiffyParserRULE_month          = 9
	JiffyParserRULE_year           = 10
	JiffyParserRULE_decimalLiteral = 11
	JiffyParserRULE_realLiteral    = 12
)

JiffyParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseJiffyListener

type BaseJiffyListener struct{}

BaseJiffyListener is a complete listener for a parse tree produced by JiffyParser.

func (*BaseJiffyListener) EnterDay

func (s *BaseJiffyListener) EnterDay(ctx *DayContext)

EnterDay is called when production day is entered.

func (*BaseJiffyListener) EnterDecimalLiteral

func (s *BaseJiffyListener) EnterDecimalLiteral(ctx *DecimalLiteralContext)

EnterDecimalLiteral is called when production decimalLiteral is entered.

func (*BaseJiffyListener) EnterEveryRule

func (s *BaseJiffyListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseJiffyListener) EnterHour

func (s *BaseJiffyListener) EnterHour(ctx *HourContext)

EnterHour is called when production hour is entered.

func (*BaseJiffyListener) EnterMicrosecond

func (s *BaseJiffyListener) EnterMicrosecond(ctx *MicrosecondContext)

EnterMicrosecond is called when production microsecond is entered.

func (*BaseJiffyListener) EnterMillisecond

func (s *BaseJiffyListener) EnterMillisecond(ctx *MillisecondContext)

EnterMillisecond is called when production millisecond is entered.

func (*BaseJiffyListener) EnterMinute

func (s *BaseJiffyListener) EnterMinute(ctx *MinuteContext)

EnterMinute is called when production minute is entered.

func (*BaseJiffyListener) EnterMonth

func (s *BaseJiffyListener) EnterMonth(ctx *MonthContext)

EnterMonth is called when production month is entered.

func (*BaseJiffyListener) EnterRealLiteral

func (s *BaseJiffyListener) EnterRealLiteral(ctx *RealLiteralContext)

EnterRealLiteral is called when production realLiteral is entered.

func (*BaseJiffyListener) EnterRoot

func (s *BaseJiffyListener) EnterRoot(ctx *RootContext)

EnterRoot is called when production root is entered.

func (*BaseJiffyListener) EnterSecond

func (s *BaseJiffyListener) EnterSecond(ctx *SecondContext)

EnterSecond is called when production second is entered.

func (*BaseJiffyListener) EnterTimeatom

func (s *BaseJiffyListener) EnterTimeatom(ctx *TimeatomContext)

EnterTimeatom is called when production timeatom is entered.

func (*BaseJiffyListener) EnterTimeexpr

func (s *BaseJiffyListener) EnterTimeexpr(ctx *TimeexprContext)

EnterTimeexpr is called when production timeexpr is entered.

func (*BaseJiffyListener) EnterYear

func (s *BaseJiffyListener) EnterYear(ctx *YearContext)

EnterYear is called when production year is entered.

func (*BaseJiffyListener) ExitDay

func (s *BaseJiffyListener) ExitDay(ctx *DayContext)

ExitDay is called when production day is exited.

func (*BaseJiffyListener) ExitDecimalLiteral

func (s *BaseJiffyListener) ExitDecimalLiteral(ctx *DecimalLiteralContext)

ExitDecimalLiteral is called when production decimalLiteral is exited.

func (*BaseJiffyListener) ExitEveryRule

func (s *BaseJiffyListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseJiffyListener) ExitHour

func (s *BaseJiffyListener) ExitHour(ctx *HourContext)

ExitHour is called when production hour is exited.

func (*BaseJiffyListener) ExitMicrosecond

func (s *BaseJiffyListener) ExitMicrosecond(ctx *MicrosecondContext)

ExitMicrosecond is called when production microsecond is exited.

func (*BaseJiffyListener) ExitMillisecond

func (s *BaseJiffyListener) ExitMillisecond(ctx *MillisecondContext)

ExitMillisecond is called when production millisecond is exited.

func (*BaseJiffyListener) ExitMinute

func (s *BaseJiffyListener) ExitMinute(ctx *MinuteContext)

ExitMinute is called when production minute is exited.

func (*BaseJiffyListener) ExitMonth

func (s *BaseJiffyListener) ExitMonth(ctx *MonthContext)

ExitMonth is called when production month is exited.

func (*BaseJiffyListener) ExitRealLiteral

func (s *BaseJiffyListener) ExitRealLiteral(ctx *RealLiteralContext)

ExitRealLiteral is called when production realLiteral is exited.

func (*BaseJiffyListener) ExitRoot

func (s *BaseJiffyListener) ExitRoot(ctx *RootContext)

ExitRoot is called when production root is exited.

func (*BaseJiffyListener) ExitSecond

func (s *BaseJiffyListener) ExitSecond(ctx *SecondContext)

ExitSecond is called when production second is exited.

func (*BaseJiffyListener) ExitTimeatom

func (s *BaseJiffyListener) ExitTimeatom(ctx *TimeatomContext)

ExitTimeatom is called when production timeatom is exited.

func (*BaseJiffyListener) ExitTimeexpr

func (s *BaseJiffyListener) ExitTimeexpr(ctx *TimeexprContext)

ExitTimeexpr is called when production timeexpr is exited.

func (*BaseJiffyListener) ExitYear

func (s *BaseJiffyListener) ExitYear(ctx *YearContext)

ExitYear is called when production year is exited.

func (*BaseJiffyListener) VisitErrorNode

func (s *BaseJiffyListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseJiffyListener) VisitTerminal

func (s *BaseJiffyListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type DayContext

type DayContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDayContext

func NewDayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DayContext

func NewEmptyDayContext

func NewEmptyDayContext() *DayContext

func (*DayContext) D

func (s *DayContext) D() antlr.TerminalNode

func (*DayContext) DAY

func (s *DayContext) DAY() antlr.TerminalNode

func (*DayContext) DAYS

func (s *DayContext) DAYS() antlr.TerminalNode

func (*DayContext) DecimalLiteral

func (s *DayContext) DecimalLiteral() IDecimalLiteralContext

func (*DayContext) EnterRule

func (s *DayContext) EnterRule(listener antlr.ParseTreeListener)

func (*DayContext) ExitRule

func (s *DayContext) ExitRule(listener antlr.ParseTreeListener)

func (*DayContext) GetParser

func (s *DayContext) GetParser() antlr.Parser

func (*DayContext) GetRuleContext

func (s *DayContext) GetRuleContext() antlr.RuleContext

func (*DayContext) IsDayContext

func (*DayContext) IsDayContext()

func (*DayContext) RealLiteral

func (s *DayContext) RealLiteral() IRealLiteralContext

func (*DayContext) ToStringTree

func (s *DayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DecimalLiteralContext

type DecimalLiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDecimalLiteralContext

func NewDecimalLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DecimalLiteralContext

func NewEmptyDecimalLiteralContext

func NewEmptyDecimalLiteralContext() *DecimalLiteralContext

func (*DecimalLiteralContext) DECIMAL_LITERAL

func (s *DecimalLiteralContext) DECIMAL_LITERAL() antlr.TerminalNode

func (*DecimalLiteralContext) EnterRule

func (s *DecimalLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*DecimalLiteralContext) ExitRule

func (s *DecimalLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*DecimalLiteralContext) GetParser

func (s *DecimalLiteralContext) GetParser() antlr.Parser

func (*DecimalLiteralContext) GetRuleContext

func (s *DecimalLiteralContext) GetRuleContext() antlr.RuleContext

func (*DecimalLiteralContext) IsDecimalLiteralContext

func (*DecimalLiteralContext) IsDecimalLiteralContext()

func (*DecimalLiteralContext) MINUS

func (*DecimalLiteralContext) ToStringTree

func (s *DecimalLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type HourContext

type HourContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyHourContext

func NewEmptyHourContext() *HourContext

func NewHourContext

func NewHourContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HourContext

func (*HourContext) DecimalLiteral

func (s *HourContext) DecimalLiteral() IDecimalLiteralContext

func (*HourContext) EnterRule

func (s *HourContext) EnterRule(listener antlr.ParseTreeListener)

func (*HourContext) ExitRule

func (s *HourContext) ExitRule(listener antlr.ParseTreeListener)

func (*HourContext) GetParser

func (s *HourContext) GetParser() antlr.Parser

func (*HourContext) GetRuleContext

func (s *HourContext) GetRuleContext() antlr.RuleContext

func (*HourContext) H

func (*HourContext) HOUR

func (s *HourContext) HOUR() antlr.TerminalNode

func (*HourContext) HOURS

func (s *HourContext) HOURS() antlr.TerminalNode

func (*HourContext) HRS

func (s *HourContext) HRS() antlr.TerminalNode

func (*HourContext) IsHourContext

func (*HourContext) IsHourContext()

func (*HourContext) RealLiteral

func (s *HourContext) RealLiteral() IRealLiteralContext

func (*HourContext) ToStringTree

func (s *HourContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IDayContext

type IDayContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDayContext differentiates from other interfaces.
	IsDayContext()
}

IDayContext is an interface to support dynamic dispatch.

type IDecimalLiteralContext

type IDecimalLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDecimalLiteralContext differentiates from other interfaces.
	IsDecimalLiteralContext()
}

IDecimalLiteralContext is an interface to support dynamic dispatch.

type IHourContext

type IHourContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsHourContext differentiates from other interfaces.
	IsHourContext()
}

IHourContext is an interface to support dynamic dispatch.

type IMicrosecondContext

type IMicrosecondContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMicrosecondContext differentiates from other interfaces.
	IsMicrosecondContext()
}

IMicrosecondContext is an interface to support dynamic dispatch.

type IMillisecondContext

type IMillisecondContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMillisecondContext differentiates from other interfaces.
	IsMillisecondContext()
}

IMillisecondContext is an interface to support dynamic dispatch.

type IMinuteContext

type IMinuteContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMinuteContext differentiates from other interfaces.
	IsMinuteContext()
}

IMinuteContext is an interface to support dynamic dispatch.

type IMonthContext

type IMonthContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMonthContext differentiates from other interfaces.
	IsMonthContext()
}

IMonthContext is an interface to support dynamic dispatch.

type IRealLiteralContext

type IRealLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRealLiteralContext differentiates from other interfaces.
	IsRealLiteralContext()
}

IRealLiteralContext is an interface to support dynamic dispatch.

type IRootContext

type IRootContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRootContext differentiates from other interfaces.
	IsRootContext()
}

IRootContext is an interface to support dynamic dispatch.

type ISecondContext

type ISecondContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSecondContext differentiates from other interfaces.
	IsSecondContext()
}

ISecondContext is an interface to support dynamic dispatch.

type ITimeatomContext

type ITimeatomContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTimeatomContext differentiates from other interfaces.
	IsTimeatomContext()
}

ITimeatomContext is an interface to support dynamic dispatch.

type ITimeexprContext

type ITimeexprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTimeexprContext differentiates from other interfaces.
	IsTimeexprContext()
}

ITimeexprContext is an interface to support dynamic dispatch.

type IYearContext

type IYearContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsYearContext differentiates from other interfaces.
	IsYearContext()
}

IYearContext is an interface to support dynamic dispatch.

type JiffyLexer

type JiffyLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewJiffyLexer

func NewJiffyLexer(input antlr.CharStream) *JiffyLexer

func (*JiffyLexer) AND_Action

func (l *JiffyLexer) AND_Action(localctx antlr.RuleContext, actionIndex int)

func (*JiffyLexer) Action

func (l *JiffyLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)

func (*JiffyLexer) SPACE_Action

func (l *JiffyLexer) SPACE_Action(localctx antlr.RuleContext, actionIndex int)

type JiffyListener

type JiffyListener interface {
	antlr.ParseTreeListener

	// EnterRoot is called when entering the root production.
	EnterRoot(c *RootContext)

	// EnterTimeexpr is called when entering the timeexpr production.
	EnterTimeexpr(c *TimeexprContext)

	// EnterTimeatom is called when entering the timeatom production.
	EnterTimeatom(c *TimeatomContext)

	// EnterMicrosecond is called when entering the microsecond production.
	EnterMicrosecond(c *MicrosecondContext)

	// EnterMillisecond is called when entering the millisecond production.
	EnterMillisecond(c *MillisecondContext)

	// EnterSecond is called when entering the second production.
	EnterSecond(c *SecondContext)

	// EnterMinute is called when entering the minute production.
	EnterMinute(c *MinuteContext)

	// EnterHour is called when entering the hour production.
	EnterHour(c *HourContext)

	// EnterDay is called when entering the day production.
	EnterDay(c *DayContext)

	// EnterMonth is called when entering the month production.
	EnterMonth(c *MonthContext)

	// EnterYear is called when entering the year production.
	EnterYear(c *YearContext)

	// EnterDecimalLiteral is called when entering the decimalLiteral production.
	EnterDecimalLiteral(c *DecimalLiteralContext)

	// EnterRealLiteral is called when entering the realLiteral production.
	EnterRealLiteral(c *RealLiteralContext)

	// ExitRoot is called when exiting the root production.
	ExitRoot(c *RootContext)

	// ExitTimeexpr is called when exiting the timeexpr production.
	ExitTimeexpr(c *TimeexprContext)

	// ExitTimeatom is called when exiting the timeatom production.
	ExitTimeatom(c *TimeatomContext)

	// ExitMicrosecond is called when exiting the microsecond production.
	ExitMicrosecond(c *MicrosecondContext)

	// ExitMillisecond is called when exiting the millisecond production.
	ExitMillisecond(c *MillisecondContext)

	// ExitSecond is called when exiting the second production.
	ExitSecond(c *SecondContext)

	// ExitMinute is called when exiting the minute production.
	ExitMinute(c *MinuteContext)

	// ExitHour is called when exiting the hour production.
	ExitHour(c *HourContext)

	// ExitDay is called when exiting the day production.
	ExitDay(c *DayContext)

	// ExitMonth is called when exiting the month production.
	ExitMonth(c *MonthContext)

	// ExitYear is called when exiting the year production.
	ExitYear(c *YearContext)

	// ExitDecimalLiteral is called when exiting the decimalLiteral production.
	ExitDecimalLiteral(c *DecimalLiteralContext)

	// ExitRealLiteral is called when exiting the realLiteral production.
	ExitRealLiteral(c *RealLiteralContext)
}

JiffyListener is a complete listener for a parse tree produced by JiffyParser.

type JiffyParser

type JiffyParser struct {
	*antlr.BaseParser
}

func NewJiffyParser

func NewJiffyParser(input antlr.TokenStream) *JiffyParser

func (*JiffyParser) Day

func (p *JiffyParser) Day() (localctx IDayContext)

func (*JiffyParser) DecimalLiteral

func (p *JiffyParser) DecimalLiteral() (localctx IDecimalLiteralContext)

func (*JiffyParser) Hour

func (p *JiffyParser) Hour() (localctx IHourContext)

func (*JiffyParser) Microsecond

func (p *JiffyParser) Microsecond() (localctx IMicrosecondContext)

func (*JiffyParser) Millisecond

func (p *JiffyParser) Millisecond() (localctx IMillisecondContext)

func (*JiffyParser) Minute

func (p *JiffyParser) Minute() (localctx IMinuteContext)

func (*JiffyParser) Month

func (p *JiffyParser) Month() (localctx IMonthContext)

func (*JiffyParser) RealLiteral

func (p *JiffyParser) RealLiteral() (localctx IRealLiteralContext)

func (*JiffyParser) Root

func (p *JiffyParser) Root() (localctx IRootContext)

func (*JiffyParser) Second

func (p *JiffyParser) Second() (localctx ISecondContext)

func (*JiffyParser) Timeatom

func (p *JiffyParser) Timeatom() (localctx ITimeatomContext)

func (*JiffyParser) Timeexpr

func (p *JiffyParser) Timeexpr() (localctx ITimeexprContext)

func (*JiffyParser) Year

func (p *JiffyParser) Year() (localctx IYearContext)

type MicrosecondContext

type MicrosecondContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMicrosecondContext

func NewEmptyMicrosecondContext() *MicrosecondContext

func NewMicrosecondContext

func NewMicrosecondContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MicrosecondContext

func (*MicrosecondContext) DecimalLiteral

func (s *MicrosecondContext) DecimalLiteral() IDecimalLiteralContext

func (*MicrosecondContext) EnterRule

func (s *MicrosecondContext) EnterRule(listener antlr.ParseTreeListener)

func (*MicrosecondContext) ExitRule

func (s *MicrosecondContext) ExitRule(listener antlr.ParseTreeListener)

func (*MicrosecondContext) GetParser

func (s *MicrosecondContext) GetParser() antlr.Parser

func (*MicrosecondContext) GetRuleContext

func (s *MicrosecondContext) GetRuleContext() antlr.RuleContext

func (*MicrosecondContext) IsMicrosecondContext

func (*MicrosecondContext) IsMicrosecondContext()

func (*MicrosecondContext) MICROSECOND

func (s *MicrosecondContext) MICROSECOND() antlr.TerminalNode

func (*MicrosecondContext) MICROSECONDS

func (s *MicrosecondContext) MICROSECONDS() antlr.TerminalNode

func (*MicrosecondContext) RealLiteral

func (s *MicrosecondContext) RealLiteral() IRealLiteralContext

func (*MicrosecondContext) ToStringTree

func (s *MicrosecondContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MillisecondContext

type MillisecondContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMillisecondContext

func NewEmptyMillisecondContext() *MillisecondContext

func NewMillisecondContext

func NewMillisecondContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MillisecondContext

func (*MillisecondContext) DecimalLiteral

func (s *MillisecondContext) DecimalLiteral() IDecimalLiteralContext

func (*MillisecondContext) EnterRule

func (s *MillisecondContext) EnterRule(listener antlr.ParseTreeListener)

func (*MillisecondContext) ExitRule

func (s *MillisecondContext) ExitRule(listener antlr.ParseTreeListener)

func (*MillisecondContext) GetParser

func (s *MillisecondContext) GetParser() antlr.Parser

func (*MillisecondContext) GetRuleContext

func (s *MillisecondContext) GetRuleContext() antlr.RuleContext

func (*MillisecondContext) IsMillisecondContext

func (*MillisecondContext) IsMillisecondContext()

func (*MillisecondContext) MILLISECOND

func (s *MillisecondContext) MILLISECOND() antlr.TerminalNode

func (*MillisecondContext) MILLISECONDS

func (s *MillisecondContext) MILLISECONDS() antlr.TerminalNode

func (*MillisecondContext) MS

func (*MillisecondContext) RealLiteral

func (s *MillisecondContext) RealLiteral() IRealLiteralContext

func (*MillisecondContext) ToStringTree

func (s *MillisecondContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MinuteContext

type MinuteContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMinuteContext

func NewEmptyMinuteContext() *MinuteContext

func NewMinuteContext

func NewMinuteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MinuteContext

func (*MinuteContext) DecimalLiteral

func (s *MinuteContext) DecimalLiteral() IDecimalLiteralContext

func (*MinuteContext) EnterRule

func (s *MinuteContext) EnterRule(listener antlr.ParseTreeListener)

func (*MinuteContext) ExitRule

func (s *MinuteContext) ExitRule(listener antlr.ParseTreeListener)

func (*MinuteContext) GetParser

func (s *MinuteContext) GetParser() antlr.Parser

func (*MinuteContext) GetRuleContext

func (s *MinuteContext) GetRuleContext() antlr.RuleContext

func (*MinuteContext) IsMinuteContext

func (*MinuteContext) IsMinuteContext()

func (*MinuteContext) M

func (*MinuteContext) MIN

func (s *MinuteContext) MIN() antlr.TerminalNode

func (*MinuteContext) MINUTE

func (s *MinuteContext) MINUTE() antlr.TerminalNode

func (*MinuteContext) MINUTES

func (s *MinuteContext) MINUTES() antlr.TerminalNode

func (*MinuteContext) RealLiteral

func (s *MinuteContext) RealLiteral() IRealLiteralContext

func (*MinuteContext) ToStringTree

func (s *MinuteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MonthContext

type MonthContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMonthContext

func NewEmptyMonthContext() *MonthContext

func NewMonthContext

func NewMonthContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MonthContext

func (*MonthContext) DecimalLiteral

func (s *MonthContext) DecimalLiteral() IDecimalLiteralContext

func (*MonthContext) EnterRule

func (s *MonthContext) EnterRule(listener antlr.ParseTreeListener)

func (*MonthContext) ExitRule

func (s *MonthContext) ExitRule(listener antlr.ParseTreeListener)

func (*MonthContext) GetParser

func (s *MonthContext) GetParser() antlr.Parser

func (*MonthContext) GetRuleContext

func (s *MonthContext) GetRuleContext() antlr.RuleContext

func (*MonthContext) IsMonthContext

func (*MonthContext) IsMonthContext()

func (*MonthContext) MON

func (s *MonthContext) MON() antlr.TerminalNode

func (*MonthContext) MONTH

func (s *MonthContext) MONTH() antlr.TerminalNode

func (*MonthContext) MONTHS

func (s *MonthContext) MONTHS() antlr.TerminalNode

func (*MonthContext) RealLiteral

func (s *MonthContext) RealLiteral() IRealLiteralContext

func (*MonthContext) ToStringTree

func (s *MonthContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RealLiteralContext

type RealLiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRealLiteralContext

func NewEmptyRealLiteralContext() *RealLiteralContext

func NewRealLiteralContext

func NewRealLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RealLiteralContext

func (*RealLiteralContext) EnterRule

func (s *RealLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*RealLiteralContext) ExitRule

func (s *RealLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*RealLiteralContext) GetParser

func (s *RealLiteralContext) GetParser() antlr.Parser

func (*RealLiteralContext) GetRuleContext

func (s *RealLiteralContext) GetRuleContext() antlr.RuleContext

func (*RealLiteralContext) IsRealLiteralContext

func (*RealLiteralContext) IsRealLiteralContext()

func (*RealLiteralContext) MINUS

func (*RealLiteralContext) REAL_LITERAL

func (s *RealLiteralContext) REAL_LITERAL() antlr.TerminalNode

func (*RealLiteralContext) ToStringTree

func (s *RealLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RootContext

type RootContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRootContext

func NewEmptyRootContext() *RootContext

func NewRootContext

func NewRootContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootContext

func (*RootContext) EOF

func (s *RootContext) EOF() antlr.TerminalNode

func (*RootContext) EnterRule

func (s *RootContext) EnterRule(listener antlr.ParseTreeListener)

func (*RootContext) ExitRule

func (s *RootContext) ExitRule(listener antlr.ParseTreeListener)

func (*RootContext) GetParser

func (s *RootContext) GetParser() antlr.Parser

func (*RootContext) GetRuleContext

func (s *RootContext) GetRuleContext() antlr.RuleContext

func (*RootContext) IsRootContext

func (*RootContext) IsRootContext()

func (*RootContext) Timeexpr

func (s *RootContext) Timeexpr() ITimeexprContext

func (*RootContext) ToStringTree

func (s *RootContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SecondContext

type SecondContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySecondContext

func NewEmptySecondContext() *SecondContext

func NewSecondContext

func NewSecondContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SecondContext

func (*SecondContext) DecimalLiteral

func (s *SecondContext) DecimalLiteral() IDecimalLiteralContext

func (*SecondContext) EnterRule

func (s *SecondContext) EnterRule(listener antlr.ParseTreeListener)

func (*SecondContext) ExitRule

func (s *SecondContext) ExitRule(listener antlr.ParseTreeListener)

func (*SecondContext) GetParser

func (s *SecondContext) GetParser() antlr.Parser

func (*SecondContext) GetRuleContext

func (s *SecondContext) GetRuleContext() antlr.RuleContext

func (*SecondContext) IsSecondContext

func (*SecondContext) IsSecondContext()

func (*SecondContext) RealLiteral

func (s *SecondContext) RealLiteral() IRealLiteralContext

func (*SecondContext) S

func (*SecondContext) SEC

func (s *SecondContext) SEC() antlr.TerminalNode

func (*SecondContext) SECOND

func (s *SecondContext) SECOND() antlr.TerminalNode

func (*SecondContext) SECONDS

func (s *SecondContext) SECONDS() antlr.TerminalNode

func (*SecondContext) ToStringTree

func (s *SecondContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TimeatomContext

type TimeatomContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTimeatomContext

func NewEmptyTimeatomContext() *TimeatomContext

func NewTimeatomContext

func NewTimeatomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TimeatomContext

func (*TimeatomContext) Day

func (s *TimeatomContext) Day() IDayContext

func (*TimeatomContext) EnterRule

func (s *TimeatomContext) EnterRule(listener antlr.ParseTreeListener)

func (*TimeatomContext) ExitRule

func (s *TimeatomContext) ExitRule(listener antlr.ParseTreeListener)

func (*TimeatomContext) GetParser

func (s *TimeatomContext) GetParser() antlr.Parser

func (*TimeatomContext) GetRuleContext

func (s *TimeatomContext) GetRuleContext() antlr.RuleContext

func (*TimeatomContext) Hour

func (s *TimeatomContext) Hour() IHourContext

func (*TimeatomContext) IsTimeatomContext

func (*TimeatomContext) IsTimeatomContext()

func (*TimeatomContext) Microsecond

func (s *TimeatomContext) Microsecond() IMicrosecondContext

func (*TimeatomContext) Millisecond

func (s *TimeatomContext) Millisecond() IMillisecondContext

func (*TimeatomContext) Minute

func (s *TimeatomContext) Minute() IMinuteContext

func (*TimeatomContext) Month

func (s *TimeatomContext) Month() IMonthContext

func (*TimeatomContext) Second

func (s *TimeatomContext) Second() ISecondContext

func (*TimeatomContext) ToStringTree

func (s *TimeatomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*TimeatomContext) Year

func (s *TimeatomContext) Year() IYearContext

type TimeexprContext

type TimeexprContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTimeexprContext

func NewEmptyTimeexprContext() *TimeexprContext

func NewTimeexprContext

func NewTimeexprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TimeexprContext

func (*TimeexprContext) AllTimeatom

func (s *TimeexprContext) AllTimeatom() []ITimeatomContext

func (*TimeexprContext) EnterRule

func (s *TimeexprContext) EnterRule(listener antlr.ParseTreeListener)

func (*TimeexprContext) ExitRule

func (s *TimeexprContext) ExitRule(listener antlr.ParseTreeListener)

func (*TimeexprContext) GetParser

func (s *TimeexprContext) GetParser() antlr.Parser

func (*TimeexprContext) GetRuleContext

func (s *TimeexprContext) GetRuleContext() antlr.RuleContext

func (*TimeexprContext) IsTimeexprContext

func (*TimeexprContext) IsTimeexprContext()

func (*TimeexprContext) Timeatom

func (s *TimeexprContext) Timeatom(i int) ITimeatomContext

func (*TimeexprContext) ToStringTree

func (s *TimeexprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type YearContext

type YearContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyYearContext

func NewEmptyYearContext() *YearContext

func NewYearContext

func NewYearContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *YearContext

func (*YearContext) DecimalLiteral

func (s *YearContext) DecimalLiteral() IDecimalLiteralContext

func (*YearContext) EnterRule

func (s *YearContext) EnterRule(listener antlr.ParseTreeListener)

func (*YearContext) ExitRule

func (s *YearContext) ExitRule(listener antlr.ParseTreeListener)

func (*YearContext) GetParser

func (s *YearContext) GetParser() antlr.Parser

func (*YearContext) GetRuleContext

func (s *YearContext) GetRuleContext() antlr.RuleContext

func (*YearContext) IsYearContext

func (*YearContext) IsYearContext()

func (*YearContext) RealLiteral

func (s *YearContext) RealLiteral() IRealLiteralContext

func (*YearContext) ToStringTree

func (s *YearContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*YearContext) Y

func (*YearContext) YEAR

func (s *YearContext) YEAR() antlr.TerminalNode

func (*YearContext) YEARS

func (s *YearContext) YEARS() antlr.TerminalNode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL