Interface ICPPASTTypenameExpression
- All Superinterfaces:
IASTExpression, IASTImplicitDestructorNameOwner, IASTInitializerClause, IASTNameOwner, IASTNode, ICPPASTExpression, ICPPASTInitializerClause, ICPPASTSimpleTypeConstructorExpression
@Deprecated
public interface ICPPASTTypenameExpression
extends ICPPASTSimpleTypeConstructorExpression, IASTNameOwner
Deprecated.
- Restriction:
- This interface is not intended to be referenced by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface IASTExpression
IASTExpression.ValueCategoryNested classes/interfaces inherited from interface IASTNode
IASTNode.CopyStyle -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ASTNodePropertyDeprecated.INITIAL_VALUEis an expression.static final ASTNodePropertyDeprecated.TYPENAMEis the name of the type.Fields inherited from interface IASTExpression
EMPTY_EXPRESSION_ARRAYFields inherited from interface IASTImplicitDestructorNameOwner
IMPLICIT_DESTRUCTOR_NAMEFields inherited from interface IASTNameOwner
r_declaration, r_definition, r_reference, r_unclearFields inherited from interface IASTNode
EMPTY_NODE_ARRAYFields inherited from interface ICPPASTSimpleTypeConstructorExpression
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 -
Method Summary
Modifier and TypeMethodDescriptioncopy()Deprecated.Returns a mutable copy of the tree rooted at this node.Deprecated.Get initial value.getName()Deprecated.Get the name.booleanDeprecated.Was template token consumed?voidsetInitialValue(IASTExpression expressionList) Deprecated.Set initial value.voidsetIsTemplate(boolean templateTokenConsumed) Deprecated.Was template token consumed?voidDeprecated.Set the name.Methods inherited from interface IASTExpression
getExpressionType, getValueCategory, isLValueMethods inherited from interface IASTImplicitDestructorNameOwner
getImplicitDestructorNamesMethods inherited from interface IASTNameOwner
getRoleForNameMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentMethods inherited from interface ICPPASTInitializerClause
getEvaluationMethods inherited from interface ICPPASTSimpleTypeConstructorExpression
copy, getDeclSpecifier, getInitializer, getSimpleType, setDeclSpecifier, setInitializer, setSimpleType
-
Field Details
-
TYPENAME
-
INITIAL_VALUE
-
-
Method Details
-
setIsTemplate
void setIsTemplate(boolean templateTokenConsumed) Deprecated.Was template token consumed?- Parameters:
templateTokenConsumed- boolean
-
isTemplate
boolean isTemplate()Deprecated.Was template token consumed?- Returns:
- boolean
-
setName
-
getName
-
setInitialValue
Deprecated.Set initial value.- Specified by:
setInitialValuein interfaceICPPASTSimpleTypeConstructorExpression- Parameters:
expressionList-IASTExpression
-
getInitialValue
IASTExpression getInitialValue()Deprecated.Get initial value.- Specified by:
getInitialValuein interfaceICPPASTSimpleTypeConstructorExpression- Returns:
IASTExpression
-
copy
ICPPASTTypenameExpression copy()Deprecated.Description copied from interface:IASTNodeReturns 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.Calling this method is equivalent to
copy(CopyStyle.withoutLocations).- Specified by:
copyin interfaceIASTExpression- Specified by:
copyin interfaceIASTInitializerClause- Specified by:
copyin interfaceIASTNode- Specified by:
copyin interfaceICPPASTSimpleTypeConstructorExpression- Since:
- 5.1
-
ICPPASTSimpleTypeConstructorExpression.