C# Class clojure.console.ClojureConsole

Inheritance: ConsoleHost, Compiler.EEHooks
显示文件 Open project: arohner/clojure-contrib Class Usage Examples

Public Methods

Method Description
Eval ( object form ) : object
GenerateTypedDelegate ( Type delegateType, Symbol optName, IPersistentVector argList, ISeq body ) : Delegate
LoadFile ( string filename ) : object
LoadFromStream ( TextReader rdr ) : object
Macroexpand1 ( object form ) : object

Protected Methods

Method Description
CreateCommandLine ( ) : CommandLine
CreateRuntimeSetup ( ) : ScriptRuntimeSetup
ExecuteInternal ( ) : void

Private Methods

Method Description
GetLanguageContext ( ) : clojure.runtime.ClojureContext
GetSourceUnit ( Microsoft.Scripting.ScriptSource scriptSource ) : SourceUnit
LoadFromPushbackReader ( Microsoft.Scripting.ScriptSource scriptSource, TextReader pbr, bool addPrint ) : object
Main ( string args ) : int
MaybeInitialize ( ) : void

Method Details

CreateCommandLine() protected method

protected CreateCommandLine ( ) : CommandLine
return CommandLine

CreateRuntimeSetup() protected method

protected CreateRuntimeSetup ( ) : ScriptRuntimeSetup
return Microsoft.Scripting.Hosting.ScriptRuntimeSetup

Eval() public method

public Eval ( object form ) : object
form object
return object

ExecuteInternal() protected method

protected ExecuteInternal ( ) : void
return void

GenerateTypedDelegate() public method

public GenerateTypedDelegate ( Type delegateType, Symbol optName, IPersistentVector argList, ISeq body ) : Delegate
delegateType System.Type
optName clojure.lang.Symbol
argList IPersistentVector
body ISeq
return System.Delegate

LoadFile() public method

public LoadFile ( string filename ) : object
filename string
return object

LoadFromStream() public method

public LoadFromStream ( TextReader rdr ) : object
rdr TextReader
return object

Macroexpand1() public method

public Macroexpand1 ( object form ) : object
form object
return object