Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryExpression ¶
type BinaryExpression struct { Operator Token Left Expression Right Expression }
func (BinaryExpression) Evaluate ¶
func (b BinaryExpression) Evaluate(variables ...Variable) float64
type Expression ¶
type Identifier ¶
type Identifier struct {
Name string
}
func (Identifier) Evaluate ¶
func (i Identifier) Evaluate(variables ...Variable) float64
Click to show internal directories.
Click to hide internal directories.