C# Class Microsoft.Scripting.Hosting.Shell.OptionsParser

Mostrar archivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
Parse ( string args, ScriptRuntimeSetup setup, LanguageSetup languageSetup, PlatformAdaptationLayer platform ) : void

Protected Methods

Method Description
AfterParse ( ) : void
BeforeParse ( ) : void
IgnoreRemainingArgs ( ) : void
InvalidOptionValue ( string option, string value ) : Exception
OptionsParser ( ) : System
ParseArgument ( string arg ) : void
PeekNextArg ( ) : string
PopNextArg ( ) : string
PopRemainingArgs ( ) : string[]
PushArgBack ( ) : void

Private Methods

Method Description
GetHelp ( string &commandLine, string &options, string &environmentVariables, string &comments ) : void

Method Details

AfterParse() protected method

protected AfterParse ( ) : void
return void

BeforeParse() protected method

protected BeforeParse ( ) : void
return void

IgnoreRemainingArgs() protected method

protected IgnoreRemainingArgs ( ) : void
return void

InvalidOptionValue() protected static method

protected static InvalidOptionValue ( string option, string value ) : Exception
option string
value string
return System.Exception

OptionsParser() protected method

protected OptionsParser ( ) : System
return System

Parse() public method

On error.
public Parse ( string args, ScriptRuntimeSetup setup, LanguageSetup languageSetup, PlatformAdaptationLayer platform ) : void
args string
setup ScriptRuntimeSetup
languageSetup LanguageSetup
platform PlatformAdaptationLayer
return void

ParseArgument() protected abstract method

protected abstract ParseArgument ( string arg ) : void
arg string
return void

PeekNextArg() protected method

protected PeekNextArg ( ) : string
return string

PopNextArg() protected method

protected PopNextArg ( ) : string
return string

PopRemainingArgs() protected method

protected PopRemainingArgs ( ) : string[]
return string[]

PushArgBack() protected method

protected PushArgBack ( ) : void
return void