Rename to lexer and split in files
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user