|
Eclipse CDT 7.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTLinkageSpecification
This interface represents a linkage specification. e.g. extern "C" { ... }
Field Summary | |
---|---|
static ASTNodeProperty |
OWNED_DECLARATION
OWNED_DECLARATION is the owned declaration role for
linkages. |
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 |
addDeclaration(IASTDeclaration declaration)
Add another declaration to the linkage. |
ICPPASTLinkageSpecification |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTDeclaration[] |
getDeclarations()
Get all of the declarations. |
String |
getLiteral()
Get the "literal" that represents the linkage. |
void |
setLiteral(String value)
Set the "literal" that represents the linkage. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclarationListOwner |
---|
getDeclarations |
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 |
Field Detail |
---|
static final ASTNodeProperty OWNED_DECLARATION
OWNED_DECLARATION
is the owned declaration role for
linkages.
Method Detail |
---|
String getLiteral()
void setLiteral(String value)
value
- StringIASTDeclaration[] getDeclarations()
IASTDeclaration[]
void addDeclaration(IASTDeclaration declaration)
addDeclaration
in interface IASTDeclarationListOwner
declaration
- IASTDeclaration
ICPPASTLinkageSpecification 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 IASTDeclaration
copy
in interface IASTNode
|
Eclipse CDT 7.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |