IASTEqualsInitializer
.@Deprecated public interface IASTInitializerExpression extends IASTEqualsInitializer
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
INITIALIZER_EXPRESSION
Deprecated.
INITIALIZER_EXPRESSION represents the relationship between
an IASTInitializerExpression . and its IASTExpression. |
INITIALIZER
EMPTY_INITIALIZER_ARRAY
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IASTInitializerExpression |
copy()
Deprecated.
Returns a mutable copy of the tree rooted at this node.
|
IASTInitializerExpression |
copy(IASTNode.CopyStyle style)
Deprecated.
Returns a mutable copy of the tree rooted at this node.
|
IASTExpression |
getExpression()
Deprecated.
Get the expression for the initializer.
|
void |
setExpression(IASTExpression expression)
Deprecated.
Set the initializer's expression.
|
getInitializerClause, setInitializerClause
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final ASTNodeProperty INITIALIZER_EXPRESSION
INITIALIZER_EXPRESSION
represents the relationship between
an IASTInitializerExpression
. and its
IASTExpression.IASTExpression getExpression()
IASTExpression
void setExpression(IASTExpression expression)
expression
- IASTExpression
IASTInitializerExpression copy()
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
Calling this method is equivalent to copy(CopyStyle.withoutLocations)
.
copy
in interface IASTInitializer
copy
in interface IASTNode
IASTInitializerExpression copy(IASTNode.CopyStyle style)
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor 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
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.