Package org.eclipse.cdt.core.dom.ast.cpp
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 org.eclipse.cdt.core.dom.ast.IASTExpression
IASTExpression.ValueCategoryNested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.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 org.eclipse.cdt.core.dom.ast.IASTExpression
EMPTY_EXPRESSION_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.IASTImplicitDestructorNameOwner
IMPLICIT_DESTRUCTOR_NAMEFields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
r_declaration, r_definition, r_reference, r_unclearFields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.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 org.eclipse.cdt.core.dom.ast.IASTExpression
getExpressionType, getValueCategory, isLValueMethods inherited from interface org.eclipse.cdt.core.dom.ast.IASTImplicitDestructorNameOwner
getImplicitDestructorNamesMethods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
getRoleForNameMethods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTInitializerClause
getEvaluationMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression
copy, getDeclSpecifier, getInitializer, getSimpleType, setDeclSpecifier, setInitializer, setSimpleType
-
Field Details
-
TYPENAME
Deprecated.TYPENAMEis the name of the type. -
INITIAL_VALUE
Deprecated.INITIAL_VALUEis an expression.
-
-
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
Deprecated.Set the name.- Parameters:
name-IASTName
-
getName
IASTName getName()Deprecated.Get the name.- Returns:
IASTName
-
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.