update README.md
This commit is contained in:
parent
416d7f0959
commit
ecad84833e
@ -33,8 +33,8 @@ func main() {
|
|||||||
src := bytes.NewBufferString(`<? echo "Hello world";`)
|
src := bytes.NewBufferString(`<? echo "Hello world";`)
|
||||||
nodes, comments, positions := parser.Parse(src, "example.php")
|
nodes, comments, positions := parser.Parse(src, "example.php")
|
||||||
|
|
||||||
visitor := visitor.Dumper{"", comments, positions}
|
dumper := visitor.Dumper{"", comments, positions}
|
||||||
nodes.Walk(visitor)
|
nodes.Walk(dumper)
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user