eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ParseNodeVisitor':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ParseNodeVisitor


Inheritance:

   Object
   |
   +--ParseNodeVisitor
      |
      +--JavaScriptParseNodeVisitor
      |
      +--ParseNodeVisitor::ParseNodeChildCollector
      |
      +--PluggableParseNodeVisitor

Package:
stx:libcomp
Category:
System-Compiler-Support
Version:
rev: 1.5 date: 2019/08/11 12:18:03
user: cg
file: ParseNodeVisitor.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


a whitebox expandable abstract parsenode visitor.
Subclasses should redefine those acceptXXX methods, in which they are interested.


Class protocol:

utilities
o  collectChildrenOf: aNode


Instance protocol:

visiting
o  visit: anObject

o  visitAssignmentNode: anObject

o  visitBinaryNode: anObject

o  visitBlockNode: anObject

o  visitCascadeNode: anObject

o  visitConstantNode: anObject

o  visitECompletionConstantNode: anObject
dispatched back from the visited eCompletionConstantNode-object (visitor pattern)

o  visitMessageNode: anObject

o  visitObject: anObject
dispatched back from the visited objects (visitor pattern)

o  visitParseErrorNode: anObject

o  visitPrimitiveNode: anObject

o  visitReturnNode: anObject

o  visitSelfNode: anObject
to be redefined in subclasses

o  visitStatementNode: anObject

o  visitSuperNode: anObject
to be redefined in subclasses

o  visitUnaryNode: anObject

o  visitVariableNode: anObject
to be redefined in subclasses

visiting - javaScript
o  visitFunctionCallNode: anObject

o  visitImplicitFunctionCallNode: aNode

o  visitJavaScriptFunctionNode: aNode

o  visitJavaScriptStatementNode: aNode

o  visitJavaScriptVariableNode: aNode

o  visitThisNode: aNode


Private classes:

    ParseNodeChildCollector


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 14:41:44 GMT