Skip to content

Commit 1cd950a

Browse files
committed
Update Visitor-And-Patch.md
1 parent 6723e69 commit 1cd950a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Visitor-And-Patch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Visitor
1+
# Visitor and Patch
22

3-
[ast](https://pkg.go.dev/github.com/antonmedv/expr/ast?tab=doc) package provides `ast.Visitor` interface and `ast.BaseVisitor` implementation.
3+
[ast](https://pkg.go.dev/github.com/antonmedv/expr/ast?tab=doc) package provides `ast.Visitor` interface and `ast.Walk` function.
44
You can use it for traveling ast tree of compiled program.
55

66
For example if you want to collect all variable names:

0 commit comments

Comments
 (0)