expressions

package
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	Evaluate(deploymentProvider functions.DeploymentData) interface{}
}

func NewExpressionTree

func NewExpressionTree(code string) (Node, error)

type Token

type Token struct {
	Type TokenType
	Data interface{}
}

type TokenType

type TokenType uint16
const (
	TokenName TokenType = iota
	TokenOpenParen
	TokenCloseParen
	TokenComma
	TokenDot
	TokenLiteralString
	TokenLiteralInteger
	TokenLiteralFloat
	TokenNewLine
)

Jump to

Keyboard shortcuts

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