|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTTemplateId
Field Summary | |
---|---|
static IASTNode[] |
EMPTY_ARG_ARRAY
Constant. |
static ASTNodeProperty |
TEMPLATE_ID_ARGUMENT
TEMPLATE_ID_ARGUMENT = template id argument. |
static ASTNodeProperty |
TEMPLATE_NAME
TEMPLATE_NAME is the IASTName. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTName |
---|
EMPTY_NAME_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 | |
---|---|
void |
addTemplateArgument(IASTExpression expression)
Add template argument. |
void |
addTemplateArgument(IASTTypeId typeId)
Add template argument. |
void |
addTemplateArgument(ICPPASTAmbiguousTemplateArgument ambiguity)
Add an ambiguity node for later resolution. |
ICPPASTTemplateId |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTNode[] |
getTemplateArguments()
Get all template arguments. |
IASTName |
getTemplateName()
Get the name. |
void |
setTemplateName(IASTName name)
Set the name. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTName |
---|
getBinding, getCompletionContext, getImageLocation, getLastName, getLinkage, getLookupKey, getPreBinding, getRoleOfName, resolveBinding, resolvePreBinding, setBinding, toCharArray, toString |
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.IName |
---|
getFileLocation, getSimpleID, isDeclaration, isDefinition, isReference |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final ASTNodeProperty TEMPLATE_NAME
static final ASTNodeProperty TEMPLATE_ID_ARGUMENT
static final IASTNode[] EMPTY_ARG_ARRAY
Method Detail |
---|
IASTName getTemplateName()
IASTName
void setTemplateName(IASTName name)
name
- IASTName
void addTemplateArgument(IASTTypeId typeId)
typeId
- IASTTypeId
void addTemplateArgument(IASTExpression expression)
expression
- IASTExpression
void addTemplateArgument(ICPPASTAmbiguousTemplateArgument ambiguity)
ambiguity
- IASTNode[] getTemplateArguments()
IASTNode []
ICPPASTTemplateId 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 IASTName
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 |