pg: github.com/go-pg/pg/internal/parser Index | Files

package parser

import "github.com/go-pg/pg/internal/parser"

Index

Package Files

parser.go streaming_parser.go util.go

type Parser Uses

type Parser struct {
    // contains filtered or unexported fields
}

func New Uses

func New(b []byte) *Parser

func NewString Uses

func NewString(s string) *Parser

func (*Parser) Advance Uses

func (p *Parser) Advance()

func (*Parser) Bytes Uses

func (p *Parser) Bytes() []byte

func (*Parser) Peek Uses

func (p *Parser) Peek() byte

func (*Parser) Read Uses

func (p *Parser) Read() byte

func (*Parser) ReadIdentifier Uses

func (p *Parser) ReadIdentifier() (string, bool)

func (*Parser) ReadNumber Uses

func (p *Parser) ReadNumber() int

func (*Parser) ReadSep Uses

func (p *Parser) ReadSep(sep byte) ([]byte, bool)

func (*Parser) Skip Uses

func (p *Parser) Skip(skip byte) bool

func (*Parser) SkipBytes Uses

func (p *Parser) SkipBytes(skip []byte) bool

func (*Parser) Valid Uses

func (p *Parser) Valid() bool

type StreamingParser Uses

type StreamingParser struct {
    internal.Reader
}

func NewStreamingParser Uses

func NewStreamingParser(rd internal.Reader) StreamingParser

func (StreamingParser) ReadSubstring Uses

func (p StreamingParser) ReadSubstring(b []byte) ([]byte, error)

func (StreamingParser) SkipByte Uses

func (p StreamingParser) SkipByte(skip byte) error

Package parser imports 4 packages (graph) and is imported by 27 packages. Updated 2019-07-06. Refresh now. Tools for package owners.