parser

package
v3.8.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: MIT Imports: 6 Imported by: 46

Documentation

Index

Constants

View Source
const (
	LOWEST      int //
	ANDOR           // || or &&
	EQUALS          // ==
	LESSGREATER     // > or <
	SUM             // +
	PRODUCT         // *
	PREFIX          // -X or !X
	CALL            // myFunction(X)
	INDEX           // array[index]
)

Variables

This section is empty.

Functions

func Parse

func Parse(s string) (*ast.Program, error)

Parse the string and return an AST or an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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