Documentation ¶
Index ¶
- func ErrorAt(t position, format string, args ...interface{}) error
- func Write(w io.Writer, toks []Token) error
- type BlockEnd
- type BlockStart
- type Colon
- type Comma
- type Identifier
- type ListEnd
- type ListStart
- type Number
- type Options
- type Position
- type Quantifier
- type Semicolon
- type Stream
- type String
- type TestListEnd
- type TestListStart
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockStart ¶
type BlockStart struct{ Position }
func (BlockStart) String ¶
func (BlockStart) String() string
type Identifier ¶
func (Identifier) String ¶
func (t Identifier) String() string
type Number ¶
type Number struct { Position Value int Quantifier Quantifier }
type Quantifier ¶
type Quantifier byte
const ( None Quantifier = '\x00' Kilo Quantifier = 'K' Mega Quantifier = 'M' Giga Quantifier = 'G' )
func (Quantifier) Multiplier ¶
func (q Quantifier) Multiplier() int
type TestListEnd ¶
type TestListEnd struct{ Position }
func (TestListEnd) String ¶
func (TestListEnd) String() string
type TestListStart ¶
type TestListStart struct{ Position }
func (TestListStart) String ¶
func (TestListStart) String() string
Click to show internal directories.
Click to hide internal directories.