Example usage for Java org.eclipse.jdt.core.dom WhileStatement fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | BODY_PROPERTY The "body" structural property of this node type (child type: Statement ). |
WhileStatement(AST ast) Creates a new unparented while statement node owned by the given AST. |
void | delete() Removes this node from its parent. |
Statement | getBody() Returns the body of this while statement. |
Expression | getExpression() Returns the expression of this while statement. |
int | getLength() Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends. |
int | getNodeType() Returns an integer value identifying the type of this concrete AST node. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
void | setBody(Statement statement) Sets the body of this while statement. |
void | setExpression(Expression expression) Sets the expression of this while statement. |
void | setSourceRange(int startPosition, int length) Sets the source range of the original source file where the source fragment corresponding to this node was found. |
String | toString() Returns a string representation of this node suitable for debugging purposes only. |