Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTConstructorInitializer

All Superinterfaces:
IASTInitializer, IASTNode

public interface ICPPASTConstructorInitializer
extends IASTInitializer

This is an initializer that is a call to the constructor for the declarator.


Field Summary
static ASTNodeProperty EXPRESSION
          EXPRESSION represents the expression being conusmed in a constructor.
 
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
 ICPPASTConstructorInitializer copy()
          Returns a mutable copy of the tree rooted at this node.
 IASTExpression getExpression()
          Get the arguments to the constructor.
 void setExpression(IASTExpression expression)
          Set the arguments to the constructor.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
 

Field Detail

EXPRESSION

static final ASTNodeProperty EXPRESSION
EXPRESSION represents the expression being conusmed in a constructor.

Method Detail

getExpression

IASTExpression getExpression()
Get the arguments to the constructor.

Returns:
IASTExpression

setExpression

void setExpression(IASTExpression expression)
Set the arguments to the constructor.

Parameters:
expression -

copy

ICPPASTConstructorInitializer copy()
Description copied from interface: IASTNode
Returns a mutable copy of the tree rooted at this node. The following postconditions hold: copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == false Preprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.

Specified by:
copy in interface IASTInitializer
Specified by:
copy in interface IASTNode
Since:
5.1

Eclipse CDT
Pre-release 3.0

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