Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultMemoryBudget represents default maximum allowed memory usage by the vm.VM. DefaultMemoryBudget uint = 1e6 // DefaultMaxNodes represents default maximum allowed AST nodes by the compiler. DefaultMaxNodes uint = 1e4 )
Functions ¶
Types ¶
type Config ¶
type Config struct {
EnvObject any
Env nature.Nature
Expect reflect.Kind
ExpectAny bool
Optimize bool
Strict bool
Profile bool
MaxNodes uint
ConstFns map[string]reflect.Value
Visitors []ast.Visitor
Functions FunctionsTable
Builtins FunctionsTable
Disabled map[string]bool // disabled builtins
}
func (*Config) IsOverridden ¶ added in v1.16.0
type FunctionsTable ¶ added in v1.16.1
Click to show internal directories.
Click to hide internal directories.