tree-sitter-0.2.1.0: Unstable bindings for the tree-sitter parsing library.
TreeSitter.Range
data Range Source #
A half-open interval of integers, defined by start & end indices.
Constructors
Fields
Defined in TreeSitter.Range
Methods
(==) :: Range -> Range -> Bool #
(/=) :: Range -> Range -> Bool #
showsPrec :: Int -> Range -> ShowS #
show :: Range -> String #
showList :: [Range] -> ShowS #
Defined in TreeSitter.Unmarshal
unmarshalNodes :: (MonadFail m, Carrier sig m, Member (Reader ByteString) sig, Member (Reader (Ptr Cursor)) sig, MonadIO m) => [Node] -> m Range Source #