Documentation ¶
Index ¶
- type Cell
- type Engine
- func (g *Engine) EvalFormula(f *f1F.Formula) (value interface{}, valueType f1F.NodeType)
- func (g *Engine) Execute(inputs map[string]string, outputs *map[string]OutParam) (err error)
- func (g *Engine) GetCell(cellIDString string) (cell Cell, err error)
- func (g *Engine) GetRange(rangeIDString string) (cellRange Range, err error)
- func (g *Engine) Inspect() map[string]string
- func (g *Engine) SetCell(cellID string, value interface{})
- type EngineError
- type Invoke
- type OutParam
- type Range
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine the F1 Engine
func (*Engine) EvalFormula ¶
EvalFormula Execute formula by running AST nodes as necessary
type EngineError ¶
type EngineError struct {
// contains filtered or unexported fields
}
func Error ¶
func Error(message string) EngineError
type OutParam ¶
type OutParam struct { Format string Value interface{} }
func NewOutParam ¶
func (OutParam) MarshalJSON ¶ added in v1.0.2
MarshalJSON serializes out param
Click to show internal directories.
Click to hide internal directories.