pg.v5: gopkg.in/pg.v5/internal/parser Index | Files

package parser

import "gopkg.in/pg.v5/internal/parser"

Index

Package Files

array_parser.go hstore_parser.go parser.go util.go

type ArrayParser Uses

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

func NewArrayParser Uses

func NewArrayParser(b []byte) *ArrayParser

func (*ArrayParser) NextElem Uses

func (p *ArrayParser) NextElem() ([]byte, error)

type HstoreParser Uses

type HstoreParser struct {
    *Parser
}

func NewHstoreParser Uses

func NewHstoreParser(b []byte) *HstoreParser

func (*HstoreParser) NextKey Uses

func (p *HstoreParser) NextKey() ([]byte, error)

func (*HstoreParser) NextValue Uses

func (p *HstoreParser) NextValue() ([]byte, error)

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() (s string, numeric bool)

func (*Parser) ReadNumber Uses

func (p *Parser) ReadNumber() int

func (*Parser) ReadSep Uses

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

func (*Parser) Skip Uses

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

func (*Parser) SkipBytes Uses

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

func (*Parser) Valid Uses

func (p *Parser) Valid() bool

Package parser imports 4 packages (graph) and is imported by 3 packages. Updated 2017-03-21. Refresh now. Tools for package owners.