Documentation
¶
Index ¶
- Variables
- type AssignNode
- type BinaryNode
- type CallNode
- type CommentNode
- type Env
- func (e *Env) Get(name string) (*unified.Real, bool)
- func (e *Env) Set(name string, val *unified.Real) error
- func (e *Env) SetConstant(name string, val *unified.Real)
- func (e *Env) SetDecimalPlaces(decimalPlaces int)
- func (e *Env) SetPrecision(precision int)
- func (e *Env) SetTrace(enabled bool)
- func (e *Env) SetTraceOutput(w io.Writer)
- type FunctionInfo
- type IdentNode
- type Node
- type NumberNode
- type P
- type UnaryNode
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedToken = errors.New("unexpected token")
Functions ¶
This section is empty.
Types ¶
type AssignNode ¶
type BinaryNode ¶
type CommentNode ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) SetDecimalPlaces ¶
func (*Env) SetPrecision ¶
func (*Env) SetTraceOutput ¶
type FunctionInfo ¶
FunctionInfo describes a registered function for discoverability output.
func Functions ¶
func Functions() []FunctionInfo
Functions returns the registered functions in catalog order, grouped by category, for the calculator's discoverability listing.
type NumberNode ¶
Click to show internal directories.
Click to hide internal directories.