parser

package
v4.0.11+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

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 New

func New(b []byte) *Parser

func NewString

func NewString(s string) *Parser

func (*Parser) Bytes

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

func (*Parser) Got

func (p *Parser) Got(s string) bool

func (*Parser) JumpTo

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

func (*Parser) Peek

func (p *Parser) Peek() byte

func (*Parser) Read

func (p *Parser) Read() byte

func (*Parser) ReadIdentifier

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

func (*Parser) ReadNumber

func (p *Parser) ReadNumber() int

func (*Parser) ReadSep

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

func (*Parser) Skip

func (p *Parser) Skip(_ byte)

func (*Parser) Valid

func (p *Parser) Valid() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL