Header menu logo FSharp.Analyzers.SDK

CliContext Type

All the relevant compiler information for a given file. Contains the source text, untyped and typed tree information.

Record fields

Record Field Description

CheckFileResults

Full Usage: CheckFileResults

Field type: FSharpCheckFileResults

A handle to the results of CheckFileInProject. See FSharpCheckFileResults Type

Field type: FSharpCheckFileResults

CheckProjectResults

Full Usage: CheckProjectResults

Field type: FSharpCheckProjectResults

A handle to the results of the entire project See FSharpCheckProjectResults Type

Field type: FSharpCheckProjectResults

FileName

Full Usage: FileName

Field type: string

The current file name.

Field type: string

ParseFileResults

Full Usage: ParseFileResults

Field type: FSharpParseFileResults

Represents the results of parsing an F# file and a set of analysis operations based on the parse tree alone. See FSharpParseFileResults Type

Field type: FSharpParseFileResults

SourceText

Full Usage: SourceText

Field type: ISourceText

Source of the current file. See ISourceText Type

Field type: ISourceText

TypedTree

Full Usage: TypedTree

Field type: FSharpImplementationFileContents option

Represents the definitional contents of a single file or fragment in an assembly, as seen by the F# language. Only available for implementation files. See FSharpImplementationFileContents Type

Field type: FSharpImplementationFileContents option

Instance members

Instance member Description

this.GetAllEntities

Full Usage: this.GetAllEntities

Parameters:
    publicOnly : bool

Returns: AssemblySymbol list

Collects all the types found in the CheckFileResults

publicOnly : bool
Returns: AssemblySymbol list

this.GetAllSymbolUsesOfFile

Full Usage: this.GetAllSymbolUsesOfFile

Returns: FSharpSymbolUse seq

Helper for CheckFileResults.GetAllUsesOfAllSymbolsInFile

Returns: FSharpSymbolUse seq

this.GetAllSymbolUsesOfProject

Full Usage: this.GetAllSymbolUsesOfProject

Returns: FSharpSymbolUse array

Helper for CheckProjectResults.GetAllUsesOfAllSymbols

Returns: FSharpSymbolUse array

Type something to start searching.