static String quote(Parser p) { final label = p.label; if (label.contains(' ')) { return '(' + label + ')'; } return label; }