Java org.eclipse.jdt.core.dom WhileStatement fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom WhileStatement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom WhileStatement.

The text is from its open source code.

Field

ChildPropertyDescriptorBODY_PROPERTY
The "body" structural property of this node type (child type: Statement ).

Constructor

WhileStatement(AST ast)
Creates a new unparented while statement node owned by the given AST.

Method

voiddelete()
Removes this node from its parent.
StatementgetBody()
Returns the body of this while statement.
ExpressiongetExpression()
Returns the expression of this while statement.
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
intgetNodeType()
Returns an integer value identifying the type of this concrete AST node.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
voidsetBody(Statement statement)
Sets the body of this while statement.
voidsetExpression(Expression expression)
Sets the expression of this while statement.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.