C# Class IronRuby.Hosting.RubyCommandLine

A simple Ruby command-line should mimic the standard irb.exe
Inheritance: CommandLine
Afficher le fichier Open project: jschementi/iron

Private Properties

Свойство Type Description
CreateCommandSource Microsoft.Scripting.ScriptSource
GetSourceCodeEncoding Encoding

Méthodes publiques

Méthode Description
GetLogo ( ) : string
RubyCommandLine ( ) : System

Méthodes protégées

Méthode Description
CreateScope ( ) : Scope
ExecuteCommand ( string command ) : void
GetCommandProperties ( string code ) : ScriptCodeParseResult
RunCommand ( string command ) : int
RunFile ( string fileName ) : int
Shutdown ( ) : void
TryInteractiveAction ( ) : int?
UnhandledException ( Exception e ) : void

Private Methods

Méthode Description
CreateCommandSource ( string command, SourceCodeKind kind, string sourceUnitId ) : Microsoft.Scripting.ScriptSource
GetSourceCodeEncoding ( ) : Encoding

Method Details

CreateScope() protected méthode

protected CreateScope ( ) : Scope
Résultat Scope

ExecuteCommand() protected méthode

protected ExecuteCommand ( string command ) : void
command string
Résultat void

GetCommandProperties() protected méthode

protected GetCommandProperties ( string code ) : ScriptCodeParseResult
code string
Résultat ScriptCodeParseResult

GetLogo() public static méthode

public static GetLogo ( ) : string
Résultat string

RubyCommandLine() public méthode

public RubyCommandLine ( ) : System
Résultat System

RunCommand() protected méthode

protected RunCommand ( string command ) : int
command string
Résultat int

RunFile() protected méthode

protected RunFile ( string fileName ) : int
fileName string
Résultat int

Shutdown() protected méthode

protected Shutdown ( ) : void
Résultat void

TryInteractiveAction() protected méthode

protected TryInteractiveAction ( ) : int?
Résultat int?

UnhandledException() protected méthode

protected UnhandledException ( Exception e ) : void
e System.Exception
Résultat void