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

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

All Superinterfaces:
CsmLoopStatement, CsmObject, CsmOffsetable, CsmScope, CsmScopeElement, CsmStatement

public interface CsmForStatement
extends CsmLoopStatement

Represents for statement


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 getInitStatement()
          Gets initialization statement; for example, for statement for( int i = 0; i < cnt; i++ ) { ...
 CsmExpression getIterationExpression()
          Gets iteration expression; for example, for statement for( int i = 0; i < cnt; i++ ) { ...
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmLoopStatement
getBody, getCondition, isPostCheck
 
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

getInitStatement

CsmStatement getInitStatement()
Gets initialization statement; for example, for statement for( int i = 0; i < cnt; i++ ) { ... } will return the statement "int i=0"


getIterationExpression

CsmExpression getIterationExpression()
Gets iteration expression; for example, for statement for( int i = 0; i < cnt; i++ ) { ... } will return the expression "i++"


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 194 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