Add walker cases for token nodes
This commit is contained in:
parent
bd231ff624
commit
9fe2f28e7b
|
@ -32,7 +32,7 @@ func Walk(v Visitor, node Node) {
|
|||
// order of them during runtime/interpretation.
|
||||
switch n := node.(type) {
|
||||
// Nodes
|
||||
case *Identifier:
|
||||
case *Identifier, *Token, *ModuleToken, *TypeToken:
|
||||
// No children, nothing to do.
|
||||
|
||||
// Definitions
|
||||
|
|
Loading…
Reference in a new issue