parser

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	T_ERROR tokenType = iota
	T_EOF

	T_IDENTIFIER

	T_STRING
	T_BOOLEAN

	T_LOGICAL_AND
	T_LOGICAL_OR
	T_LOGICAL_NOT

	T_LEFT_PARENTHESES
	T_RIGHT_PARENTHESES

	T_IS_EQUAL
	T_IS_NOT_EQUAL
	T_MATCHES
	T_NOT_MATCHES
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree interface {
	Value() token
	Left() Tree
	Right() Tree
}

func Parse

func Parse(str string) (Tree, error)

Jump to

Keyboard shortcuts

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