expressions

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 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 functions2.DeploymentData) any
}

func NewExpressionTree

func NewExpressionTree(code string) (Node, error)

type Token

type Token struct {
	Type TokenType
	Data any
}

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