clearDFA method

void clearDFA()

Clear the DFA cache used by the current instance. Since the DFA cache may be shared by multiple ATN simulators, this method may affect the performance (but not accuracy) of other parsers which are being used concurrently.

@throws UnsupportedOperationException if the current instance does not support clearing the DFA.

@since 4.3

Implementation

void clearDFA() {
  throw UnsupportedError(
      'This ATN simulator does not support clearing the DFA.');
}