Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Language.C.Clang.Type
- module Language.C.Clang.TranslationUnit
- module Language.C.Clang.Token
- module Language.C.Clang.Location
- module Language.C.Clang.File
- data ClangIndex
- data ClangIndexOption
- createIndex :: IO ClangIndex
- createIndexWithOptions :: [ClangIndexOption] -> IO ClangIndex
- class Clang n
- newtype ClangOrd a = ClangOrd {
- getOrdered :: a
Documentation
module Language.C.Clang.Type
module Language.C.Clang.Token
module Language.C.Clang.Location
module Language.C.Clang.File
Index
data ClangIndex Source #
Instances
Eq ClangIndex Source # | |
Defined in Language.C.Clang.Internal.Types (==) :: ClangIndex -> ClangIndex -> Bool # (/=) :: ClangIndex -> ClangIndex -> Bool # | |
Clang ClangIndex Source # | |
Defined in Language.C.Clang.Internal.Types deref :: ClangIndex -> (Ptr (RefOf ClangIndex) -> IO a) -> IO a unsafeToPtr :: ClangIndex -> Ptr (RefOf ClangIndex) |
data ClangIndexOption Source #
Instances
Eq ClangIndexOption Source # | |
Defined in Language.C.Clang.Internal.Types (==) :: ClangIndexOption -> ClangIndexOption -> Bool # (/=) :: ClangIndexOption -> ClangIndexOption -> Bool # | |
Ord ClangIndexOption Source # | |
Defined in Language.C.Clang.Internal.Types compare :: ClangIndexOption -> ClangIndexOption -> Ordering # (<) :: ClangIndexOption -> ClangIndexOption -> Bool # (<=) :: ClangIndexOption -> ClangIndexOption -> Bool # (>) :: ClangIndexOption -> ClangIndexOption -> Bool # (>=) :: ClangIndexOption -> ClangIndexOption -> Bool # max :: ClangIndexOption -> ClangIndexOption -> ClangIndexOption # min :: ClangIndexOption -> ClangIndexOption -> ClangIndexOption # | |
Show ClangIndexOption Source # | |
Defined in Language.C.Clang.Internal.Types showsPrec :: Int -> ClangIndexOption -> ShowS # show :: ClangIndexOption -> String # showList :: [ClangIndexOption] -> ShowS # |
Utilities
deref, unsafeToPtr
Instances
Clang File Source # | |
Clang SourceLocation Source # | |
Defined in Language.C.Clang.Internal.Types deref :: SourceLocation -> (Ptr (RefOf SourceLocation) -> IO a) -> IO a unsafeToPtr :: SourceLocation -> Ptr (RefOf SourceLocation) | |
Clang SourceRange Source # | |
Defined in Language.C.Clang.Internal.Types deref :: SourceRange -> (Ptr (RefOf SourceRange) -> IO a) -> IO a unsafeToPtr :: SourceRange -> Ptr (RefOf SourceRange) | |
Clang Cursor Source # | |
Clang TranslationUnit Source # | |
Defined in Language.C.Clang.Internal.Types deref :: TranslationUnit -> (Ptr (RefOf TranslationUnit) -> IO a) -> IO a unsafeToPtr :: TranslationUnit -> Ptr (RefOf TranslationUnit) | |
Clang ClangIndex Source # | |
Defined in Language.C.Clang.Internal.Types deref :: ClangIndex -> (Ptr (RefOf ClangIndex) -> IO a) -> IO a unsafeToPtr :: ClangIndex -> Ptr (RefOf ClangIndex) | |
Clang Token Source # | |
Clang Type Source # | |
Clang (CursorK kind) Source # | |
The Eq
instance for Clang
types checks structural equality,
i.e. whether they represent the same object in the translation unit.
Wrapping values in this type provides Eq
and Ord
instances based on reference equality.
ClangOrd | |
|
Instances
Clang a => Eq (ClangOrd a) Source # | |
Clang a => Ord (ClangOrd a) Source # | |