HTCallScope constructor

HTCallScope(
  1. int slotCount,
  2. List<String> slotNames, {
  3. HTCallScope? closure,
  4. List<int> capturedSlots = const [],
  5. List<HTVariableCell> upvalues = const [],
})

Implementation

HTCallScope(
  int slotCount,
  this.slotNames, {
  this.closure,
  List<int> capturedSlots = const [],
  this.upvalues = const [],
})  : slots = List<dynamic>.filled(slotCount, null),
      capturedSlots = capturedSlots,
      _hasCapturedSlots = capturedSlots.isNotEmpty,
      _mutable = List<bool>.filled(slotCount, true),
      _initialized = List<bool>.filled(slotCount, false);