C# Class Mono.CSharp.Driver

The compiler driver.
Exibir arquivo Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
About void
AddArgs string[]
AddAssemblyReference void
AddAssemblyReference void
AddResource void
AddSourceFile void
CSCParseOption bool
Driver System
Error_RequiresArgument void
Error_RequiresFileName void
Error_WrongOption void
IsExternAliasValid bool
LoadArgs string[]
OtherFlags void
Parse void
Parse void
ParseArguments bool
ProcessSourceFiles void
SetWarningLevel void
ShowTime void
ShowTotalTime void
SplitPathAndPattern void
TargetUsage void
UnixParseOption bool
Usage void
Version void
tokenize_file void

Public Methods

Method Description
Compile ( ) : bool
Create ( string args, bool require_files, Func unknown_option_parser, ReportPrinter printer ) : Driver
GetPackageFlags ( string packages, bool fatal, Report report ) : string
Main ( string args ) : int
Parse ( ModuleContainer module ) : void

Private Methods

Method Description
About ( ) : void
AddArgs ( string args, string extra_args ) : string[]
AddAssemblyReference ( string assembly ) : void
AddAssemblyReference ( string alias, string assembly ) : void
AddResource ( AssemblyResource res ) : void
AddSourceFile ( string f ) : void
CSCParseOption ( string option, string &args ) : bool
Driver ( CompilerContext ctx ) : System
Error_RequiresArgument ( string option ) : void
Error_RequiresFileName ( string option ) : void
Error_WrongOption ( string option ) : void
IsExternAliasValid ( string identifier ) : bool
LoadArgs ( string file ) : string[]
OtherFlags ( ) : void
Parse ( CompilationUnit file, ModuleContainer module ) : void
Parse ( SeekableStreamReader reader, CompilationUnit file, ModuleContainer module ) : void
ParseArguments ( string args, bool require_files, Func unknown_option_parser ) : bool
ProcessSourceFiles ( string spec, bool recurse ) : void
SetWarningLevel ( string s ) : void
ShowTime ( string msg ) : void
ShowTotalTime ( string msg ) : void
SplitPathAndPattern ( string spec, string &path, string &pattern ) : void
TargetUsage ( ) : void
UnixParseOption ( string arg, string &args, int &i ) : bool
Usage ( ) : void
Version ( ) : void
tokenize_file ( CompilationUnit file, CompilerContext ctx ) : void

Method Details

Compile() public method

public Compile ( ) : bool
return bool

Create() public static method

public static Create ( string args, bool require_files, Func unknown_option_parser, ReportPrinter printer ) : Driver
args string
require_files bool
unknown_option_parser Func
printer ReportPrinter
return Driver

GetPackageFlags() public static method

public static GetPackageFlags ( string packages, bool fatal, Report report ) : string
packages string
fatal bool
report Report
return string

Main() public static method

public static Main ( string args ) : int
args string
return int

Parse() public method

public Parse ( ModuleContainer module ) : void
module ModuleContainer
return void