Documentation
¶
Index ¶
Constants ¶
View Source
const (
OPERATION = "+-/*"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Calculator ¶
type Calculator string
func (Calculator) Evaluate ¶
func (c Calculator) Evaluate() float64
func (Calculator) Parse ¶
func (c Calculator) Parse() <-chan string
type LexStateFn ¶
type LexStateFn func() LexStateFn
type Position ¶
Position of a document element within a TOML document.
Line and Col are both 1-indexed positions for the element's line number and column number, respectively. Values of zero or less will cause Invalid(), to return true.
Click to show internal directories.
Click to hide internal directories.