public static enum IASTNode.CopyStyle extends Enum<IASTNode.CopyStyle>
Enum Constant and Description |
---|
withLocations
The copied node has a
IASTCopyLocation linking the copy to the original node. |
withoutLocations
Copy without location, this copy is independent of the index and can be shared.
|
Modifier and Type | Method and Description |
---|---|
static IASTNode.CopyStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IASTNode.CopyStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IASTNode.CopyStyle withoutLocations
public static final IASTNode.CopyStyle withLocations
IASTCopyLocation
linking the copy to the original node.
If the index was supplied creating the original AST, the caller has to hold a read lock
on it. The returned copy is valid only while the read lock is being held and should
not be accessed after releasing the lock.public static IASTNode.CopyStyle[] values()
for (IASTNode.CopyStyle c : IASTNode.CopyStyle.values()) System.out.println(c);
public static IASTNode.CopyStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.