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.Unified withICPPASTSimpleTypeConstructorExpression.- 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.ValueCategory
-
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
-
-
Field Summary
Fields Modifier and Type Field Description static ASTNodePropertyINITIAL_VALUEDeprecated.INITIAL_VALUEis an expression.static ASTNodePropertyTYPENAMEDeprecated.TYPENAMEis the name of the type.-
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression
EMPTY_EXPRESSION_ARRAY
-
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTImplicitDestructorNameOwner
IMPLICIT_DESTRUCTOR_NAME
-
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
r_declaration, r_definition, r_reference, r_unclear
-
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
-
Fields 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ICPPASTTypenameExpressioncopy()Deprecated.Returns a mutable copy of the tree rooted at this node.IASTExpressiongetInitialValue()Deprecated.Get initial value.IASTNamegetName()Deprecated.Get the name.booleanisTemplate()Deprecated.Was template token consumed?voidsetInitialValue(IASTExpression expressionList)Deprecated.Set initial value.voidsetIsTemplate(boolean templateTokenConsumed)Deprecated.Was template token consumed?voidsetName(IASTName name)Deprecated.Set the name.-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression
getExpressionType, getValueCategory, isLValue
-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTImplicitDestructorNameOwner
getImplicitDestructorNames
-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
getRoleForName
-
Methods 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, setPropertyInParent
-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTInitializerClause
getEvaluation
-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleTypeConstructorExpression
copy, getDeclSpecifier, getInitializer, getSimpleType, setDeclSpecifier, setInitializer, setSimpleType
-
-
-
-
Field Detail
-
TYPENAME
static final ASTNodeProperty TYPENAME
Deprecated.TYPENAMEis the name of the type.
-
INITIAL_VALUE
static final ASTNodeProperty INITIAL_VALUE
Deprecated.INITIAL_VALUEis an expression.
-
-
Method Detail
-
setIsTemplate
void setIsTemplate(boolean templateTokenConsumed)
Deprecated.Was template token consumed?- Parameters:
templateTokenConsumed- boolean
-
isTemplate
boolean isTemplate()
Deprecated.Was template token consumed?- Returns:
- boolean
-
setName
void setName(IASTName name)
Deprecated.Set the name.- Parameters:
name-IASTName
-
getName
IASTName getName()
Deprecated.Get the name.- Returns:
IASTName
-
setInitialValue
void setInitialValue(IASTExpression expressionList)
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
-
-