dev.constructive.eo.jsoniter.JsonPathScanner.Span
final case class Span(
start:
Int,
end:
Int)
Result of a scan: start >= 0 means hit, start == -1 means miss. Avoids Option allocation on the hot path. End is bytes.length on miss.
Attributes
-
Source
-
JsonPathScanner.scala
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
True when the scan resolved — start >= 0.
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
-
Inherited from:
-
Product
-
Source
-
Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
-
Returns
-
in the default implementation, an Iterator[Any]
-
Inherited from:
-
Product
-
Source
-
Product.scala