ICPPASTSimpleTypeConstructorExpression
.@Deprecated public interface ICPPASTTypenameExpression extends ICPPASTSimpleTypeConstructorExpression, IASTNameOwner
IASTExpression.ValueCategory
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
INITIAL_VALUE
Deprecated.
INITIAL_VALUE is an expression. |
static ASTNodeProperty |
TYPENAME
Deprecated.
TYPENAME is the name of the type. |
INITIALIZER, INITIALIZER_VALUE, t_bool, t_char, t_double, t_float, t_int, t_long, t_short, t_signed, t_unsigned, t_unspecified, t_void, t_wchar_t, TYPE_SPECIFIER
EMPTY_EXPRESSION_ARRAY
EMPTY_NODE_ARRAY
IMPLICIT_DESTRUCTOR_NAME
r_declaration, r_definition, r_reference, r_unclear
Modifier and Type | Method and Description |
---|---|
ICPPASTTypenameExpression |
copy()
Deprecated.
Returns a mutable copy of the tree rooted at this node.
|
IASTExpression |
getInitialValue()
Deprecated.
Get initial value.
|
IASTName |
getName()
Deprecated.
Get the name.
|
boolean |
isTemplate()
Deprecated.
Was template token consumed?
|
void |
setInitialValue(IASTExpression expressionList)
Deprecated.
Set initial value.
|
void |
setIsTemplate(boolean templateTokenConsumed)
Deprecated.
Was template token consumed?
|
void |
setName(IASTName name)
Deprecated.
Set the name.
|
copy, getDeclSpecifier, getInitializer, getSimpleType, setDeclSpecifier, setInitializer, setSimpleType
getExpressionType, getValueCategory, isLValue
getEvaluation
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getImplicitDestructorNames
getRoleForName
static final ASTNodeProperty TYPENAME
TYPENAME
is the name of the type.static final ASTNodeProperty INITIAL_VALUE
INITIAL_VALUE
is an expression.void setIsTemplate(boolean templateTokenConsumed)
templateTokenConsumed
- booleanboolean isTemplate()
void setName(IASTName name)
name
- IASTName
IASTName getName()
IASTName
void setInitialValue(IASTExpression expressionList)
setInitialValue
in interface ICPPASTSimpleTypeConstructorExpression
expressionList
- IASTExpression
IASTExpression getInitialValue()
getInitialValue
in interface ICPPASTSimpleTypeConstructorExpression
IASTExpression
ICPPASTTypenameExpression 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
copy
in interface ICPPASTSimpleTypeConstructorExpression
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.