Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
commaPrevtoken.TokenenableTraceboolindentint
// buffer size (max = 1)
sc*scanner.Scanner
Last read token
Parse returns the fully parsed source and returns the abstract syntax tree.
listType parses a list type and returns a ListType AST
literalType parses a literal type and returns a LiteralType AST
object parses any type of object, such as number, bool, string, object or
list.
objectItem parses a single object item
objectKey parses an object key and returns a ObjectKey AST
(*T) objectList() (*ast.ObjectList, error)
objectType parses an object type and returns a ObjectType AST
object parses any type of object, such as number, bool, string, object or
list.
(*T) printTrace(a ...interface{})
scan returns the next token from the underlying scanner. If a token has
been unscanned then read that instead.
unscan pushes the previously read token back onto the buffer.
func newParser(src []byte) *Parser
func trace(p *Parser, msg string) *Parser
func trace(p *Parser, msg string) *Parser
func un(p *Parser)
Package-Level Functions (total 7, in which 1 are exported)
Parse returns the fully parsed source and returns the abstract syntax tree.
The pages are generated with Goldsv0.3.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.