MCPcopy
hub / github.com/google/mtail / EmitAstTypes

Function EmitAstTypes

internal/runtime/compiler/compiler.go:56–61  ·  view source on GitHub ↗

EmitAstTypes emits the AST with types after the type checking phase.

()

Source from the content-addressed store, hash-verified

54
55// EmitAstTypes emits the AST with types after the type checking phase.
56func EmitAstTypes() Option {
57 return func(c *Compiler) error {
58 c.emitAstTypes = true
59 return nil
60 }
61}
62
63// MaxRegexpLength sets the maximum allowable length of a regular expression.
64func MaxRegexpLength(maxRegexpLength int) Option {

Callers 3

FuzzFunction · 0.92
DumpAstTypesFunction · 0.92
makeCompilerFunction · 0.92

Calls

no outgoing calls

Tested by 1

makeCompilerFunction · 0.74