diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/compiler/doc/compiler.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/compiler/doc/compiler.tex b/Tools/compiler/doc/compiler.tex index 824ff08..5a0efa5 100644 --- a/Tools/compiler/doc/compiler.tex +++ b/Tools/compiler/doc/compiler.tex @@ -262,7 +262,7 @@ correct order. A walk begins with a call to \method{preorder()}. For each node, it checks the \var{visitor} argument to \method{preorder()} for a method named `visitNodeType,' where NodeType is the name of the node's class, e.g. for a \class{While} node a \method{visitWhile()} -would be called . If the method exists, it is called with the node as +would be called. If the method exists, it is called with the node as its first argument. The visitor method for a particular node type can control how child |