Documentation
¶
Overview ¶
Code generated by goyacc -l -o parser.go parser.y. DO NOT EDIT.
Index ¶
Constants ¶
View Source
const AM = 57363
View Source
const BLANK = 57350
View Source
const COLON = 57351
View Source
const COMMA = 57352
View Source
const DASH = 57346
View Source
const DIGIT = 57349
View Source
const DIV = 57347
View Source
const DOT = 57348
View Source
const EOF = 57354
View Source
const ERROR = 57355
View Source
const HANDAY = 57360
View Source
const HANMONTH = 57359
View Source
const HANYEAR = 57358
View Source
const MONTH = 57357
View Source
const PLUS = 57353
View Source
const PM = 57364
View Source
const SPACE = 57356
View Source
const T = 57365
View Source
const WEEK = 57361
View Source
const Z = 57366
View Source
const ZONE = 57362
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
func (*Date) PositionRange ¶
func (d *Date) PositionRange() *PositionRange
type DateTime ¶
func (*DateTime) PositionRange ¶
func (d *DateTime) PositionRange() *PositionRange
type Millisecond ¶
type Millisecond int
func JoinMillisecond ¶
func JoinMillisecond(tokens ...Token) Millisecond
func (Millisecond) PositionRange ¶
func (s Millisecond) PositionRange() *PositionRange
func (Millisecond) Print ¶
func (s Millisecond) Print() string
type Minute ¶
type Minute int
func JoinMinute ¶
func (Minute) PositionRange ¶
func (m Minute) PositionRange() *PositionRange
type Month ¶
type Month int
func ConvToManth ¶
func (Month) PositionRange ¶
func (m Month) PositionRange() *PositionRange
type Node ¶
type Node interface {
Print() string
PositionRange() *PositionRange
}
type ParseErr ¶
type ParseErr struct {
PositionRange PositionRange
Err error
Input string
LineOffset int
}
type ParseErrors ¶
type ParseErrors []ParseErr
func (ParseErrors) Error ¶
func (errs ParseErrors) Error() string
type PositionRange ¶
type Second ¶
type Second int
func JoinSecond ¶
func (Second) PositionRange ¶
func (s Second) PositionRange() *PositionRange
type Time ¶
func (*Time) PositionRange ¶
func (t *Time) PositionRange() *PositionRange
Click to show internal directories.
Click to hide internal directories.