Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Expression
- data Number = Number
- data Identifier = Identifier
- importByteString :: Importing t => Ptr Parser -> ByteString -> IO (Maybe t)
- withCursor :: Ptr TSNode -> (Ptr Cursor -> IO a) -> IO a
- step :: (Carrier sig m, Member (Reader (Ptr Cursor)) sig, MonadIO m) => m ()
- push :: (Carrier sig m, Member (Reader (Ptr Cursor)) sig, MonadIO m) => m a -> m a
- peekNode :: (Carrier sig m, Member (Reader (Ptr Cursor)) sig, MonadIO m) => m Node
- slice :: Int -> Int -> ByteString -> ByteString
- class Importing type' where
- newtype MaybeC m a = MaybeC {}
Documentation
data Expression Source #
Instances
Eq Expression Source # | |
Defined in TreeSitter.Importing (==) :: Expression -> Expression -> Bool # (/=) :: Expression -> Expression -> Bool # | |
Ord Expression Source # | |
Defined in TreeSitter.Importing compare :: Expression -> Expression -> Ordering # (<) :: Expression -> Expression -> Bool # (<=) :: Expression -> Expression -> Bool # (>) :: Expression -> Expression -> Bool # (>=) :: Expression -> Expression -> Bool # max :: Expression -> Expression -> Expression # min :: Expression -> Expression -> Expression # | |
Show Expression Source # | |
Defined in TreeSitter.Importing showsPrec :: Int -> Expression -> ShowS # show :: Expression -> String # showList :: [Expression] -> ShowS # |
data Identifier Source #
Instances
Eq Identifier Source # | |
Defined in TreeSitter.Importing (==) :: Identifier -> Identifier -> Bool # (/=) :: Identifier -> Identifier -> Bool # | |
Ord Identifier Source # | |
Defined in TreeSitter.Importing compare :: Identifier -> Identifier -> Ordering # (<) :: Identifier -> Identifier -> Bool # (<=) :: Identifier -> Identifier -> Bool # (>) :: Identifier -> Identifier -> Bool # (>=) :: Identifier -> Identifier -> Bool # max :: Identifier -> Identifier -> Identifier # min :: Identifier -> Identifier -> Identifier # | |
Show Identifier Source # | |
Defined in TreeSitter.Importing showsPrec :: Int -> Identifier -> ShowS # show :: Identifier -> String # showList :: [Identifier] -> ShowS # |
importByteString :: Importing t => Ptr Parser -> ByteString -> IO (Maybe t) Source #
slice :: Int -> Int -> ByteString -> ByteString Source #
Return a ByteString
that contains a slice of the given Source
.
class Importing type' where Source #
import' :: (Alternative m, Carrier sig m, Member (Reader ByteString) sig, Member (Reader (Ptr Cursor)) sig, MonadIO m) => m type' Source #
Instances
Importing Text Source # | |
Defined in TreeSitter.Importing | |
Importing a => Importing [a] Source # | |
Defined in TreeSitter.Importing | |
(Importing a, Importing b) => Importing (Either a b) Source # | |
Defined in TreeSitter.Importing | |
(Importing a, Importing b) => Importing (a, b) Source # | |
Defined in TreeSitter.Importing |