OffsetAttributeImpl
Simple implementation of OffsetAttribute
Functions
Link copied to clipboard
In most cases the clone is, and should be, deep in order to be able to properly capture the state of all attributes.
Link copied to clipboard
Copies the values from this Attribute into the passed-in target attribute. The target implementation must support all the Attributes this implementation supports.
Link copied to clipboard
This method returns the current attribute values as a string in the following format by calling the .reflectWith method:
Link copied to clipboard
This method is for introspection of attributes, it should simply add the key/values this attribute holds to the given AttributeReflector.
Link copied to clipboard
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.