|
Smalltalk/X WebserverDocumentation of class 'PluggableParseNodeVisitor': |
|
|
Class: PluggableParseNodeVisitorInheritance:Object | +--ParseNodeVisitor | +--PluggableParseNodeVisitor
Description:
a pluggable node visitor.
setup with:
actionForNodeClass:aClass put:aBlock
for example, if you are only interested in assignments,
use the following code:
|v|
v := PluggableParseNodeVisitor new.
v actionForNodeClass:AssignmentNode put:[:node | Transcript showCR:node. true].
v visit:(Parser parse:code in:someClass.
Instance protocol:setup
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 06:29:34 GMT
|