|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICPPASTTemplateDeclaration
Template declaration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
IASTNode.CopyStyle |
| Field Summary | |
|---|---|
static ASTNodeProperty |
OWNED_DECLARATION
OWNED_DECLARATION is the subdeclaration that we maintain
grammatically. |
static ASTNodeProperty |
PARAMETER
PARAMETER is used for template parameters. |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclaration |
|---|
EMPTY_DECLARATION_ARRAY |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Method Summary | |
|---|---|
void |
addTemplateParameter(ICPPASTTemplateParameter parm)
Add a template parameter. |
void |
addTemplateParamter(ICPPASTTemplateParameter parm)
Deprecated. Use addTemplateParameter. |
ICPPASTTemplateDeclaration |
copy()
Returns a mutable copy of the tree rooted at this node. |
ICPPASTTemplateDeclaration |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node. |
IASTDeclaration |
getDeclaration()
Get template declaration. |
ICPPTemplateScope |
getScope()
get the template scope representing this declaration in the logical tree |
ICPPASTTemplateParameter[] |
getTemplateParameters()
Get template parameters. |
boolean |
isExported()
Is the export keyword used? |
void |
setDeclaration(IASTDeclaration declaration)
Set the template declaration. |
void |
setExported(boolean value)
Should the export keyword be used? |
| 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 OWNED_DECLARATION
OWNED_DECLARATION is the subdeclaration that we maintain
grammatically.
static final ASTNodeProperty PARAMETER
PARAMETER is used for template parameters.
| Method Detail |
|---|
boolean isExported()
void setExported(boolean value)
value - booleanIASTDeclaration getDeclaration()
IASTDeclarationvoid setDeclaration(IASTDeclaration declaration)
declaration - IASTDeclarationICPPASTTemplateParameter[] getTemplateParameters()
ICPPASTTemplateParameter[]void addTemplateParameter(ICPPASTTemplateParameter parm)
parm - ICPPASTTemplateParameter@Deprecated void addTemplateParamter(ICPPASTTemplateParameter parm)
ICPPTemplateScope getScope()
ICPPTemplateScopeICPPASTTemplateDeclaration 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 IASTDeclarationcopy in interface IASTNodeICPPASTTemplateDeclaration 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 IASTDeclarationcopy in interface IASTNodestyle - IASTNode.CopyStyle create a copy with or without locations. Please see
IASTNode.CopyStyle for restrictions on copies with Locations.
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||