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

Safe HaskellNone
LanguageHaskell2010

IdeSession.Types.Private

Contents

Description

The private types

Synopsis

Types without a public counterpart

Types with a public counterpart

data IdNameSpace Source

Identifiers in Haskell are drawn from a number of different name spaces

Constructors

VarName

Variables, including real data constructors

DataName

Source data constructors

TvName

Type variables

TcClsName

Type constructors and classes

data IdScope Source

Constructors

Binder

This is a binding occurrence (f x = .., x -> .., etc.)

Local

Defined within this module

Imported

Imported from a different module

Fields

idImportedFrom :: !ModuleId
 
idImportSpan :: !EitherSpan
 
idImportQual :: !Text

Qualifier used for the import

IMPORTED AS                       idImportQual
import Data.List                  ""
import qualified Data.List        "Data.List."
import qualified Data.List as L   "L."
WiredIn

Wired into the compiler ((), True, etc.)

type ModuleName = Text Source

type IdList = [(SourceSpan, SpanInfo)] Source

Used before we convert it to an IdMap

data Import Source

Constructors

Import 

Fields

importModule :: !ModuleId
 
importPackage :: !(Strict Maybe Text)

Used only for ghc's PackageImports extension

importQualified :: !Bool
 
importImplicit :: !Bool
 
importAs :: !(Strict Maybe ModuleName)
 
importEntities :: !ImportEntities
 

data RunResult Source

The outcome of running code

Constructors

RunOk

The code terminated okay

RunProgException String

The code threw an exception

RunGhcException String

GHC itself threw an exception when we tried to run the code

RunBreak BreakInfo

Execution was paused because of a breakpoint

Cache

Util