ide-backend-common-0.9.1: Shared library used be ide-backend and ide-backend-server

Safe HaskellNone
LanguageHaskell2010

IdeSession.GHC.API

Contents

Description

Types for the messages to and fro the GHC server

It is important that none of the types here rely on the GHC library.

Synopsis

Requests

Responses

Configuration

ideBackendApiVersion :: Int Source

For detecting runtime version mismatch between the server and the library

We use a Unix timestamp for this so that these API versions have some semantics (http:/www.epochconverter.com, GMT).

hsExtensions :: [FilePath] Source

Haskell source files

hsBootExtensions :: [FilePath] Source

Haskell .boot files

cExtensions :: [FilePath] Source

C source files

cHeaderExtensions :: [FilePath] Source

C header files

sourceExtensions :: [FilePath] Source

Extensions of all source files we keep in our source directory.

Paths

ideSessionSourceDir :: FilePath -> FilePath Source

The directory to use for managing source files.

ideSessionDataDir :: FilePath -> FilePath Source

The directory to use for data files that may be accessed by the running program. The running program will have this as its CWD.

ideSessionDistDir :: FilePath -> FilePath Source

Cabal "dist" prefix.

ideSessionObjDir :: FilePath -> FilePath Source

Directory where we store compiled C files (objects)