elliotchance/gedcom

View on GitHub
q/call_expr.go

Summary

Maintainability
A
0 mins
Test Coverage
package q

// CallExpr calls a function.
type CallExpr struct {
    Function Expression
    Args     []*Statement
}

func (e *CallExpr) Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) {
    return e.Function.Evaluate(engine, input, e.Args)
}