PathConstruct

The RFC 9535 construct that a rabosh path type has no step for.

Carried by PathNotRepresentableException so that a caller can branch on what it was without matching on a message. The values name constructs of the source grammar, not of this one — there is deliberately no WILDCARD, because a wildcard is the one construct CatalogPath.parseJsonPath accepts.

Entries

Link copied to clipboard

[0], [-1] — names one element by position. A catalog path collapses positions.

Link copied to clipboard

.. — selects at every depth.

Link copied to clipboard

[?…] — selects by a test on the candidate node, which a Predicate cannot mean.

Link copied to clipboard

[1:3], [::2] — a slice with a bound or a step. Only the whole-array [:] is accepted.

Link copied to clipboard

['a','b'] — one segment selecting two things. A path step selects one.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.