Documentation ¶
Overview ¶
Package parser provides types and functions for parsing graphene
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseError ¶
type ParseError []error
func (ParseError) Error ¶
func (p ParseError) Error() string
type ParseResult ¶
type ParseResult struct { Exprs ast.Exprs Err ParseError }
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Represents a graphene parser
func (*Parser) Parse ¶
func (p *Parser) Parse(c chan ParseResult)
Parses the source stored in the parser and writes it to the passed channel
type UnexpectedTokenErr ¶
type UnexpectedTokenErr struct {
// contains filtered or unexported fields
}
func (UnexpectedTokenErr) Error ¶
func (u UnexpectedTokenErr) Error() string
Click to show internal directories.
Click to hide internal directories.