Method CloneAttributes
CloneAttributes()
Performs a clone of all Attribute instances returned in a new AttributeSource instance. This method can be used to e.g. create another TokenStream with exactly the same attributes (using AttributeSource(AttributeSource)). You can also use it as a (non-performant) replacement for CaptureState(), if you need to look into / modify the captured state.
Declaration
public AttributeSource CloneAttributes()
Returns
Type | Description |
---|---|
AttributeSource |