Documentation ¶
Index ¶
- type Parser
- func (p *Parser) Advance()
- func (p *Parser) CutPrefix(skip []byte) bool
- func (p *Parser) Peek() byte
- func (p *Parser) Read() byte
- func (p *Parser) ReadByte() (byte, error)
- func (p *Parser) ReadIdentifier() (string, bool)
- func (p *Parser) ReadNumber() int
- func (p *Parser) ReadSep(sep byte) ([]byte, bool)
- func (p *Parser) Remaining() []byte
- func (p *Parser) Reset(b []byte)
- func (p *Parser) Skip(skip byte) error
- func (p *Parser) SkipPrefix(skip []byte) error
- func (p *Parser) Unread()
- func (p *Parser) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ReadIdentifier ¶
func (*Parser) ReadNumber ¶
func (*Parser) SkipPrefix ¶
Click to show internal directories.
Click to hide internal directories.