Versions in this module Expand all Collapse all v0 v0.0.6 Apr 12, 2021 v0.0.5 Apr 12, 2021 Changes in this version + type StopIteration struct + func (s *StopIteration) Error() string + type Token struct + Column int + Line int + Type TokenType + Value string + type TokenError struct + Column int + Line int + Value rune + func (t *TokenError) Error() string + type TokenIterator interface + Next func() (token Token, err error) + type TokenType string + const Dash + const Label + const LeftBracket + const Pipe + const RightBracket + type Tokenizer struct + CurrentColumn int + CurrentLine int + CurrentRune rune + Input string + NextRune rune + func New(input string) Tokenizer + func (tokenizer *Tokenizer) Next() (Token, error)