|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTConstructorChainInitializer
class X { int a; X(); }; X::X : a(0) {} // a(0) is a constructor chain initializer.
Field Summary | |
---|---|
static ICPPASTConstructorChainInitializer[] |
EMPTY_CONSTRUCTORCHAININITIALIZER_ARRAY
Constant. |
static ASTNodeProperty |
INITIALIZER
Expression field is being initialized to. |
static ASTNodeProperty |
MEMBER_ID
MEMBER_ID represents the class field name being
initialized. |
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 |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
r_declaration, r_definition, r_reference, r_unclear |
Method Summary | |
---|---|
ICPPASTConstructorChainInitializer |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getInitializerValue()
Get the initializer value. |
IASTName |
getMemberInitializerId()
Get the field name. |
void |
setInitializerValue(IASTExpression expression)
Set the initializer value. |
void |
setMemberInitializerId(IASTName name)
Set the field name. |
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 |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final ICPPASTConstructorChainInitializer[] EMPTY_CONSTRUCTORCHAININITIALIZER_ARRAY
static final ASTNodeProperty MEMBER_ID
MEMBER_ID
represents the class field name being
initialized.
static final ASTNodeProperty INITIALIZER
Expression field is being initialized to.
Method Detail |
---|
IASTName getMemberInitializerId()
IASTName
void setMemberInitializerId(IASTName name)
name
- IASTName
IASTExpression getInitializerValue()
IASTExpression
void setInitializerValue(IASTExpression expression)
expression
- IASTExpression
ICPPASTConstructorChainInitializer copy()
IASTNode
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.
copy
in interface IASTInitializer
copy
in interface IASTNode
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |