Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
type Option ¶
Option configures a new Compiler.
func DisableOptimisation ¶
func DisableOptimisation() Option
DisableOptimisation disables the optimisation phase.
func EmitAstTypes ¶
func EmitAstTypes() Option
EmitAstTypes emits the AST with types after the type checking phase.
func MaxRecursionDepth ¶
MaxRecursionDepth sets the maximum allowable depth of the AST.
func MaxRegexpLength ¶
MaxRegexpLength sets the maximum allowable length of a regular expression.
Directories ¶
Path | Synopsis |
---|---|
package opt has a compiler pass for making optimisations on the AST.
|
package opt has a compiler pass for making optimisations on the AST. |
Package parser implements the parse phase of the mtail program compilation.
|
Package parser implements the parse phase of the mtail program compilation. |
Package position implements a data structure for storing source code positions.
|
Package position implements a data structure for storing source code positions. |
Click to show internal directories.
Click to hide internal directories.