parser

package
v0.0.0-...-765b5f2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date struct {
	Year  int
	Month int
	Day   int
}

func NewDate

func NewDate(y, m, d int) Date

type DateTime

type DateTime struct {
	Date Date
	Time Time
}

func NewDateTime

func NewDateTime(d Date, t Time) DateTime

type Lex

type Lex struct {
	// contains filtered or unexported fields
}

func NewLex

func NewLex(src string) *Lex

func (*Lex) Error

func (m *Lex) Error(s string)

func (*Lex) Lex

func (m *Lex) Lex(lval *yySymType) int

type Time

type Time struct {
	Hour   int
	Minute int
	Second int
}

func NewTime

func NewTime(h, m, s int) Time

Jump to

Keyboard shortcuts

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