Example #1
0
 public VariableBindingScope(BindingScope containingScope,
                             IVariableDeclarationStatement variableDeclaration)
 {
     ContainingScope = containingScope;
     VariableBinding = new VariableBinding(variableDeclaration);
     ContainingScope.NestedBindingDeclared(VariableBinding);
 }
Example #2
0
 public VariableBindingScope(
     BindingScope containingScope,
     INamedParameter parameter)
 {
     ContainingScope = containingScope;
     VariableBinding = new VariableBinding(parameter);
     ContainingScope.NestedBindingDeclared(VariableBinding);
 }