Klasse CommentsPreparator
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCommentsPreparator(TokenManager tm, DefaultCodeFormatterOptions options, String sourceLevel) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidEnd of visit the given type-specific AST node.voidendVisit(TagElement node) End of visit the given type-specific AST node.voidfinishUp()voidhandleBlockComment(int commentIndex) voidhandleLineComment(int commentIndex) booleanVisits the given AST node prior to the type-specific visit (beforevisit).booleanvisit(BlockComment node) Visits the given type-specific AST node.booleanVisits the given AST node.booleanvisit(LineComment node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(QualifiedName node) Visits the given type-specific AST node.booleanvisit(TagElement node) Visits the given type-specific AST node.Von Klasse geerbte Methoden 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, postVisit, preVisit, 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, 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, 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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Felddetails
-
COMMENT_LINE_SEPARATOR_LENGTH
public static final int COMMENT_LINE_SEPARATOR_LENGTH- Siehe auch:
-
-
Konstruktordetails
-
CommentsPreparator
-
-
Methodendetails
-
preVisit2
Beschreibung aus Klasse kopiert:ASTVisitorVisits the given AST node prior to the type-specific visit (beforevisit).The default implementation calls
ASTVisitor.preVisit(ASTNode)and then returns true. Subclasses may reimplement.- Setzt außer Kraft:
preVisit2in KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueifvisit(node)should be called, andfalseotherwise.- Siehe auch:
-
visit
Beschreibung aus Klasse kopiert: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.- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
handleLineComment
public void handleLineComment(int commentIndex) -
visit
Beschreibung aus Klasse kopiert: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.- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
handleBlockComment
public void handleBlockComment(int commentIndex) -
visit
Beschreibung aus Klasse kopiert: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.- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped- Siehe auch:
-
endVisit
Beschreibung aus Klasse kopiert:ASTVisitorEnd of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Setzt außer Kraft:
endVisitin KlasseASTVisitor- Parameter:
node- the node to visit
-
visit
Beschreibung aus Klasse kopiert:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
endVisit
Beschreibung aus Klasse kopiert:ASTVisitorEnd of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Setzt außer Kraft:
endVisitin KlasseASTVisitor- Parameter:
node- the node to visit
-
visit
Beschreibung aus Klasse kopiert:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Beschreibung aus Klasse kopiert:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Beschreibung aus Klasse kopiert:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visitin KlasseASTVisitor- Parameter:
node- the node to visit- Gibt zurück:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
finishUp
public void finishUp()
-