Klasse CommentsPreparator
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungCommentsPreparator
(TokenManager tm, DefaultCodeFormatterOptions options, String sourceLevel) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
End of visit the given type-specific AST node.void
endVisit
(TagElement node) End of visit the given type-specific AST node.void
finishUp()
void
handleBlockComment
(int commentIndex) void
handleLineComment
(int commentIndex) boolean
Visits the given AST node prior to the type-specific visit (beforevisit
).boolean
visit
(BlockComment node) Visits the given type-specific AST node.boolean
Visits the given AST node.boolean
visit
(LineComment 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
(QualifiedName node) Visits the given type-specific AST node.boolean
visit
(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:ASTVisitor
Visits 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:
preVisit2
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
ifvisit(node)
should be called, andfalse
otherwise.- Siehe auch:
-
visit
Beschreibung aus Klasse kopiert:ASTVisitor
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.- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
handleLineComment
public void handleLineComment(int commentIndex) -
visit
Beschreibung aus Klasse kopiert:ASTVisitor
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.- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
handleBlockComment
public void handleBlockComment(int commentIndex) -
visit
Beschreibung aus Klasse kopiert:ASTVisitor
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.- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped- Siehe auch:
-
endVisit
Beschreibung aus Klasse kopiert:ASTVisitor
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
- Parameter:
node
- the node to visit
-
visit
Beschreibung aus Klasse kopiert:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
endVisit
Beschreibung aus Klasse kopiert:ASTVisitor
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
- Parameter:
node
- the node to visit
-
visit
Beschreibung aus Klasse kopiert:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Beschreibung aus Klasse kopiert:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Beschreibung aus Klasse kopiert:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Setzt außer Kraft:
visit
in KlasseASTVisitor
- Parameter:
node
- the node to visit- Gibt zurück:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
finishUp
public void finishUp()
-