Source code file content

Revision: 2

import
» Project Revision History

» Checkout URL

web-content / trunk / docs / org-netbeans-modules-cnd-api-model / org / netbeans / modules / cnd / api / model / deep / CsmStatement.html

Size: 16734 bytes, 1 line
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_11) on Fri Nov 23 00:33:21 MSK 2007 -->
<TITLE>
CsmStatement (C/C++ Code Model API)
</TITLE>

<META NAME="keywords" CONTENT="org.netbeans.modules.cnd.api.model.deep.CsmStatement interface">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../javadoc.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="CsmStatement (C/C++ Code Model API)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CsmStatement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
org.netbeans.modules.cnd.api.model/1 1.3 1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmReturnStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.Kind.html" title="enum in org.netbeans.modules.cnd.api.model.deep"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../../index.html?org/netbeans/modules/cnd/api/model/deep/CsmStatement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CsmStatement.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.netbeans.modules.cnd.api.model.deep</FONT>
<BR>
Interface CsmStatement</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmObject.html" title="interface in org.netbeans.modules.cnd.api.model">CsmObject</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html" title="interface in org.netbeans.modules.cnd.api.model">CsmOffsetable</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmScopeElement.html" title="interface in org.netbeans.modules.cnd.api.model">CsmScopeElement</A></DD>
</DL>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmCaseStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmCaseStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmCompoundStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmCompoundStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmDeclarationStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmDeclarationStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmExceptionHandler.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmExceptionHandler</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmExpressionStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmExpressionStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmForStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmForStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmGotoStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmGotoStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmIfStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmIfStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmLabel.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmLabel</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmLoopStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmLoopStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmReturnStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmReturnStatement</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmTryCatchStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep">CsmTryCatchStatement</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>CsmStatement</B><DT>extends <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html" title="interface in org.netbeans.modules.cnd.api.model">CsmOffsetable</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmObject.html" title="interface in org.netbeans.modules.cnd.api.model">CsmObject</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmScopeElement.html" title="interface in org.netbeans.modules.cnd.api.model">CsmScopeElement</A></DL>
</PRE>

<P>
Represents some statement -
 acts as a common ancestor for each of the particular statement interfaces
<P>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.Kind.html" title="enum in org.netbeans.modules.cnd.api.model.deep">CsmStatement.Kind</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_org.netbeans.modules.cnd.api.model.CsmOffsetable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html" title="interface in org.netbeans.modules.cnd.api.model">CsmOffsetable</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.Position.html" title="interface in org.netbeans.modules.cnd.api.model">CsmOffsetable.Position</A></CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.Kind.html" title="enum in org.netbeans.modules.cnd.api.model.deep">CsmStatement.Kind</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.html#getKind()">getKind</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets this statement kind.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.netbeans.modules.cnd.api.model.CsmOffsetable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.netbeans.modules.cnd.api.model.<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html" title="interface in org.netbeans.modules.cnd.api.model">CsmOffsetable</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getContainingFile()">getContainingFile</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getEndOffset()">getEndOffset</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getEndPosition()">getEndPosition</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getStartOffset()">getStartOffset</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getStartPosition()">getStartPosition</A>, <A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmOffsetable.html#getText()">getText</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.netbeans.modules.cnd.api.model.CsmScopeElement"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.netbeans.modules.cnd.api.model.<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmScopeElement.html" title="interface in org.netbeans.modules.cnd.api.model">CsmScopeElement</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/CsmScopeElement.html#getScope()">getScope</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getKind()"><!-- --></A><H3>
getKind</H3>
<PRE>
<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.Kind.html" title="enum in org.netbeans.modules.cnd.api.model.deep">CsmStatement.Kind</A> <B>getKind</B>()</PRE>
<DL>
<DD>Gets this statement kind.
 Kind determines, which derived interface is implemented by the instance.

 Never use instanceof operator instead of checking kind 
 (you may use to just make sure that necessary interface is implemented,
 but first check the kind. For example, if a statement is an instance of CsmCompoundStatement,
 this does not mean, that this is really compound statement - it might be exceptoin handler 
 or conditional statement
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CsmStatement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
org.netbeans.modules.cnd.api.model/1 1.3 1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmReturnStatement.html" title="interface in org.netbeans.modules.cnd.api.model.deep"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/netbeans/modules/cnd/api/model/deep/CsmStatement.Kind.html" title="enum in org.netbeans.modules.cnd.api.model.deep"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../../index.html?org/netbeans/modules/cnd/api/model/deep/CsmStatement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CsmStatement.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<span class="footnote">Built on November 23 2007.&nbsp;&nbsp;|&nbsp;&nbsp;Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.</span><!-- Begin SiteCatalyst code --><script language="JavaScript" src="http://www.netbeans.org/images/js/s_code_remote.js"></script><!-- End SiteCatalyst code --><!-- Google webtracking analytics --><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript"> _uacct = "UA-198771-2"; urchinTracker();</script>
</BODY>
</HTML>

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 198 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