WarnScopes Module
Functions and values
| Function or value |
Description
|
Full Usage:
IsNowarn arg1 warningNumber mo
Parameters:
FSharpDiagnosticOptions
warningNumber : int
mo : range option
Returns: bool
|
Check if the range is inside a "nowarn" scope for the given warning number.
|
Full Usage:
IsWarnon arg1 warningNumber mo
Parameters:
FSharpDiagnosticOptions
warningNumber : int
mo : range option
Returns: bool
|
Check if the range is inside a "warnon" scope for the given warning number.
|
Full Usage:
MergeInto arg1 isScript subModuleRanges arg4
Parameters:
FSharpDiagnosticOptions
isScript : bool
subModuleRanges : range list
arg3 : Lexbuf
|
To be called after lexing a file to create warn scopes from the stored line and warn directives and to add them to the warn scopes from other files in the diagnostics options. Note that isScript and subModuleRanges are needed only to avoid breaking changes for previous language versions.
|
|
To be called during lexing to save #nowarn / #warnon directives.
|
|
fantomas