Rename to lexer and split in files

This commit is contained in:
Thomas Pelletier
2021-02-02 08:28:30 -05:00
parent 7300b6a97b
commit 1e8b0dc3c9
7 changed files with 367 additions and 362 deletions
+22
View File
@@ -0,0 +1,22 @@
package toml
type parser interface {
Whitespace(b []byte)
Comment(b []byte)
UnquotedKey(b []byte)
LiteralString(b []byte)
BasicString(b []byte)
Dot(b []byte)
Boolean(b []byte)
Equal(b []byte)
ArrayBegin()
ArrayEnd()
ArraySeparator()
InlineTableBegin()
InlineTableEnd()
InlineTableSeparator()
StandardTableBegin()
StandardTableEnd()
ArrayTableBegin()
ArrayTableEnd()
}