tree-sitter-0.3.0.0: Unstable bindings for the tree-sitter parsing library.
TreeSitter.Span
data Span Source #
A Span of position information
Constructors
Fields
Defined in TreeSitter.Span
Methods
(==) :: Span -> Span -> Bool #
(/=) :: Span -> Span -> Bool #
compare :: Span -> Span -> Ordering #
(<) :: Span -> Span -> Bool #
(<=) :: Span -> Span -> Bool #
(>) :: Span -> Span -> Bool #
(>=) :: Span -> Span -> Bool #
max :: Span -> Span -> Span #
min :: Span -> Span -> Span #
showsPrec :: Int -> Span -> ShowS #
show :: Span -> String #
showList :: [Span] -> ShowS #
Defined in TreeSitter.Unmarshal
unmarshalNodes :: (MonadFail m, Carrier sig m, Member (Reader ByteString) sig, Member (Reader (Ptr Cursor)) sig, MonadIO m) => [Node] -> m Span Source #
data Pos Source #
Source position information
(==) :: Pos -> Pos -> Bool #
(/=) :: Pos -> Pos -> Bool #
compare :: Pos -> Pos -> Ordering #
(<) :: Pos -> Pos -> Bool #
(<=) :: Pos -> Pos -> Bool #
(>) :: Pos -> Pos -> Bool #
(>=) :: Pos -> Pos -> Bool #
max :: Pos -> Pos -> Pos #
min :: Pos -> Pos -> Pos #
showsPrec :: Int -> Pos -> ShowS #
show :: Pos -> String #
showList :: [Pos] -> ShowS #