parser

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const COLON = 57352
View Source
const COMMA = 57353
View Source
const DEF = 57354
View Source
const FN = 57355
View Source
const IDENT = 57347
View Source
const ILLEGAL = 57346
View Source
const LBRACK = 57349
View Source
const NUM = 57351
View Source
const RBRACK = 57350
View Source
const STRING = 57348

Variables

This section is empty.

Functions

func Parse

func Parse(src []byte) (*ast.Command, error)

Types

type ParseError

type ParseError struct {
	// starts with 1
	Line   uint
	Column uint

	Msg string

	Src string
}

func (*ParseError) Error

func (p *ParseError) Error() string

func (*ParseError) Verbose

func (p *ParseError) Verbose() string

Jump to

Keyboard shortcuts

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