EmitAstTypes emits the AST with types after the type checking phase.
()
| 54 | |
| 55 | // EmitAstTypes emits the AST with types after the type checking phase. |
| 56 | func 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. |
| 64 | func MaxRegexpLength(maxRegexpLength int) Option { |
no outgoing calls