Esempio n. 1
0
        private FlowChecker(ScopeStatement scope)
        {
            _variables = scope.Variables;
            _bits      = new BitArray(_variables.Count * 2);
            int index = 0;

            foreach (var binding in _variables)
            {
                binding.Value.Index = index++;
            }
            _scope = scope;
            _fdef  = new FlowDefiner(this);
            _fdel  = new FlowDeleter(this);
        }
Esempio n. 2
0
 private FlowChecker(ScopeStatement scope) {
     _variables = scope.Variables;
     _bits = new BitArray(_variables.Count * 2);
     int index = 0;
     foreach (var binding in _variables) {
         binding.Value.Index = index++;
     }
     _scope = scope;
     _fdef = new FlowDefiner(this);
     _fdel = new FlowDeleter(this);
 }
Esempio n. 3
0
 private FlowChecker(ScopeStatement scope)
 {
     bindings = scope.Bindings;
     bits = new BitArray(bindings.Count * 2);
     int index = 0;
     foreach (KeyValuePair<SymbolId, Binding> binding in bindings) {
         binding.Value.Index = index++;
     }
     this.scope = scope;
     this.fdef = new FlowDefiner(this);
     this.fdel = new FlowDeleter(this);
 }