Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IASTInitializer, IASTNode

public interface IASTInitializerExpression
extends IASTInitializer

This is an initializer that is simply an expression.


Field Summary
static ASTNodeProperty INITIALIZER_EXPRESSION
          INITIALIZER_EXPRESSION represents the relationship between an IASTInitializerExpression. and its IASTExpression.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTInitializer
EMPTY_INITIALIZER_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTExpression getExpression()
          Get the expression for the initializer.
 void setExpression(IASTExpression expression)
          Set the initializer's expression.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

INITIALIZER_EXPRESSION

static final ASTNodeProperty INITIALIZER_EXPRESSION
INITIALIZER_EXPRESSION represents the relationship between an IASTInitializerExpression. and its IASTExpression.

Method Detail

getExpression

IASTExpression getExpression()
Get the expression for the initializer.

Returns:
IASTExpression

setExpression

void setExpression(IASTExpression expression)
Set the initializer's expression.

Parameters:
expression - IASTExpression

Eclipse CDT
Pre-release 3.0

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