org.eclipse.cdt.core.dom.ast
Interface IASTComment
- All Superinterfaces:
- IASTNode
public interface IASTComment
- extends IASTNode
This class represents a comment.
Method Summary |
char[] |
getComment()
Return a char array representation of the comment. |
boolean |
isBlockComment()
Return true if this is a blockcomment. |
void |
setComment(char[] comment)
Set the comment. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
EMPTY_COMMENT_ARRAY
static final IASTComment[] EMPTY_COMMENT_ARRAY
- Since:
- 5.4
setComment
void setComment(char[] comment)
- Set the comment.
- Parameters:
comment
-
getComment
char[] getComment()
- Return a char array representation of the comment.
- Returns:
- char array representation of the comment
isBlockComment
boolean isBlockComment()
- Return true if this is a blockcomment.
- Returns:
- true if this is a blockcomment
Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.