/// <summary>Initializes a new instance of the <see cref="ScopeStack{T}"/> class.</summary> /// <remarks> /// The stack is initialized with a "global" scope ready for use without additional /// initialization. Subsequent scopes for the stack are generated by calling the /// <see cref="EnterScope"/> method. /// </remarks> public ScopeStack( ) { Scopes.Push(new Dictionary <string, T>( )); }
internal ExpressionTreeTransformer(ILanguageDefinition languageDefinition, CompiledScope scope) { LanguageDefinition = languageDefinition; OperatorTransformer = new ExpressionTreeOperatorTransformer(this, languageDefinition); Scopes.Push(scope); }