|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTSimpleTypeConstructorExpression
Functional cast expressions: simple-type-specifier (expression-list?) simple-type-specifier braced-init-list typename-specifier (expression-list?) typename-specifier braced-init-list
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 | |
---|---|
static ASTNodeProperty |
INITIALIZER
|
static ASTNodeProperty |
INITIALIZER_VALUE
Deprecated. Replaced by INITIALIZER . |
static int |
t_bool
Deprecated. |
static int |
t_char
Deprecated. |
static int |
t_double
Deprecated. |
static int |
t_float
Deprecated. |
static int |
t_int
Deprecated. |
static int |
t_last
Deprecated. |
static int |
t_long
Deprecated. |
static int |
t_short
Deprecated. |
static int |
t_signed
Deprecated. |
static int |
t_unsigned
Deprecated. |
static int |
t_unspecified
Deprecated. |
static int |
t_void
Deprecated. |
static int |
t_wchar_t
Deprecated. |
static ASTNodeProperty |
TYPE_SPECIFIER
|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
---|
EMPTY_EXPRESSION_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
ICPPASTSimpleTypeConstructorExpression |
copy()
Returns a mutable copy of the tree rooted at this node. |
ICPPASTSimpleTypeConstructorExpression |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node. |
ICPPASTDeclSpecifier |
getDeclSpecifier()
Returns the declaration specifier that specifies the type. |
IASTInitializer |
getInitializer()
Returns the argument for initialization. |
IASTExpression |
getInitialValue()
Deprecated. Replaced by getInitializer() |
int |
getSimpleType()
Deprecated. Replaced by getDeclSpecifier() . |
void |
setDeclSpecifier(ICPPASTDeclSpecifier declSpec)
Not allowed on frozen ast. |
void |
setInitializer(IASTInitializer initializer)
Not allowed on frozen ast. |
void |
setInitialValue(IASTExpression expression)
Deprecated. Replaced by setInitializer(IASTInitializer) |
void |
setSimpleType(int value)
Deprecated. Replaced by setDeclSpecifier(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.cpp.ICPPASTInitializerClause |
---|
getEvaluation |
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 |
Field Detail |
---|
static final ASTNodeProperty TYPE_SPECIFIER
static final ASTNodeProperty INITIALIZER
@Deprecated static final int t_unspecified
@Deprecated static final int t_void
@Deprecated static final int t_char
@Deprecated static final int t_int
@Deprecated static final int t_float
@Deprecated static final int t_double
@Deprecated static final int t_bool
@Deprecated static final int t_wchar_t
@Deprecated static final int t_short
@Deprecated static final int t_long
@Deprecated static final int t_signed
@Deprecated static final int t_unsigned
@Deprecated static final int t_last
@Deprecated static final ASTNodeProperty INITIALIZER_VALUE
INITIALIZER
.Method Detail |
---|
ICPPASTDeclSpecifier getDeclSpecifier()
IASTInitializer getInitializer()
ICPPASTConstructorInitializer
or
ICPPASTInitializerList
ICPPASTSimpleTypeConstructorExpression copy()
IASTNode
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
copy
in interface IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
ICPPASTSimpleTypeConstructorExpression copy(IASTNode.CopyStyle style)
IASTNode
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.
copy
in interface IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.void setDeclSpecifier(ICPPASTDeclSpecifier declSpec)
void setInitializer(IASTInitializer initializer)
@Deprecated int getSimpleType()
getDeclSpecifier()
.
@Deprecated void setSimpleType(int value)
setDeclSpecifier(ICPPASTDeclSpecifier)
@Deprecated IASTExpression getInitialValue()
getInitializer()
@Deprecated void setInitialValue(IASTExpression expression)
setInitializer(IASTInitializer)
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |