getAllContextNodes static method

List<PredictionContext> getAllContextNodes(
  1. PredictionContext context
)

Implementation

static List<PredictionContext> getAllContextNodes(PredictionContext context) {
  final nodes = <PredictionContext>[];
  final visited = <PredictionContext, PredictionContext>{};
  getAllContextNodes_(context, nodes, visited);
  return nodes;
}