C# Class Mono.CSharp.CommandLineParser

Show file Open project: praeclarum/runcs Class Usage Examples

Public Methods

Method Description
CommandLineParser ( Report report ) : System
CommandLineParser ( Report report, TextWriter messagesOutput ) : System
ParseArguments ( string args ) : CompilerSettings

Private Methods

Method Description
About ( ) : void
AddArgs ( string args, string extra_args ) : string[]
AddAssemblyReference ( string alias, string assembly, CompilerSettings settings ) : void
AddResource ( AssemblyResource res, CompilerSettings settings ) : void
AddSourceFile ( string f ) : void
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
ParseOption ( string option, string &args, CompilerSettings settings ) : ParseResult
ParseOptionUnix ( string arg, string &args, int &i, CompilerSettings settings ) : ParseResult
ProcessSourceFiles ( string spec, bool recurse ) : void
SetWarningLevel ( string s ) : void
SplitPathAndPattern ( string spec, string &path, string &pattern ) : void
Usage ( ) : void
Version ( ) : void

Method Details

CommandLineParser() public method

public CommandLineParser ( Report report ) : System
report Report
return System

CommandLineParser() public method

public CommandLineParser ( Report report, TextWriter messagesOutput ) : System
report Report
messagesOutput System.IO.TextWriter
return System

ParseArguments() public method

public ParseArguments ( string args ) : CompilerSettings
args string
return CompilerSettings