ast

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ADD    = Token("+")
	SUB    = Token('-')
	MUL    = Token('*')
	QUO    = Token('/')
	GTR    = Token('>')
	GTE    = Token(">=")
	LSS    = Token("<")
	LEQ    = Token("<=")
	EQ     = Token("==")
	NEQ    = Token("!=")
	NEG    = Token("!")
	ASSIGN = Token("=")

	AND = Token("&&")
	OR  = Token("||")

	SliceValue = Token("[]")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Expression

type Expression interface {
	Type() reflect.Type
}

type Node

type Node interface {
}

type Operand

type Operand interface {
}

type Statement

type Statement interface {
}

type StatementContainer

type StatementContainer interface {
	AddStatement(statement Statement)
	Statements() []Statement
}

type Token

type Token string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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