Header menu logo F# Compiler Guide

FSharp.Compiler.EditorServices Namespace

Type/Module Description

AssemblyContent

Provides assembly content.

AssemblyContentType

Assembly content type.

AssemblySymbol

Represents type, module, member, function or value in a compiled assembly.

CompletionContext

CompletionItemKind

DeclarationListInfo

Represents a set of declarations in F# source code, with information attached ready for display by an editor. Returned by GetDeclarations.

DeclarationListItem

Represents a declaration in F# source code, with information attached ready for display by an editor. Returned by GetDeclarations.

EntityCache

Thread safe wrapper over `IAssemblyContentCache`.

EntityKind

FindDeclExternalParam

Represents the type of a single method parameter

FindDeclExternalSymbol

Represents a symbol in an external (non F#) assembly

FindDeclExternalType

Represents a type in an external (non F#) assembly.

FindDeclFailureReason

Represents the reason why the GetDeclarationLocation operation failed.

FindDeclResult

Represents the result of the GetDeclarationLocation operation.

FSharpGlyph

IAssemblyContentCache

Assembly content cache.

InheritanceContext

InsertionContext

Insert open namespace context.

InsertionContextEntity

Helper data structure representing a symbol, suitable for implementing unresolved identifiers resolution code fixes.

InterfaceData

Capture information about an interface in ASTs

InterfaceStubGenerator

LookupType

Entity lookup type.

MaybeUnresolvedIdent

`ShortIdent` with a flag indicating if it's resolved in some scope.

MethodGroup

Represents a group of methods (or other items) returned by GetMethods.

MethodGroupItem

Represents one method (or other item) in a method group. The item may represent either a method or a single, non-overloaded item such as union case or a named function value.

MethodGroupItemParameter

Represents one parameter for one method (or other item) in a group.

MethodOverrideCompletionContext

ModuleKind

NavigableContainer

NavigableContainerType

NavigableItem

NavigableItemKind

NavigateTo

Navigation

NavigationEntityKind

NavigationItem

Represents an item to be displayed in the navigation bar

NavigationItemKind

Indicates a kind of item to show in an F# navigation bar

NavigationItems

Represents result of 'GetNavigationItems' operation - this contains all the members and currently selected indices. First level correspond to types & modules and second level are methods etc.

NavigationTopLevelDeclaration

Represents top-level declarations (that should be in the type drop-down) with nested declarations (that can be shown in the member drop-down)

OpenStatementInsertionPoint

Where open statements should be added.

ParameterLocations

Represents the locations relevant to activating parameter info in an IDE

ParsedInput

Operations querying the entire syntax tree

PartialLongName

Qualified long name.

PatternContext

QuickParse

 Methods for cheaply and inaccurately parsing F#.

 These methods are very old and are mostly to do with extracting "long identifier islands"
     A.B.C
 from F# source code, an approach taken from pre-F# VS samples for implementing intellisense.

 This code should really no longer be needed since the language service has access to
 parsed F# source code ASTs.  However, the long identifiers are still passed back to GetDeclarations and friends in the
 F# Compiler Service and it's annoyingly hard to remove their use completely.

 In general it is unlikely much progress will be made by fixing this code - it will be better to
 extract more information from the F# ASTs.

 It's also surprising how hard even the job of getting long identifier islands can be. For example the code
 below is inaccurate for long identifier chains involving ``...`` identifiers.  And there are special cases
 for active pattern names and so on.

RecordContext

ScopeKind

Kind of lexical scope.

SemanticClassificationItem

SemanticClassificationType

A kind that determines what range in a source's text is semantically classified as after type-checking.

SemanticClassificationView

Provides a read only view to iterate over the semantic classification contents.

ShortIdents

An array of `ShortIdent`.

SimplifyNames

Structure

ToolTipElement

A single tool tip display element

ToolTipElementData

A single data tip display element

ToolTipText

Information for building a tool tip box.

TupledArgumentLocation

Represents the location of a tupled argument, which can optionally be a named argument.

UnresolvedSymbol

UnusedDeclarations

UnusedOpens

XmlDocable

Represent an Xml documentation block in source code

XmlDocComment

XmlDocParser

Type something to start searching.