leksah-server-0.12.0.4: Metadata collection for leksah

Safe HaskellSafe-Infered

IDE.Core.CTypes

Description

 

Synopsis

Documentation

newtype Present alpha Source

Constructors

Present alpha 

data GenScope Source

Constructors

forall alpha . SymbolTable alpha => GenScopeC (PackScope alpha) 

dscMbModu :: Descr -> Maybe PackModuleSource

The definition module

dsMbModu :: Descr -> Maybe PackModuleSource

The exporting module

data PackScope alpha Source

Constructors

SymbolTable alpha => PackScope (Map PackageIdentifier PackageDescr) alpha 

class SymbolTable alpha whereSource

Methods

symLookup :: String -> alpha -> [Descr]Source

symbols :: alpha -> Set StringSource

symSplitLookup :: String -> alpha -> (alpha, Maybe [Descr], alpha)Source

symInsert :: String -> [Descr] -> alpha -> alphaSource

symEmpty :: alphaSource

symElems :: alpha -> [[Descr]]Source

symUnion :: alpha -> alpha -> alphaSource

Instances

data SrcSpan Source

A portion of the source, spanning one or more lines and zero or more columns.

data ImportDecl Source

An import declaration.

Constructors

ImportDecl 

Fields

importLoc :: Location
 
importModule :: String

name of the module imported.

importQualified :: Bool

imported qualified?

importSrc :: Bool

imported with {-# SOURCE #-}?

importPkg :: Maybe String

imported with explicit package name

importAs :: Maybe String

optional alias name in an as clause.

importSpecs :: Maybe ImportSpecList

optional list of import specifications.

data ImportSpecList Source

An explicit import specification list.

data ImportSpec Source

An import specification, representing a single explicit item imported (or hidden) from a module.

Constructors

IVar String

variable

IAbs String

T: the name of a class, datatype or type synonym.

IThingAll String

T(..): a class imported with all of its methods, or a datatype imported with all of its constructors.

IThingWith String [String]

T(C_1,...,C_n): a class imported with some of its methods, or a datatype imported with some of its constructors.