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

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

All Superinterfaces:
CsmObject, CsmScope

public interface CsmSwitchStatement
extends CsmScope

Represents switch statement; getCodeBlock().getStatements() returns the list of the statements; TODO: perhaps it isn't worth to subclass CsmCompoundStatement and we'd better add a separate member getStatements(). TODO: perhaps we should provide some higher level of service for determining the groups of statements for each case


Method Summary
 CsmStatement getBody()
          gets swithc body
 CsmCondition getCondition()
          gets switch condition
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScope
getScopeElements
 

Method Detail

getCondition

CsmCondition getCondition()
gets switch condition


getBody

CsmStatement getBody()
gets swithc body


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