|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTTemplatedTypeTemplateParameter
This is a template template parameter as V
in
template<template<typename T> class V> class CT;
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
IASTNode.CopyStyle |
Field Summary | |
---|---|
static ASTNodeProperty |
DEFAULT_VALUE
Relation between template template parameter and its default value. |
static ASTNodeProperty |
PARAMETER
Relation between template template parameter and its (nested) template parameters. |
static ASTNodeProperty |
PARAMETER_NAME
Relation between template template parameter and its name. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateParameter |
---|
EMPTY_TEMPLATEPARAMETER_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 |
addTemplateParameter(ICPPASTTemplateParameter parm)
Add a nested template parameter. |
void |
addTemplateParamter(ICPPASTTemplateParameter parm)
Deprecated. Use addTemplateParameter(ICPPASTTemplateParameter) ; |
ICPPScope |
asScope()
Returns the scope that contains the template parameters of this template-template parameter. |
ICPPASTTemplatedTypeTemplateParameter |
copy()
Returns a mutable copy of the tree rooted at this node. |
ICPPASTTemplatedTypeTemplateParameter |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getDefaultValue()
Get default value for template template parameter or null . |
IASTName |
getName()
Get the (optional) name of this template template parameter. |
ICPPASTTemplateParameter[] |
getTemplateParameters()
Get the nested template parameters. |
void |
setDefaultValue(IASTExpression expression)
Set default value for the template template parameter. |
void |
setIsParameterPack(boolean val)
Set whether this template template parameter is a parameter pack. |
void |
setName(IASTName name)
Set the name of this template template parameter. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateParameter |
---|
isParameterPack |
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.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final ASTNodeProperty PARAMETER
static final ASTNodeProperty PARAMETER_NAME
static final ASTNodeProperty DEFAULT_VALUE
Method Detail |
---|
ICPPASTTemplateParameter[] getTemplateParameters()
IASTName getName()
IASTExpression getDefaultValue()
null
.
ICPPASTTemplatedTypeTemplateParameter 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 IASTNode
copy
in interface ICPPASTTemplateParameter
ICPPASTTemplatedTypeTemplateParameter 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 IASTNode
copy
in interface ICPPASTTemplateParameter
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.void addTemplateParameter(ICPPASTTemplateParameter parm)
void setIsParameterPack(boolean val)
void setName(IASTName name)
void setDefaultValue(IASTExpression expression)
ICPPScope asScope()
@Deprecated void addTemplateParamter(ICPPASTTemplateParameter parm)
addTemplateParameter(ICPPASTTemplateParameter)
;
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |