Class xrx.location
Defined in: location.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.location(offset, length)
A class representing the location of a token in a XML
stream.
|
Method Attributes | Method Name and Description |
---|---|
xml(stream)
Returns the XML string of the location in a
XML stream.
|
Class Detail
xrx.location(offset, length)
A class representing the location of a token in a XML
stream.
- Parameters:
- {!number} offset
- The offset.
- {!number} length
- The number of characters occupied.
Method Detail
{!string}
xml(stream)
Returns the XML string of the location in a
XML stream.
- Parameters:
- {!string} stream
- The XML stream.
- Returns:
- {!string} The XML string occupied by the location