So things like classes and functions would be represented as files within a dir representing the actual file?
In many cases it probably requires awareness of packaging in a way that normal AST manipulation does not, at least to be particularly useful it would.