Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
ErrNewlineInSingQuoteString = errors.New("newline in single quote string")
)
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader interface {
// Returns io.EOF, if no more tokens available.
// This especially means, that if a non nil token is returned, err is nil.
// Other errors may be returned at any time.
Next() (t *Token, err error)
// Resets the reader to read from the given rune reader.
Reset(rr io.RuneReader)
}
func NewReader ¶
func NewReader(rr io.RuneReader) Reader
Click to show internal directories.
Click to hide internal directories.