| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.C.Clang
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 | |
| Clang ClangIndex Source # | |
Defined in Language.C.Clang.Internal.Types Methods deref :: ClangIndex -> (Ptr (RefOf ClangIndex) -> IO a) -> IO a unsafeToPtr :: ClangIndex -> Ptr (RefOf ClangIndex) | |
data ClangIndexOption Source #
Constructors
| ExcludeDeclarationsFromPCH | |
| DisplayDiagnostics |
Instances
| Eq ClangIndexOption Source # | |
Defined in Language.C.Clang.Internal.Types Methods (==) :: ClangIndexOption -> ClangIndexOption -> Bool # (/=) :: ClangIndexOption -> ClangIndexOption -> Bool # | |
| Ord ClangIndexOption Source # | |
Defined in Language.C.Clang.Internal.Types Methods 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 Methods showsPrec :: Int -> ClangIndexOption -> ShowS # show :: ClangIndexOption -> String # showList :: [ClangIndexOption] -> ShowS # | |
Utilities
Minimal complete definition
deref, unsafeToPtr
Instances
| Clang File Source # | |
| Clang SourceLocation Source # | |
Defined in Language.C.Clang.Internal.Types Methods deref :: SourceLocation -> (Ptr (RefOf SourceLocation) -> IO a) -> IO a unsafeToPtr :: SourceLocation -> Ptr (RefOf SourceLocation) | |
| Clang SourceRange Source # | |
Defined in Language.C.Clang.Internal.Types Methods 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 Methods deref :: TranslationUnit -> (Ptr (RefOf TranslationUnit) -> IO a) -> IO a unsafeToPtr :: TranslationUnit -> Ptr (RefOf TranslationUnit) | |
| Clang ClangIndex Source # | |
Defined in Language.C.Clang.Internal.Types Methods 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.
Constructors
| ClangOrd | |
Fields
| |
Instances
| Clang a => Eq (ClangOrd a) Source # | |
| Clang a => Ord (ClangOrd a) Source # | |