closure method

void closure(
  1. ATNConfig config,
  2. ATNConfigSet configs,
  3. Set<ATNConfig> closureBusy,
  4. bool collectPredicates,
  5. bool fullCtx,
  6. bool treatEofAsEpsilon,
)

Implementation

void closure(
    ATNConfig config,
    ATNConfigSet configs,
    Set<ATNConfig> closureBusy,
    bool collectPredicates,
    bool fullCtx,
    bool treatEofAsEpsilon) {
  final initialDepth = 0;
  closureCheckingStopState(config, configs, closureBusy, collectPredicates,
      fullCtx, initialDepth, treatEofAsEpsilon);
  assert(!fullCtx || !configs.dipsIntoOuterContext);
}