Documentation
¶
Overview ¶
Package enginex builds engine result values from internal types, for internal tests that need results without running a file. Package engine sets the constructors when it is initialized; they return an *engine.Error or an engine.Value as any, since this package cannot import engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RunError returns an *engine.Error for err, raised by the entry whose // request is at line entryLine of file, with content src. RunError func(err *runerr.Error, file string, src []byte, entryLine int) any // ParseError returns an *engine.Error for a parse error of file. ParseError func(err *syntax.Error, file string, src []byte) any // Value returns an engine.Value holding v. Value func(v value.Value) any )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.