Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Version is the current version of the calc package.
Version = "0.1.0"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryOpNode ¶
func (*BinaryOpNode) Eval ¶
func (n *BinaryOpNode) Eval() float64
type FuncCallNode ¶
func (*FuncCallNode) Eval ¶
func (n *FuncCallNode) Eval() float64
type NumberNode ¶
type NumberNode struct {
Value float64
}
func (*NumberNode) Eval ¶
func (n *NumberNode) Eval() float64
type UnaryOpNode ¶
func (*UnaryOpNode) Eval ¶
func (n *UnaryOpNode) Eval() float64
Click to show internal directories.
Click to hide internal directories.