We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92e2ec commit 182716cCopy full SHA for 182716c
expr.go
@@ -114,7 +114,7 @@ func Optimize(b bool) Option {
114
}
115
116
117
-// TODO
+// Patch adds visitor to list of visitors what will be applied before compiling AST to bytecode.
118
func Patch(visitor ast.Visitor) Option {
119
return func(c *conf.Config) {
120
c.Visitors = append(c.Visitors, visitor)
0 commit comments