Safe Haskell | None |
---|
Documentation
createIndex :: Bool -> Bool -> IO (ForeignPtr IndexObj)Source
type TranslationUnit = Ptr TranslationUnitObjSource
type ClientData = ForeignPtr ClientDataObjSource
data UnsavedFile Source
data AvailabilityKind Source
getCString :: CXString -> IO StringSource
getFileName :: File -> IO CXStringSource
getFileTime :: File -> IO CTimeSource
getLocation :: TranslationUnit -> File -> Int -> Int -> IO SourceLocationSource
getLocationForOffset :: TranslationUnit -> File -> Int -> IO SourceLocationSource
data SourceRange Source
getInstantiationLocation :: SourceLocation -> IO (File, Int, Int, Int)Source
getSpellingLocation :: SourceLocation -> IO (File, Int, Int, Int)Source
data DiagnosticSeverity Source
type Diagnostic = ForeignPtr DiagnosticObjSource
getDiagnostic :: TranslationUnit -> Int -> IO DiagnosticSource
formatDiagnostic :: Diagnostic -> Int -> IO CXStringSource
getDiagnosticRange :: Diagnostic -> Int -> IO SourceRangeSource
getDiagnosticFixIt :: Diagnostic -> Int -> IO (SourceRange, CXString)Source
createTranslationUnitFromSourceFile :: Index -> String -> [String] -> [UnsavedFile] -> IO (ForeignPtr TranslationUnitObj)Source
createTranslationUnit :: Index -> String -> IO (ForeignPtr TranslationUnitObj)Source
parseTranslationUnit :: Index -> Maybe String -> [String] -> [UnsavedFile] -> Int -> IO (Maybe (ForeignPtr TranslationUnitObj))Source
saveTranslationUnit :: TranslationUnit -> String -> Int -> IO BoolSource
getReparseFlagsSum :: [ReparseFlags] -> IntSource
reparseTranslationUnit :: TranslationUnit -> [UnsavedFile] -> Int -> IO BoolSource
data CursorKind Source
hashCursor :: Cursor -> IO Word32Source
isDeclaration :: CursorKind -> IO BoolSource
isReference :: CursorKind -> IO BoolSource
isExpression :: CursorKind -> IO BoolSource
isStatement :: CursorKind -> IO BoolSource
isInvalid :: CursorKind -> IO BoolSource
isUnexposed :: CursorKind -> IO BoolSource
data LinkageKind Source
data LanguageKind Source
type CursorSet = ForeignPtr CursorSetObjSource
getOverriddenCursors :: Cursor -> IO CursorListSource
getIncludedFile :: Cursor -> IO FileSource
getCursor :: TranslationUnit -> SourceLocation -> IO CursorSource
getTypeKind :: Type -> TypeKindSource
getCursorType :: Cursor -> IO TypeSource
getCanonicalType :: Type -> IO TypeSource
isConstQualifiedType :: Type -> IO BoolSource
getPointeeType :: Type -> IO TypeSource
getTypeDeclaration :: Type -> IO CursorSource
getResultType :: Type -> IO TypeSource
isVirtualBase :: Cursor -> IO BoolSource
data CXXAccessSpecifier Source
data ChildVisitResult Source
type ChildVisitor aSource
visitChildren :: (Storable a, Alloc a) => Cursor -> ChildVisitor a -> Maybe a -> IO (Maybe a, Bool)Source
getCursorUSR :: Cursor -> IO CXStringSource
isCursorDefinition :: Cursor -> IO BoolSource
cXXMethod_isStatic :: Cursor -> IO BoolSource
getTokenKind :: Token -> IO TokenKindSource
getTokenSpelling :: TranslationUnit -> Token -> IO CXStringSource
tokenize :: TranslationUnit -> SourceRange -> IO TokenListSource
annotateTokens :: TranslationUnit -> TokenList -> IO CursorListSource
enableStackTraces :: IO ()Source
data CompletionString Source
data CompletionResult Source
data CompletionChunkKind Source
data CodeCompleteFlags Source
type CodeCompleteResults = ForeignPtr CodeCompleteResultsObjSource
codeCompleteAt :: TranslationUnit -> String -> Int -> Int -> [UnsavedFile] -> Int -> IO CodeCompleteResultsSource
sortCodeCompletionResults :: CodeCompleteResults -> Int -> IO ()Source
type InclusionVisitor a = File -> [SourceLocation] -> Maybe a -> IO (Maybe a)Source
getInclusions :: (Storable a, Alloc a) => TranslationUnit -> InclusionVisitor a -> Maybe a -> IO ()Source
wrapInclusionVisitor :: Storable a => InclusionVisitor a -> InclusionVisitorRawSource