navigation

ParseFile

Namespace: FSharpLint.Framework
Parent: FSharpLint.Framework

Provides functionality to parse F# files using FSharp.Compiler.Service.


Declared Types
Type Description
FileParseInfo

Information for a file to be linted that is given to the analysers.

ParseFileFailure
ParseFileResult<'T>

Values and Functions
Name Description
getProjectOptionsFromScript

Signature: checker:FSharpChecker -> file:string -> source:string -> FSharpProjectOptions
parseFile

Signature: file:string -> checker:FSharpChecker -> projectOptions:FSharpProjectOptions option -> ParseFileResult

Parses a file using FSharp.Compiler.Service.

parseSourceFile

Signature: fileName:string -> source:string -> checker:FSharpChecker -> ParseFileResult

Parses source code using FSharp.Compiler.Service.

parseSource

Signature: source:string -> checker:FSharpChecker -> ParseFileResult