java.lang.Object
org.bzdev.util.JSUtilities.Location
- Enclosing class:
- JSUtilities
Location in a JSON or YAML nested series of arrays and objects.
This will typically be used in conjunction with a hash table
mapping locations to line and column numbers.
Each location is represented a sequence of strings and integers,
where a string represents a JSObject
key and an integer
represents a JSArray
element, numbered from 1 (instead of
from 0). The elements are in the order in which JSObjects and
JSArrays are nested, starting from the top-level object.
To create a location, use thean instance of JSUtilities.Locator
while traversing a tree consisting of nested instance of
JSArray
and JSObject
.
- See Also:
-
Constructor Summary
Constructors -
Method Summary