Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTSimpleTypeConstructorExpression
- All Superinterfaces:
IASTExpression
,IASTImplicitDestructorNameOwner
,IASTInitializerClause
,IASTNode
,ICPPASTExpression
,ICPPASTInitializerClause
- All Known Subinterfaces:
ICPPASTTypenameExpression
Functional cast expressions:
simple-type-specifier (expression-list?)
simple-type-specifier braced-init-list
typename-specifier (expression-list?)
typename-specifier braced-init-list
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended 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
Modifier and TypeFieldDescriptionstatic final ASTNodeProperty
static final ASTNodeProperty
Deprecated.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final int
Deprecated.Not used.static final ASTNodeProperty
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.IASTNode
EMPTY_NODE_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a mutable copy of the tree rooted at this node.copy
(IASTNode.CopyStyle style) Returns a mutable copy of the tree rooted at this node.Returns the declaration specifier that specifies the type.Returns the argument for initialization.Deprecated.Replaced bygetInitializer()
int
Deprecated.Replaced bygetDeclSpecifier()
.void
setDeclSpecifier
(ICPPASTDeclSpecifier declSpec) Not allowed on frozen ast.void
setInitializer
(IASTInitializer initializer) Not allowed on frozen ast.void
setInitialValue
(IASTExpression expression) Deprecated.Replaced bysetInitializer(IASTInitializer)
void
setSimpleType
(int value) Deprecated.Replaced bysetDeclSpecifier(ICPPASTDeclSpecifier)
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.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
-
Field Details
-
TYPE_SPECIFIER
- Since:
- 5.2
-
INITIALIZER
- Since:
- 5.2
-
t_unspecified
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_void
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_char
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_int
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_float
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_double
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_bool
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_wchar_t
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_short
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_long
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_signed
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
t_unsigned
Deprecated.Not used.- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
INITIALIZER_VALUE
Deprecated.Replaced byINITIALIZER
.- Restriction:
- This field is not intended to be referenced by clients.
-
-
Method Details
-
getDeclSpecifier
ICPPASTDeclSpecifier getDeclSpecifier()Returns the declaration specifier that specifies the type.- Since:
- 5.2
-
getInitializer
IASTInitializer getInitializer()Returns the argument for initialization. Can beICPPASTConstructorInitializer
orICPPASTInitializerList
- Since:
- 5.2
-
copy
Description copied from interface:IASTNode
Returns 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:
copy
in interfaceIASTExpression
- Specified by:
copy
in interfaceIASTInitializerClause
- Specified by:
copy
in interfaceIASTNode
- Since:
- 5.1
-
copy
Description copied from interface:IASTNode
Returns 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.- Specified by:
copy
in interfaceIASTExpression
- Specified by:
copy
in interfaceIASTInitializerClause
- Specified by:
copy
in interfaceIASTNode
- Parameters:
style
-IASTNode.CopyStyle
create a copy with or without locations. Please seeIASTNode.CopyStyle
for restrictions on copies with Locations.- Since:
- 5.3
-
setDeclSpecifier
Not allowed on frozen ast.- Since:
- 5.2
-
setInitializer
Not allowed on frozen ast.- Since:
- 5.2
-
getSimpleType
Deprecated.Replaced bygetDeclSpecifier()
.- Restriction:
- This method is not intended to be referenced by clients.
-
setSimpleType
Deprecated.Replaced bysetDeclSpecifier(ICPPASTDeclSpecifier)
- Restriction:
- This method is not intended to be referenced by clients.
-
getInitialValue
Deprecated.Replaced bygetInitializer()
- Restriction:
- This method is not intended to be referenced by clients.
-
setInitialValue
Deprecated.Replaced bysetInitializer(IASTInitializer)
- Restriction:
- This method is not intended to be referenced by clients.
-
INITIALIZER
.