Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interpreter ¶
type Interpreter struct {
TokenStreamer
}
type TokenStream ¶
type TokenStream struct {
// contains filtered or unexported fields
}
func NewTokenStream ¶
func NewTokenStream(text string) *TokenStream
func (*TokenStream) Confirm ¶
func (t *TokenStream) Confirm()
func (*TokenStream) ProbeNextToken ¶
func (t *TokenStream) ProbeNextToken() Token
type TokenStreamer ¶
type TokenStreamer interface { ProbeNextToken() Token Confirm() }
Click to show internal directories.
Click to hide internal directories.