compiler

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type New

type New func() (eval.Compute, error)

New represents a new evaluator

func Compile

func Compile(expr string) (New, error)

func NewBinary

func NewBinary(op string, operands ...*Operand) New

func NewUnary

func NewUnary(op string, operand *Operand) New

type Operand

type Operand struct {
	// contains filtered or unexported fields
}

func NewOperand

func NewOperand(x ast.Node) (*Operand, error)

Jump to

Keyboard shortcuts

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