Documentation
¶
Overview ¶
Package ast declares the types used to represent syntax trees for mathematical expressions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryExpr ¶
BinaryExpr represents a binary expression.
func (*BinaryExpr) Eval ¶
func (expr *BinaryExpr) Eval() float64
Eval calculates the value of a binary expression.
Click to show internal directories.
Click to hide internal directories.