Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IASTReturnStatement

All Superinterfaces:
IASTNode, IASTStatement

public interface IASTReturnStatement
extends IASTStatement


Field Summary
static ASTNodeProperty RETURNVALUE
          RETURNVALUE represents the relationship between an IASTReturnStatement and it's nested IASTExpression.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTStatement
EMPTY_STATEMENT_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTExpression getReturnValue()
          This is the optional return value for this function.
 void setReturnValue(IASTExpression returnValue)
          Set the return value.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

RETURNVALUE

static final ASTNodeProperty RETURNVALUE
RETURNVALUE represents the relationship between an IASTReturnStatement and it's nested IASTExpression.

Method Detail

getReturnValue

IASTExpression getReturnValue()
This is the optional return value for this function.

Returns:
the return expression or null.

setReturnValue

void setReturnValue(IASTExpression returnValue)
Set the return value.

Parameters:
returnValue - IASTExpression

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.