org.apache.tuscany.sca.cpp.tools.common
Class BodyPart

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.common.BodyPart

public class BodyPart
extends java.lang.Object

A snippet of C or C++ source code. If this snippet ends with a return statement, this body part also contains the return value.


Field Summary
static int CATCH
           
static int RETURN
           
static int TRAILING
           
 
Method Summary
 Parameter getCaughtValue()
           
 java.lang.String getCodeFragment()
           
 java.lang.String getReturnValue()
           
 boolean isCatch()
           
 boolean isReturn()
           
 boolean isTrailing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRAILING

public static final int TRAILING
See Also:
Constant Field Values

RETURN

public static final int RETURN
See Also:
Constant Field Values

CATCH

public static final int CATCH
See Also:
Constant Field Values
Method Detail

getCodeFragment

public java.lang.String getCodeFragment()

isTrailing

public boolean isTrailing()

isReturn

public boolean isReturn()

isCatch

public boolean isCatch()

getReturnValue

public java.lang.String getReturnValue()

getCaughtValue

public Parameter getCaughtValue()


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved