Documentation ¶
Index ¶
Constants ¶
View Source
const ( LexerRuneEOF rune = -1 LexerRuneError rune = -2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseParser ¶
type BaseParser struct {
// contains filtered or unexported fields
}
func (*BaseParser) Complete ¶
func (p *BaseParser) Complete() error
func (*BaseParser) Expect ¶
func (p *BaseParser) Expect(tt TokenType) Token
func (*BaseParser) Init ¶
func (p *BaseParser) Init(lexer Lexer)
func (*BaseParser) PeekTokenType ¶
func (p *BaseParser) PeekTokenType() TokenType
func (*BaseParser) Unexpected ¶
func (p *BaseParser) Unexpected() error
func (*BaseParser) Unread ¶
func (p *BaseParser) Unread(t Token)
Click to show internal directories.
Click to hide internal directories.