(after? x y)
True if token x begins after token y, false otherwise.
True if token x begins after token y, false otherwise.
(before? x y)
True if token x ends before token y, false otherwise.
True if token x ends before token y, false otherwise.
(cross? x y)
True if either of the following holds, false otherwise:
True if either of the following holds, false otherwise: * x begins after y and x ends after y * y begins after x and y ends after x
Nested inline content if the represented entity supports it, nil otherwise.
Nested inline content if the represented entity supports it, nil otherwise.
(inner-bounds token)
A [start end] vector containing :re/start and :re/end when the token has no inner content, or the start / end indices of its inner content otherwise.
A [start end] vector containing :re/start and :re/end when the token has no inner content, or the start / end indices of its inner content otherwise.
(translate token offset)
Adjusts token boundaries by offset.
Adjusts token boundaries by offset.
(within? x y)
True if x lies within y, false otherwise.
True if x lies within y, false otherwise.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close