split method

List<String> split()

Implementation

List<String> split() {
  var buf = <String>[];
  Parse? node = this;
  while (node != null) {
    buf.add(node.toString());
    node = node.parent;
  }
  return buf.reversed.toList();
}