forked from auduchinok/fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfsc.fsi
More file actions
executable file
·92 lines (77 loc) · 3.67 KB
/
Copy pathfsc.fsi
File metadata and controls
executable file
·92 lines (77 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
module internal FSharp.Compiler.Driver
open FSharp.Compiler.Ast
open FSharp.Compiler.AbstractIL.IL
open FSharp.Compiler.AbstractIL.ILBinaryReader
open FSharp.Compiler.AbstractIL.Internal.Library
open FSharp.Compiler.AbstractIL
open FSharp.Compiler.ErrorLogger
open FSharp.Compiler.CompileOps
open FSharp.Compiler.TcGlobals
[<AbstractClass>]
type ErrorLoggerProvider =
new : unit -> ErrorLoggerProvider
abstract CreateErrorLoggerUpToMaxErrors : tcConfigBuilder : TcConfigBuilder * exiter : Exiter -> ErrorLogger
type StrongNameSigningInfo
val EncodeInterfaceData: tcConfig:TcConfig * tcGlobals:TcGlobals * exportRemapping:Tastops.Remap * generatedCcu: Tast.CcuThunk * outfile: string * isIncrementalBuild: bool -> ILAttribute list * ILResource list
val ValidateKeySigningAttributes : tcConfig:TcConfig * tcGlobals:TcGlobals * TypeChecker.TopAttribs -> StrongNameSigningInfo
val GetStrongNameSigner : StrongNameSigningInfo -> ILBinaryWriter.ILStrongNameSigner option
/// Process the given set of command line arguments
val internal ProcessCommandLineFlags : TcConfigBuilder * setProcessThreadLocals:(TcConfigBuilder -> unit) * lcidFromCodePage : int option * argv:string[] -> string list
//---------------------------------------------------------------------------
// The entry point used by fsc.exe
val typecheckAndCompile :
ctok: CompilationThreadToken *
argv : string[] *
legacyReferenceResolver: ReferenceResolver.Resolver *
bannerAlreadyPrinted : bool *
reduceMemoryUsage: ReduceMemoryFlag *
defaultCopyFSharpCore: CopyFSharpCoreFlag *
exiter : Exiter *
loggerProvider: ErrorLoggerProvider *
tcImportsCapture: (TcImports -> unit) option *
dynamicAssemblyCreator: (TcGlobals * string * ILModuleDef -> unit) option
-> unit
val mainCompile :
ctok: CompilationThreadToken *
argv: string[] *
legacyReferenceResolver: ReferenceResolver.Resolver *
bannerAlreadyPrinted: bool *
reduceMemoryUsage: ReduceMemoryFlag *
defaultCopyFSharpCore: CopyFSharpCoreFlag *
exiter: Exiter *
loggerProvider: ErrorLoggerProvider *
tcImportsCapture: (TcImports -> unit) option *
dynamicAssemblyCreator: (TcGlobals * string * ILModuleDef -> unit) option
-> unit
val compileOfAst :
ctok: CompilationThreadToken *
legacyReferenceResolver: ReferenceResolver.Resolver *
reduceMemoryUsage: ReduceMemoryFlag *
assemblyName:string *
target:CompilerTarget *
targetDll:string *
targetPdb:string option *
dependencies:string list *
noframework:bool *
exiter:Exiter *
loggerProvider: ErrorLoggerProvider *
inputs:ParsedInput list *
tcImportsCapture : (TcImports -> unit) option *
dynamicAssemblyCreator: (TcGlobals * string * ILModuleDef -> unit) option
-> unit
/// Part of LegacyHostedCompilerForTesting
type InProcErrorLoggerProvider =
new : unit -> InProcErrorLoggerProvider
member Provider : ErrorLoggerProvider
member CapturedWarnings : Diagnostic[]
member CapturedErrors : Diagnostic[]
/// The default ErrorLogger implementation, reporting messages to the Console up to the maxerrors maximum
type ConsoleLoggerProvider =
new : unit -> ConsoleLoggerProvider
inherit ErrorLoggerProvider
// For unit testing
module internal MainModuleBuilder =
val fileVersion: findStringAttr: (string -> string option) -> assemblyVersion: ILVersionInfo -> ILVersionInfo
val productVersion: findStringAttr: (string -> string option) -> fileVersion: ILVersionInfo -> string
val productVersionToILVersionInfo: string -> ILVersionInfo