expr

package
v0.127.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(e string, store exprtrace.EvalEnv) (any, error)

func EvalAny

func EvalAny(e any, store exprtrace.EvalEnv) (any, error)

EvalAny evaluate any type. but, EvalAny do not evaluate map key.

func EvalCond

func EvalCond(cond string, store exprtrace.EvalEnv) (bool, error)

func EvalCount

func EvalCount(count string, store exprtrace.EvalEnv) (int, error)

func EvalExpand

func EvalExpand(in any, store exprtrace.EvalEnv) (any, error)

EvalExpand evaluates `in` and expand `{{ }}` in `in` using `store`.

func EvalWithTrace

func EvalWithTrace(e string, store exprtrace.EvalEnv) (*exprtrace.EvalResult, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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