public interface ICPPASTSimpleTypeConstructorExpression extends ICPPASTExpression
IASTExpression.ValueCategory
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
INITIALIZER |
static ASTNodeProperty |
INITIALIZER_VALUE
Deprecated.
Replaced by
INITIALIZER . |
static int |
t_bool
Deprecated.
Not used.
|
static int |
t_char
Deprecated.
Not used.
|
static int |
t_double
Deprecated.
Not used.
|
static int |
t_float
Deprecated.
Not used.
|
static int |
t_int
Deprecated.
Not used.
|
static int |
t_long
Deprecated.
Not used.
|
static int |
t_short
Deprecated.
Not used.
|
static int |
t_signed
Deprecated.
Not used.
|
static int |
t_unsigned
Deprecated.
Not used.
|
static int |
t_unspecified
Deprecated.
Not used.
|
static int |
t_void
Deprecated.
Not used.
|
static int |
t_wchar_t
Deprecated.
Not used.
|
static ASTNodeProperty |
TYPE_SPECIFIER |
EMPTY_EXPRESSION_ARRAY
EMPTY_NODE_ARRAY
IMPLICIT_DESTRUCTOR_NAME
Modifier and Type | Method and Description |
---|---|
ICPPASTSimpleTypeConstructorExpression |
copy()
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTSimpleTypeConstructorExpression |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTDeclSpecifier |
getDeclSpecifier()
Returns the declaration specifier that specifies the type.
|
IASTInitializer |
getInitializer()
Returns the argument for initialization.
|
IASTExpression |
getInitialValue()
Deprecated.
Replaced by
getInitializer() |
int |
getSimpleType()
Deprecated.
Replaced by
getDeclSpecifier() . |
void |
setDeclSpecifier(ICPPASTDeclSpecifier declSpec)
Not allowed on frozen ast.
|
void |
setInitializer(IASTInitializer initializer)
Not allowed on frozen ast.
|
void |
setInitialValue(IASTExpression expression)
Deprecated.
Replaced by
setInitializer(IASTInitializer) |
void |
setSimpleType(int value)
Deprecated.
Replaced by
setDeclSpecifier(ICPPASTDeclSpecifier) |
getExpressionType, getValueCategory, isLValue
getEvaluation
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getImplicitDestructorNames
static final ASTNodeProperty TYPE_SPECIFIER
static final ASTNodeProperty INITIALIZER
@Deprecated static final int t_unspecified
@Deprecated static final int t_void
@Deprecated static final int t_char
@Deprecated static final int t_int
@Deprecated static final int t_float
@Deprecated static final int t_double
@Deprecated static final int t_bool
@Deprecated static final int t_wchar_t
@Deprecated static final int t_short
@Deprecated static final int t_long
@Deprecated static final int t_signed
@Deprecated static final int t_unsigned
@Deprecated static final ASTNodeProperty INITIALIZER_VALUE
INITIALIZER
.ICPPASTDeclSpecifier getDeclSpecifier()
IASTInitializer getInitializer()
ICPPASTConstructorInitializer
or
ICPPASTInitializerList
ICPPASTSimpleTypeConstructorExpression 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 IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
ICPPASTSimpleTypeConstructorExpression 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 IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.void setDeclSpecifier(ICPPASTDeclSpecifier declSpec)
void setInitializer(IASTInitializer initializer)
@Deprecated int getSimpleType()
getDeclSpecifier()
.@Deprecated void setSimpleType(int value)
setDeclSpecifier(ICPPASTDeclSpecifier)
@Deprecated IASTExpression getInitialValue()
getInitializer()
@Deprecated void setInitialValue(IASTExpression expression)
setInitializer(IASTInitializer)
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.