Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Those wrappers were needed in v1 to hide the underlying JSON structures emitted by libpg_query, making it possible to see them as generic Python instances. Version 3 obsoleted that by introducing a set of concrete AST classes, and the wrappers were kept mainly for their ability to track the parentship of each node, required by some of the printer functions. Now they are gone, and everything works directly on AST classes, and the printers use the new "ancestors" slot attached to each instance. This implements issue #80.
- Loading branch information
Showing
15 changed files
with
395 additions
and
995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.