very nearly working transform of the AST to a form that has line/col info instead of just line info...