LibClang-3.4.0: Haskell bindings for libclang (a C++ parsing library)

Safe HaskellNone
LanguageHaskell2010

Clang.Remapping

Description

Functions for manipulating remappings.

This module is intended to be imported qualified.

Synopsis

Documentation

getRemappings :: ClangBase m => FilePath -> ClangT s m (Maybe (Remapping s)) Source

Given a FilePath for a file, returns information about the remappings that apply to that file. If an error occurs, returns Nothing.

getRemappingsFromFileList :: ClangBase m => [FilePath] -> ClangT s m (Maybe (Remapping s)) Source

Given a list of FilePaths, returns information about the remappings that apply to the corresponding files. If an error occurs, returns Nothing.

getRemappedFiles :: ClangBase m => Remapping s' -> ClangT s m [(ClangString s, ClangString s)] Source

Retrieves a list of the remappings described by a Remapping. Each entry in the list consists of a pair. The first element is the original filename, and the second element is the filename it has been remapped to.