Class AjNaiveASTFlattener
Example usage:
NaiveASTFlattener p = new NaiveASTFlattener();
node.accept(p);
String result = p.getResult();
Call the reset method to clear the previous result before reusing an
existing instance.
- Since:
- 2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringBufferThe string buffer into which the serialized representation of the AST is written. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the string accumulated in the visit.voidreset()Resets this printer so that it can be used again.booleanbooleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(AnyTypePattern node) booleanbooleanvisit(ArrayAccess node) Visits the given type-specific AST node.booleanvisit(ArrayCreation node) Visits the given type-specific AST node.booleanvisit(ArrayInitializer node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(AssertStatement node) Visits the given type-specific AST node.booleanvisit(Assignment node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(BlockComment node) Visits the given type-specific AST node.booleanvisit(BooleanLiteral node) Visits the given type-specific AST node.booleanvisit(BreakStatement node) Visits the given type-specific AST node.booleanvisit(CastExpression node) Visits the given type-specific AST node.booleanvisit(CatchClause node) Visits the given type-specific AST node.booleanvisit(CharacterLiteral node) Visits the given type-specific AST node.booleanvisit(ClassInstanceCreation node) Visits the given type-specific AST node.booleanvisit(CompilationUnit node) Visits the given type-specific AST node.booleanvisit(ConditionalExpression node) Visits the given type-specific AST node.booleanvisit(ConstructorInvocation node) Visits the given type-specific AST node.booleanvisit(ContinueStatement node) Visits the given type-specific AST node.booleanvisit(DeclareErrorDeclaration node) booleanbooleanbooleanvisit(DeclareSoftDeclaration node) booleanbooleanvisit(DefaultPointcut node) booleanvisit(DoStatement node) Visits the given type-specific AST node.booleanvisit(EllipsisTypePattern node) booleanvisit(EmptyStatement node) Visits the given type-specific AST node.booleanvisit(EnhancedForStatement node) Visits the given type-specific AST node.booleanvisit(EnumConstantDeclaration node) Visits the given type-specific AST node.booleanvisit(EnumDeclaration node) Visits the given type-specific AST node.booleanvisit(ExpressionStatement node) Visits the given type-specific AST node.booleanvisit(FieldAccess node) Visits the given type-specific AST node.booleanvisit(FieldDeclaration node) Visits the given type-specific AST node.booleanvisit(ForStatement node) Visits the given type-specific AST node.booleanvisit(HasMemberTypePattern node) booleanvisit(IdentifierTypePattern node) booleanvisit(IfStatement node) Visits the given type-specific AST node.booleanvisit(ImportDeclaration node) Visits the given type-specific AST node.booleanvisit(InfixExpression node) Visits the given type-specific AST node.booleanvisit(Initializer node) Visits the given type-specific AST node.booleanvisit(InstanceofExpression node) Visits the given type-specific AST node.booleanVisits the given AST node.booleanvisit(LabeledStatement node) Visits the given type-specific AST node.booleanvisit(LineComment node) Visits the given type-specific AST node.booleanvisit(MarkerAnnotation node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(MemberValuePair node) Visits the given type-specific AST node.booleanvisit(MethodDeclaration node) Visits the given type-specific AST node.booleanvisit(MethodInvocation node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(MethodRefParameter node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(NormalAnnotation node) Visits the given type-specific AST node.booleanvisit(NotTypePattern node) booleanvisit(NoTypePattern node) booleanvisit(NullLiteral node) Visits the given type-specific AST node.booleanvisit(NumberLiteral node) Visits the given type-specific AST node.booleanvisit(PackageDeclaration node) Visits the given type-specific AST node.booleanvisit(ParameterizedType node) Visits the given type-specific AST node.booleanvisit(ParenthesizedExpression node) Visits the given type-specific AST node.booleanvisit(PointcutDeclaration node) booleanvisit(PostfixExpression node) Visits the given type-specific AST node.booleanvisit(PrefixExpression node) Visits the given type-specific AST node.booleanvisit(PrimitiveType node) Visits the given type-specific AST node.booleanvisit(QualifiedName node) Visits the given type-specific AST node.booleanvisit(QualifiedType node) Visits the given type-specific AST node.booleanvisit(ReturnStatement node) Visits the given type-specific AST node.booleanvisit(SimpleName node) Visits the given type-specific AST node.booleanvisit(SimpleType node) Visits the given type-specific AST node.booleanvisit(SingleMemberAnnotation node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(StringLiteral node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(SuperFieldAccess node) Visits the given type-specific AST node.booleanvisit(SuperMethodInvocation node) Visits the given type-specific AST node.booleanvisit(SwitchCase node) Visits the given type-specific AST node.booleanvisit(SwitchStatement node) Visits the given type-specific AST node.booleanvisit(SynchronizedStatement node) Visits the given type-specific AST node.booleanvisit(TagElement node) Visits the given type-specific AST node.booleanvisit(TextElement node) Visits the given type-specific AST node.booleanvisit(ThisExpression node) Visits the given type-specific AST node.booleanvisit(ThrowStatement node) Visits the given type-specific AST node.booleanvisit(TryStatement node) Visits the given type-specific AST node.booleanvisit(TypeCategoryTypePattern node) booleanvisit(TypeDeclaration node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(TypeLiteral node) Visits the given type-specific AST node.booleanvisit(TypeParameter node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(WhileStatement node) Visits the given type-specific AST node.booleanvisit(WildcardType node) Visits the given type-specific AST node.Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.AjASTVisitor
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from class org.aspectj.org.eclipse.jdt.core.dom.ASTVisitor
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, postVisit, preVisit, preVisit2, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
buffer
The string buffer into which the serialized representation of the AST is written.
-
-
Constructor Details
-
AjNaiveASTFlattener
public AjNaiveASTFlattener()Creates a new AST printer.
-
-
Method Details
-
getResult
-
reset
public void reset()Resets this printer so that it can be used again. -
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
Note:
LineCommentandBlockCommentnodes 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.- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits 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 isfalseby default. Subclasses may reimplement.- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped- See Also:
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
Note:
LineCommentandBlockCommentnodes 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.- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-
visit
- Overrides:
visitin classAjASTVisitor
-