Documentation ¶
Index ¶
- type Parser
- func (p *Parser) Advance()
- func (p *Parser) Bytes() []byte
- func (p *Parser) Peek() byte
- func (p *Parser) Read() byte
- func (p *Parser) ReadIdentifier() (string, bool)
- func (p *Parser) ReadNumber() int
- func (p *Parser) ReadSep(sep byte) ([]byte, bool)
- func (p *Parser) Skip(skip byte) bool
- func (p *Parser) SkipBytes(skip []byte) bool
- func (p *Parser) Valid() bool
- type StreamingParser
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 ¶
type StreamingParser ¶
func NewStreamingParser ¶
func NewStreamingParser(rd internal.Reader) StreamingParser
func (StreamingParser) ReadSubstring ¶
func (p StreamingParser) ReadSubstring() ([]byte, error)
func (StreamingParser) SkipByte ¶
func (p StreamingParser) SkipByte(skip byte) error
Click to show internal directories.
Click to hide internal directories.