internal EnterLoopInstruction(PowerShellLoopExpression loop, LocalVariables locals, int compilationThreshold, int instructionIndex) { this._loop = loop; this._variables = locals.CopyLocals(); this._closureVariables = locals.ClosureVariables; this._compilationThreshold = compilationThreshold; this._instructionIndex = instructionIndex; }
public LightCompiler(int compilationThreshold) { this._locals = new LocalVariables(); this._debugInfos = new List<DebugInfo>(); this._treeLabels = new HybridReferenceDictionary<LabelTarget, LabelInfo>(); this._labelBlock = new LabelScopeInfo(null, LabelScopeKind.Lambda); this._exceptionForRethrowStack = new Stack<ParameterExpression>(); this._instructions = new InstructionList(); this._compilationThreshold = (compilationThreshold < 0) ? 0x20 : compilationThreshold; }
internal Interpreter(string name, LocalVariables locals, HybridReferenceDictionary<LabelTarget, BranchLabel> labelMapping, InstructionArray instructions, DebugInfo[] debugInfos, int compilationThreshold) { this._name = name; this._localCount = locals.LocalCount; this._closureVariables = locals.ClosureVariables; this._instructions = instructions; this._objects = instructions.Objects; this._labels = instructions.Labels; this._labelMapping = labelMapping; this._debugInfos = debugInfos; this._compilationThreshold = compilationThreshold; }
public VariableScope(LocalVariable variable, int start, LocalVariables.VariableScope parent) { this.Variable = variable; this.Start = start; this.Parent = parent; }