Documentation
¶
Index ¶
- func Parse(path, input string) (*ast.Script, error)
- func Print(path, input string) string
- type Parser
- func (p *Parser) Accept(tokens ...token.Type) bool
- func (p *Parser) Check(tokens ...token.Type) bool
- func (p *Parser) Expect(tokens ...token.Type) error
- func (p *Parser) Is(types ...token.Type) bool
- func (p *Parser) More() bool
- func (p *Parser) Parse() (*ast.Script, error)
- func (p *Parser) Text() string
- func (p *Parser) Type() token.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.