ATNConfig.dup constructor

ATNConfig.dup(
  1. ATNConfig c, {
  2. ATNState? state,
  3. int? alt,
  4. PredictionContext? context,
  5. SemanticContext? semanticContext,
})

Implementation

ATNConfig.dup(
  ATNConfig c, {
  ATNState? state,
  int? alt,
  PredictionContext? context,
  SemanticContext? semanticContext,
})  : state = state ?? c.state,
      alt = alt ?? c.alt,
      context = context ?? c.context,
      semanticContext = semanticContext ?? c.semanticContext,
      reachesIntoOuterContext = c.reachesIntoOuterContext;