Documentation ¶
Index ¶
- Variables
- type Mode
- type Token
- func ComsumeRunesAny(inputs []rune, current int, runeType Type, expectRunes ...rune) (token Token, next int)
- func ComsumeStringsAny(inputs []rune, current int, runeType Type, mode Mode, expectStrs ...string) (token Token, next int)
- func ConsumeIdentifier(inputs []rune, current int, runeType Type) (token Token, next int)
- func Tokenizer(inputs []rune, f func(inputs []rune, current int) (token Token, next int), ...) []Token
- type TokenizerFunc
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Literals = map[string]struct{}{"<": {}, ">": {}}
)
Functions ¶
This section is empty.
Types ¶
type TokenizerFunc ¶
Click to show internal directories.
Click to hide internal directories.