Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IASTNode

public interface IASTComment
extends IASTNode

This class represents a comment.


Field Summary
 
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, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Method Detail

setComment

public void setComment(char[] comment)
Set the comment.

Parameters:
comment -

getComment

public char[] getComment()
Return a char array representation of the comment.

Returns:
char array representation of the comment

isBlockComment

public boolean isBlockComment()
Return true if this is a blockcomment.

Returns:
true if this is a blockcomment

Eclipse CDT
Pre-release 3.0

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