C# Class LSharp.Closure

A closure is a function defined within a captured environment
Mostrar archivo Open project: RobBlackwell/LSharp Class Usage Examples

Public Methods

Method Description
Closure ( object parameters, object body, Environment environment )
Invoke ( object arguments ) : object
ProcessArguments ( object parameters, object arguments, Environment localEnvironment ) : void

Method Details

Closure() public method

public Closure ( object parameters, object body, Environment environment )
parameters object
body object
environment Environment

Invoke() public method

public Invoke ( object arguments ) : object
arguments object
return object

ProcessArguments() public method

public ProcessArguments ( object parameters, object arguments, Environment localEnvironment ) : void
parameters object
arguments object
localEnvironment Environment
return void