C# Class Irony.Interpreter.CommandLine

Datei anzeigen Open project: o2platform/O2.Platform.Projects

Public Properties

Property Type Description
Grammar Irony.Parsing.Grammar
Greeting string
Interpreter ScriptInterpreter
Prompt string
PromptMoreInput string
Title string

Public Methods

Method Description
CommandLine ( Grammar grammar ) : System
OnCancelKeyPress ( object sender, ConsoleCancelEventArgs e ) : void
Run ( ) : void

Private Methods

Method Description
ReadInput ( string &input ) : ReadResult
ReportException ( ) : void
RunImpl ( ) : void

Method Details

CommandLine() public method

public CommandLine ( Grammar grammar ) : System
grammar Irony.Parsing.Grammar
return System

OnCancelKeyPress() public method

public OnCancelKeyPress ( object sender, ConsoleCancelEventArgs e ) : void
sender object
e System.ConsoleCancelEventArgs
return void

Run() public method

public Run ( ) : void
return void

Property Details

Grammar public_oe property

public Grammar,Irony.Parsing Grammar
return Irony.Parsing.Grammar

Greeting public_oe property

public string Greeting
return string

Interpreter public_oe property

public ScriptInterpreter,Irony.Interpreter Interpreter
return ScriptInterpreter

Prompt public_oe property

public string Prompt
return string

PromptMoreInput public_oe property

public string PromptMoreInput
return string

Title public_oe property

public string Title
return string