Eclipse CDT
7.0

org.eclipse.cdt.core.dom.ast
Interface IASTComment

All Superinterfaces:
IASTNode

public interface IASTComment
extends IASTNode

This class represents a comment.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
 
Field Summary
static IASTComment[] EMPTY_COMMENT_ARRAY
           
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
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
 

Field Detail

EMPTY_COMMENT_ARRAY

static final IASTComment[] EMPTY_COMMENT_ARRAY
Since:
5.4
Method Detail

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

Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.