Class ASTVisitor
- Direct Known Subclasses:
org.eclipse.jdt.internal.corext.dom.GenericVisitor
For each different concrete AST node type T there are a pair of methods:
public boolean visit(T node)
- Visits the given node to perform some arbitrary operation. Iftrue
is returned, the given node's child nodes will be visited next; however, iffalse
is returned, the given node's child nodes will not be visited. The default implementation provided by this class does nothing and returnstrue
(with the exception ofASTVisitor.visit(Javadoc)
). Subclasses may reimplement this method as needed.public void endVisit(T node)
- Visits the given node to perform some arbitrary operation. When used in the conventional way, this method is called after all of the given node's children have been visited (or immediately, ifvisit
returnedfalse
). The default implementation provided by this class does nothing. Subclasses may reimplement this method as needed.
In addition, there are a pair of methods for visiting AST nodes in the abstract, regardless of node type:
public void preVisit(ASTNode node)
- Visits the given node to perform some arbitrary operation. This method is invoked prior to the appropriate type-specificvisit
method. The default implementation of this method does nothing. Subclasses may reimplement this method as needed.public void postVisit(ASTNode node)
- Visits the given node to perform some arbitrary operation. This method is invoked after the appropriate type-specificendVisit
method. The default implementation of this method does nothing. Subclasses may reimplement this method as needed.
For nodes with list-valued properties, the child nodes within the list are visited in order. For nodes with multiple properties, the child nodes are visited in the order that most closely corresponds to the lexical reading order of the source program. For instance, for a type declaration node, the child ordering is: name, superclass, superinterfaces, and body declarations.
While it is possible to modify the tree in the visitor, care is required to
ensure that the consequences are as expected and desirable.
During the course of an ordinary visit starting at a given node, every node
in the subtree is visited exactly twice, first with visit
and
then with endVisit
. During a traversal of a stationary tree,
each node is either behind (after endVisit
), ahead (before
visit
), or in progress (between visit
and
the matching endVisit
). Changes to the "behind" region of the
tree are of no consequence to the visit in progress. Changes to the "ahead"
region will be taken in stride. Changes to the "in progress" portion are
the more interesting cases. With a node, the various properties are arranged
in a linear list, with a cursor that separates the properties that have
been visited from the ones that are still to be visited (the cursor
is between the elements, rather than on an element). The cursor moves from
the head to the tail of this list, advancing to the next position just
before visit
if called for that child. After the child
subtree has been completely visited, the visit moves on the child
immediately after the cursor. Removing a child while it is being visited
does not alter the course of the visit. But any children added at positions
after the cursor are considered in the "ahead" portion and will be visited.
Cases to watch out for:
- Moving a child node further down the list. This could result in the child subtree being visited multiple times; these visits are sequential.
- Moving a child node up into an ancestor. If the new home for the node is in the "ahead" portion, the subtree will be visited a second time; again, these visits are sequential.
- Moving a node down into a child. If the new home for the node is in the "ahead" portion, the subtree will be visited a second time; in this case, the visits will be nested. In some cases, this can lead to a stack overflow or out of memory condition.
Note that LineComment
and BlockComment
nodes are
not normally visited in an AST because they are not considered
part of main structure of the AST. Use
CompilationUnit.getCommentList()
to find these additional
comments nodes.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new AST visitor instance.ASTVisitor
(boolean visitDocTags) Creates a new AST visitor instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(ArrayAccess node) End of visit the given type-specific AST node.void
endVisit
(ArrayCreation node) End of visit the given type-specific AST node.void
endVisit
(ArrayInitializer node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(AssertStatement node) End of visit the given type-specific AST node.void
endVisit
(Assignment node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(BlockComment node) End of visit the given type-specific AST node.void
endVisit
(BooleanLiteral node) End of visit the given type-specific AST node.void
endVisit
(BreakStatement node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(CastExpression node) End of visit the given type-specific AST node.void
endVisit
(CatchClause node) End of visit the given type-specific AST node.void
endVisit
(CharacterLiteral node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(CompilationUnit node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(ContinueStatement node) End of visit the given type-specific AST node.void
endVisit
(CreationReference node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(DoStatement node) End of visit the given type-specific AST node.void
endVisit
(EitherOrMultiPattern node) End of visit the given type-specific AST node.void
endVisit
(EmptyStatement node) End of visit the given type-specific AST node.void
endVisit
(EnhancedForStatement node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(EnumDeclaration node) End of visit the given type-specific AST node.void
endVisit
(ExportsDirective node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(ExpressionStatement node) End of visit the given type-specific AST node.void
endVisit
(FieldAccess node) End of visit the given type-specific AST node.void
endVisit
(FieldDeclaration node) End of visit the given type-specific AST node.void
endVisit
(ForStatement node) End of visit the given type-specific AST node.void
endVisit
(GuardedPattern node) End of visit the given type-specific AST node.void
endVisit
(IfStatement node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(ImportDeclaration node) End of visit the given type-specific AST node.void
endVisit
(InfixExpression node) End of visit the given type-specific AST node.void
endVisit
(Initializer node) End of visit the given type-specific AST node.void
endVisit
(InstanceofExpression node) End of visit the given type-specific AST node.void
endVisit
(IntersectionType node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(JavaDocRegion node) End of visit the given type-specific AST node.void
endVisit
(JavaDocTextElement node) End of visit the given type-specific AST node.void
endVisit
(LabeledStatement node) End of visit the given type-specific AST node.void
endVisit
(LambdaExpression node) End of visit the given type-specific AST node.void
endVisit
(LineComment node) End of visit the given type-specific AST node.void
endVisit
(MarkerAnnotation node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(MemberValuePair node) End of visit the given type-specific AST node.void
endVisit
(MethodDeclaration node) End of visit the given type-specific AST node.void
endVisit
(MethodInvocation node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(MethodRefParameter node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(ModuleDeclaration node) End of visit the given type-specific AST node.void
endVisit
(ModuleModifier node) End of visit the given type-specific AST node.void
endVisit
(ModuleQualifiedName node) End of visit the given type-specific AST node.void
endVisit
(NameQualifiedType node) End of visit the given type-specific AST node.void
endVisit
(NormalAnnotation node) End of visit the given type-specific AST node.void
endVisit
(NullLiteral node) End of visit the given type-specific AST node.void
endVisit
(NullPattern node) End of visit the given type-specific AST node.void
endVisit
(NumberLiteral node) End of visit the given type-specific AST node.void
endVisit
(OpensDirective node) End of visit the given type-specific AST node.void
endVisit
(PackageDeclaration node) End of visit the given type-specific AST node.void
endVisit
(ParameterizedType node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(PostfixExpression node) End of visit the given type-specific AST node.void
endVisit
(PrefixExpression node) End of visit the given type-specific AST node.void
endVisit
(PrimitiveType node) End of visit the given type-specific AST node.void
endVisit
(ProvidesDirective node) End of visit the given type-specific AST node.void
endVisit
(QualifiedName node) End of visit the given type-specific AST node.void
endVisit
(QualifiedType node) End of visit the given type-specific AST node.void
endVisit
(RecordDeclaration node) End of visit the given type-specific AST node.void
endVisit
(RecordPattern node) End of visit the given type-specific AST node.void
endVisit
(RequiresDirective node) End of visit the given type-specific AST node.void
endVisit
(ReturnStatement node) End of visit the given type-specific AST node.void
endVisit
(SimpleName node) End of visit the given type-specific AST node.void
endVisit
(SimpleType node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(StringFragment node) void
endVisit
(StringLiteral node) End of visit the given type-specific AST node.void
void
void
End of visit the given type-specific AST node.void
endVisit
(SuperFieldAccess node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(SuperMethodReference node) End of visit the given type-specific AST node.void
endVisit
(SwitchCase node) End of visit the given type-specific AST node.void
endVisit
(SwitchExpression node) End of visit the given type-specific AST node.void
endVisit
(SwitchStatement node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(TagElement node) End of visit the given type-specific AST node.void
endVisit
(TagProperty node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(TextElement node) End of visit the given type-specific AST node.void
endVisit
(ThisExpression node) End of visit the given type-specific AST node.void
endVisit
(ThrowStatement node) End of visit the given type-specific AST node.void
endVisit
(TryStatement node) End of visit the given type-specific AST node.void
endVisit
(TypeDeclaration node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(TypeLiteral node) End of visit the given type-specific AST node.void
endVisit
(TypeMethodReference node) End of visit the given type-specific AST node.void
endVisit
(TypeParameter node) End of visit the given type-specific AST node.void
endVisit
(TypePattern node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(UsesDirective node) End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
End of visit the given type-specific AST node.void
endVisit
(WhileStatement node) End of visit the given type-specific AST node.void
endVisit
(WildcardType node) End of visit the given type-specific AST node.void
endVisit
(YieldStatement node) End of visit the given type-specific AST node.void
Visits the given AST node following the type-specific visit (afterendVisit
).void
Visits the given AST node prior to the type-specific visit (beforevisit
).boolean
Visits the given AST node prior to the type-specific visit (beforevisit
).boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(ArrayAccess node) Visits the given type-specific AST node.boolean
visit
(ArrayCreation node) Visits the given type-specific AST node.boolean
visit
(ArrayInitializer node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(AssertStatement node) Visits the given type-specific AST node.boolean
visit
(Assignment node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(BlockComment node) Visits the given type-specific AST node.boolean
visit
(BooleanLiteral node) Visits the given type-specific AST node.boolean
visit
(BreakStatement node) Visits the given type-specific AST node.boolean
visit
(CaseDefaultExpression node) Visits the given type-specific AST node.boolean
visit
(CastExpression node) Visits the given type-specific AST node.boolean
visit
(CatchClause node) Visits the given type-specific AST node.boolean
visit
(CharacterLiteral node) Visits the given type-specific AST node.boolean
visit
(ClassInstanceCreation node) Visits the given type-specific AST node.boolean
visit
(CompilationUnit node) Visits the given type-specific AST node.boolean
visit
(ConditionalExpression node) Visits the given type-specific AST node.boolean
visit
(ConstructorInvocation node) Visits the given type-specific AST node.boolean
visit
(ContinueStatement node) Visits the given type-specific AST node.boolean
visit
(CreationReference node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(DoStatement node) Visits the given type-specific AST node.boolean
visit
(EitherOrMultiPattern node) Visits the given type-specific AST node.boolean
visit
(EmptyStatement node) Visits the given type-specific AST node.boolean
visit
(EnhancedForStatement node) Visits the given type-specific AST node.boolean
visit
(EnumConstantDeclaration node) Visits the given type-specific AST node.boolean
visit
(EnumDeclaration node) Visits the given type-specific AST node.boolean
visit
(ExportsDirective node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(ExpressionStatement node) Visits the given type-specific AST node.boolean
visit
(FieldAccess node) Visits the given type-specific AST node.boolean
visit
(FieldDeclaration node) Visits the given type-specific AST node.boolean
visit
(ForStatement node) Visits the given type-specific AST node.boolean
visit
(GuardedPattern node) Visits the given type-specific AST node.boolean
visit
(IfStatement node) Visits the given type-specific AST node.boolean
visit
(ImplicitTypeDeclaration implicitTypeDeclaration) Visits the given type-specific AST node.boolean
visit
(ImportDeclaration node) Visits the given type-specific AST node.boolean
visit
(InfixExpression node) Visits the given type-specific AST node.boolean
visit
(Initializer node) Visits the given type-specific AST node.boolean
visit
(InstanceofExpression node) Visits the given type-specific AST node.boolean
visit
(IntersectionType node) Visits the given type-specific AST node.boolean
Visits the given AST node.boolean
visit
(JavaDocRegion node) Visits the given AST node.boolean
visit
(JavaDocTextElement node) Visits the given type-specific AST node.boolean
visit
(LabeledStatement node) Visits the given type-specific AST node.boolean
visit
(LambdaExpression node) Visits the given type-specific AST node.boolean
visit
(LineComment node) Visits the given type-specific AST node.boolean
visit
(MarkerAnnotation node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(MemberValuePair node) Visits the given type-specific AST node.boolean
visit
(MethodDeclaration node) Visits the given type-specific AST node.boolean
visit
(MethodInvocation node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(MethodRefParameter node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(ModuleDeclaration node) Visits the given type-specific AST node.boolean
visit
(ModuleModifier node) Visits the given type-specific AST node.boolean
visit
(ModuleQualifiedName node) Visits the given type-specific AST node.boolean
visit
(NameQualifiedType node) Visits the given type-specific AST node.boolean
visit
(NormalAnnotation node) Visits the given type-specific AST node.boolean
visit
(NullLiteral node) Visits the given type-specific AST node.boolean
visit
(NullPattern node) Visits the given type-specific AST node.boolean
visit
(NumberLiteral node) Visits the given type-specific AST node.boolean
visit
(OpensDirective node) Visits the given type-specific AST node.boolean
visit
(PackageDeclaration node) Visits the given type-specific AST node.boolean
visit
(ParameterizedType node) Visits the given type-specific AST node.boolean
visit
(ParenthesizedExpression node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(PostfixExpression node) Visits the given type-specific AST node.boolean
visit
(PrefixExpression node) Visits the given type-specific AST node.boolean
visit
(PrimitiveType node) Visits the given type-specific AST node.boolean
visit
(ProvidesDirective node) Visits the given type-specific AST node.boolean
visit
(QualifiedName node) Visits the given type-specific AST node.boolean
visit
(QualifiedType node) Visits the given type-specific AST node.boolean
visit
(RecordDeclaration node) Visits the given type-specific AST node.boolean
visit
(RecordPattern node) Visits the given type-specific AST node.boolean
visit
(RequiresDirective node) Visits the given type-specific AST node.boolean
visit
(ReturnStatement node) Visits the given type-specific AST node.boolean
visit
(SimpleName node) Visits the given type-specific AST node.boolean
visit
(SimpleType node) Visits the given type-specific AST node.boolean
visit
(SingleMemberAnnotation node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(StringFragment node) Visits the given type-specific AST node.boolean
visit
(StringLiteral node) Visits the given type-specific AST node.boolean
visit
(StringTemplateComponent node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(SuperFieldAccess node) Visits the given type-specific AST node.boolean
visit
(SuperMethodInvocation node) Visits the given type-specific AST node.boolean
visit
(SuperMethodReference node) Visits the given type-specific AST node.boolean
visit
(SwitchCase node) Visits the given type-specific AST node.boolean
visit
(SwitchExpression node) Visits the given type-specific AST node.boolean
visit
(SwitchStatement node) Visits the given type-specific AST node.boolean
visit
(SynchronizedStatement node) Visits the given type-specific AST node.boolean
visit
(TagElement node) Visits the given type-specific AST node.boolean
visit
(TagProperty node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(TextElement node) Visits the given type-specific AST node.boolean
visit
(ThisExpression node) Visits the given type-specific AST node.boolean
visit
(ThrowStatement node) Visits the given type-specific AST node.boolean
visit
(TryStatement node) Visits the given type-specific AST node.boolean
visit
(TypeDeclaration node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(TypeLiteral node) Visits the given type-specific AST node.boolean
visit
(TypeMethodReference node) Visits the given type-specific AST node.boolean
visit
(TypeParameter node) Visits the given type-specific AST node.boolean
visit
(TypePattern node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(UsesDirective node) Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit
(WhileStatement node) Visits the given type-specific AST node.boolean
visit
(WildcardType node) Visits the given type-specific AST node.boolean
visit
(YieldStatement node) Visits the given type-specific AST node.
-
Constructor Details
-
ASTVisitor
public ASTVisitor()Creates a new AST visitor instance.For backwards compatibility, the visitor does not visit tag elements below doc comments by default. Use
ASTVisitor(true)
for an visitor that includes doc comments by default. -
ASTVisitor
public ASTVisitor(boolean visitDocTags) Creates a new AST visitor instance.- Parameters:
visitDocTags
-true
if doc comment tags are to be visited by default, andfalse
otherwise- Since:
- 3.0
- See Also:
-
-
Method Details
-
preVisit
Visits the given AST node prior to the type-specific visit (beforevisit
).The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- See Also:
-
preVisit2
Visits the given AST node prior to the type-specific visit (beforevisit
).The default implementation calls
preVisit(ASTNode)
and then returns true. Subclasses may reimplement.- Parameters:
node
- the node to visit- Returns:
true
ifvisit(node)
should be called, andfalse
otherwise.- Since:
- 3.5
- See Also:
-
postVisit
Visits the given AST node following the type-specific visit (afterendVisit
).The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
Note:
LineComment
andBlockComment
nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.28
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.28
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given AST node.Unlike other node types, the boolean returned by the default implementation is controlled by a constructor-supplied parameter
ASTVisitor(boolean)
which isfalse
by default. Subclasses may reimplement.- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- See Also:
-
visit
Visits the given AST node.Unlike other node types, the boolean returned by the default implementation is controlled by a constructor-supplied parameter
ASTVisitor(boolean)
which isfalse
by default. Subclasses may reimplement.- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.30
- See Also:
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.31
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
Note:
LineComment
andBlockComment
nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.28
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.26
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Restriction:
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.22
- Restriction:
- This method is not intended to be referenced by clients.
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.32
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.38
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.24
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.30
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.24
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.0
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.10
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.28
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.7.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.14
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.1
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.24
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
visit
Visits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Parameters:
implicitTypeDeclaration
- the ImplicitTypeDeclaration to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Since:
- 3.38
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
Note:
LineComment
andBlockComment
nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.28
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.28
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.30
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.32
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
Note:
LineComment
andBlockComment
nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.28
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.26
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Restriction:
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may re implement.
- Parameters:
node
- the node to visit- Since:
- 3.22
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may re implement.
- Parameters:
node
- the node to visit- Since:
- 3.31
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may re implement.
- Parameters:
node
- the node to visit- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.18
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.30
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.24
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.0
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.28
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.7.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.14
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.10
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.1
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.24
-
endVisit
- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
- Since:
- 3.37
- Restriction:
- This method is not intended to be referenced by clients.
-
endVisit
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Parameters:
node
- the node to visit- Since:
- 3.38
-