parser

package
v0.0.0-...-5c28dc5 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2016 License: MIT Imports: 6 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
}

Parser is struct for token parser.

func New

func New(lex *lexer.Lex) *Parser

New returns new parser

func (*Parser) Parse

func (p *Parser) Parse() (exps types.Expression, err error)

Parse scans given tokens and return it into expression.

Jump to

Keyboard shortcuts

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