package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev

# Functions

Add +.
CloseParen ).
Divide /.
Equal ==.
FixedFrom attempts to convert the arg into one of the fixed.F64 types.
FixedFunctions returns standard functions that work with 64-bit fixed-point values.
FixedOperators returns standard operators that work with 64-bit fixed-point values.
FloatFunctions returns standard functions that work with constraints.Float.
FloatOperators returns standard operators that work with floating point values.
GreaterThan >.
GreaterThanOrEqual >=.
LessThan <.
LessThanOrEqual <=.
LogicalAnd &&.
LogicalOr ||.
Modulo %.
Multiply *.
NewFixedEvaluator creates a new evaluator whose number type is one of the fixed types.
NewFloatEvaluator creates a new evaluator whose number type is one of the constraints.Float types.
NextArg provides extraction of the next argument from an arguments string passed to a Function.
Not !.
NotEqual !=.
OpenParen (.
Power ^.
Subtract -.

# Structs

Evaluator is used to evaluate an expression.
Operator provides an operator implementation for the Evaluator.

# Interfaces

VariableResolver is used to resolve variables in expressions into their values.

# Type aliases

Function provides a signature for a Function.
OpFunc provides a signature for an Operator's Evaluate function.
UnaryOpFunc provides a signature for an Operator's EvaluateUnary function.