This uses a separate, lower-level AST than the parser so that it can retain the raw tokens and make surgical changes. As a consequence it has much less semantic detail than the parser AST, and in particular doesn't represent the structure of expressions except to retain variable references to enable global rename operations. |
||
---|---|---|
.. | ||
ast.go | ||
doc.go | ||
tokens.go |