Why not have this method in `ast/Parsers.scala`?