Header menu logo F# Compiler Guide

FSharpParsingOptions Type

Options used to determine active --define conditionals and other options relevant to parsing files in a project

Record fields

Record Field Description

ApplyLineDirectives

Full Usage: ApplyLineDirectives

Field type: bool

Indicates if the ranges returned by parsing should have '#line' directives applied to them. When compiling code, this should usually be 'true'. For editing tools, this is usually 'false. The default for FSharpParsingOptions.ApplyLineDirectives is 'false'. The default for FSharpParsingOptions arising from FSharpProjectOptions will be 'true' unless '--ignorelinedirectives' is used in the parameters from which these are derived.

Field type: bool

CompilingFSharpCore

Full Usage: CompilingFSharpCore

Field type: bool
Field type: bool

ConditionalDefines

Full Usage: ConditionalDefines

Field type: string list
Field type: string list

DiagnosticOptions

Full Usage: DiagnosticOptions

Field type: FSharpDiagnosticOptions
Field type: FSharpDiagnosticOptions

IndentationAwareSyntax

Full Usage: IndentationAwareSyntax

Field type: bool option
Field type: bool option

IsExe

Full Usage: IsExe

Field type: bool
Field type: bool

IsInteractive

Full Usage: IsInteractive

Field type: bool
Field type: bool

LangVersionText

Full Usage: LangVersionText

Field type: string
Field type: string

SourceFiles

Full Usage: SourceFiles

Field type: string[]
Field type: string[]

StrictIndentation

Full Usage: StrictIndentation

Field type: bool option
Field type: bool option

Static members

Static member Description

FSharpParsingOptions.Default

Full Usage: FSharpParsingOptions.Default

Returns: FSharpParsingOptions
Returns: FSharpParsingOptions

Type something to start searching.