|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTTypenameExpression
Field Summary | |
---|---|
static ASTNodeProperty |
INITIAL_VALUE
INITIAL_VALUE is an expression. |
static ASTNodeProperty |
TYPENAME
TYPENAME is 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.IASTNode |
---|
EMPTY_NODE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
r_declaration, r_definition, r_reference, r_unclear |
Method Summary | |
---|---|
ICPPASTTypenameExpression |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getInitialValue()
Get initial value. |
IASTName |
getName()
Get the name. |
boolean |
isTemplate()
Was template token consumed? |
void |
setInitialValue(IASTExpression expressionList)
Set initial value. |
void |
setIsTemplate(boolean templateTokenConsumed)
Was template token consumed? |
void |
setName(IASTName name)
Set the name. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
---|
getExpressionType |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final ASTNodeProperty TYPENAME
TYPENAME
is the name of the type.
static final ASTNodeProperty INITIAL_VALUE
INITIAL_VALUE
is an expression.
Method Detail |
---|
void setIsTemplate(boolean templateTokenConsumed)
templateTokenConsumed
- booleanboolean isTemplate()
void setName(IASTName name)
name
- IASTName
IASTName getName()
IASTName
void setInitialValue(IASTExpression expressionList)
expressionList
- IASTExpression
IASTExpression getInitialValue()
IASTExpression
ICPPASTTypenameExpression 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.
copy
in interface IASTExpression
copy
in interface IASTNode
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |