Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NONE = &object.None{Value: "None"} TRUE = &object.Boolean{Value: true} FALSE = &object.Boolean{Value: false} MAX_CALL_DEPTH = 1000 CurrentContext *CallContext = nil )
View Source
var LineReader *liner.State
Functions ¶
func Eval ¶
func Eval(node ast.Node, env *object.Environment, ctx *CallContext) object.Object
Main evaluation function
func LoadMuninStdlib ¶
func LoadMuninStdlib(env *object.Environment) error
Types ¶
type CallContext ¶ added in v0.1.6
type CallContext struct {
FunctionName string
Node ast.Node
Parent *CallContext
// contains filtered or unexported fields
}
CallContext tracks function call state for better error reporting
Click to show internal directories.
Click to hide internal directories.