(opts ...CompileOption)
| 14 | } |
| 15 | |
| 16 | func applyCompileOptions(opts ...CompileOption) compileOptions { |
| 17 | var cfg compileOptions |
| 18 | for _, opt := range opts { |
| 19 | opt(&cfg) |
| 20 | } |
| 21 | return cfg |
| 22 | } |
| 23 | |
| 24 | // WithSkipOptimization adds name to the list of AST transformations to skip during parsing. |
| 25 | // Use [TransformationAll] to skip all transformations. |
no outgoing calls
no test coverage detected