org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model.deep
Interface CsmLoopStatement

All Superinterfaces:
CsmObject, CsmOffsetable, CsmScope, CsmScopeElement, CsmStatement
All Known Subinterfaces:
CsmForStatement

public interface CsmLoopStatement
extends CsmStatement, CsmScope

Represents while(), do ... while() and for() statements (for statement has a specialized interface)


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
CsmStatement.Kind
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
CsmOffsetable.Position
 
Method Summary
 CsmStatement getBody()
          Gets a statement, which is performed in the case condition returns true
 CsmCondition getCondition()
          Gets condition
 boolean isPostCheck()
          Distinguishes pre check and post check.
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
getKind
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
getContainingFile, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScopeElement
getScope
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScope
getScopeElements
 

Method Detail

getCondition

CsmCondition getCondition()
Gets condition


getBody

CsmStatement getBody()
Gets a statement, which is performed in the case condition returns true


isPostCheck

boolean isPostCheck()
Distinguishes pre check and post check. Returns true in the case of post-check (i.e. for do ... while statement), otherwise false.


org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 193 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close