parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package parser implements functions to parser.

Package parser implements functions to precedence.

Index

Constants

View Source
const (
	Lowest
	Assign
	Pipe
	Arrow
	Ternary
	Boolean
	Bitwise
	Comparison
	Range
	BitShift
	Sum
	Product
	Exponential
	Prefix
	Call
	Index
	As
)

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(l *lexer.Lexer) *Parser

func (*Parser) Parse

func (p *Parser) Parse() *ast.Program

Jump to

Keyboard shortcuts

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