C# Class System.Linq.Expressions.Interpreter.Interpreter

A simple forth-style stack machine for executing Expression trees without the need to compile to IL and then invoke the JIT. This trades off much faster compilation time for a slower execution performance. For code that is only run a small number of times this can be a sweet spot. The core loop in the interpreter is the Run(InterpretedFrame) method.
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Interpreter System.Collections.Generic
Run void

Private Methods

Method Description
Interpreter ( string name, LocalVariables locals, System.Linq.Expressions.Interpreter.InstructionArray instructions, DebugInfo debugInfos ) : System.Collections.Generic
Run ( InterpretedFrame frame ) : void