Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( Null = object.Null{} True = object.PrimitiveOf(true) False = object.PrimitiveOf(false) )
Functions ¶
func DefaultEnv ¶
func EvalWithInference ¶
Example usage in the Eval function, or similar functions for evaluation
Types ¶
type TypeInferencer ¶
type TypeInferencer struct {
// contains filtered or unexported fields
}
TypeInferencer structure to handle type inference
func NewTypeInferencer ¶
func NewTypeInferencer(env *object.Env) *TypeInferencer
NewTypeInferencer initializes a TypeInferencer with a given environment
Click to show internal directories.
Click to hide internal directories.