Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTWhileStatement

All Superinterfaces:
IASTNode, IASTStatement, IASTWhileStatement

public interface ICPPASTWhileStatement
extends IASTWhileStatement

This inteface accommodates C++ allows for broader while loop syntax.


Field Summary
static ASTNodeProperty CONDITIONDECLARATION
          In C++ conditions can be declarations w/side effects.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTWhileStatement
BODY, CONDITIONEXPRESSION
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTStatement
EMPTY_STATEMENT_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTDeclaration getConditionDeclaration()
          Get the condition declaration.
 IScope getScope()
          Get the IScope represented by this while.
 void setConditionDeclaration(IASTDeclaration declaration)
          Set the condition declaration.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTWhileStatement
getBody, getCondition, setBody, setCondition
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

CONDITIONDECLARATION

static final ASTNodeProperty CONDITIONDECLARATION
In C++ conditions can be declarations w/side effects.

Method Detail

getConditionDeclaration

IASTDeclaration getConditionDeclaration()
Get the condition declaration.

Returns:
IASTDeclaration

setConditionDeclaration

void setConditionDeclaration(IASTDeclaration declaration)
Set the condition declaration.

Parameters:
declaration - IASTDeclaration

getScope

IScope getScope()
Get the IScope represented by this while.

Returns:
IScope

Eclipse CDT
Pre-release 3.0

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