|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTCapture
Capture for a lambda expression, introduced in C++0x.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
IASTNode.CopyStyle |
Field Summary | |
---|---|
static ASTNodeProperty |
IDENTIFIER
|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
boolean |
capturesThisPointer()
Returns whether this capture is for the this pointer. |
ICPPASTCapture |
copy()
Returns a mutable copy of the tree rooted at this node. |
ICPPASTCapture |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node. |
IASTName |
getIdentifier()
Returns the identifier for this capture or null , when
this |
boolean |
isByReference()
Returns whether the capture uses a leading ampersand. |
void |
setIdentifier(IASTName identifier)
Not allowed on frozen AST. |
void |
setIsByReference(boolean value)
Not allowed on frozen AST. |
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.cpp.ICPPASTPackExpandable |
---|
isPackExpansion, setIsPackExpansion |
Field Detail |
---|
static final ASTNodeProperty IDENTIFIER
Method Detail |
---|
ICPPASTCapture 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
ICPPASTCapture 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
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.boolean isByReference()
boolean capturesThisPointer()
IASTName getIdentifier()
null
, when
this is captured.
void setIsByReference(boolean value)
isByReference()
void setIdentifier(IASTName identifier)
null
identifier indicates
that this capture is for the this pointer.
getIdentifier()
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |