-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RD-10639/RD-10608: SQL parameter definition and parsing (also fixes: …
…RD-10712, RD-10712, RD-10681, RD-10612) (#368) - The *snapi-parser* project is now containing also the sql parser, so it should be renamed to "parsers". - Sql client now depends on kiama so we can use the positions functions and also pretty-print, and walk the tree if needed - The parser is designed in such way to gather information that we need, and ignore everything else. It should always parse without errors. Some big queries are added to the tests to make sure they parse. - The params are kept track of with their defined type and their occurances. - Tree, positions, params (with their type, default value, occurrences, description), return description are available after parsing --------- Co-authored-by: Benjamin Gaidioz <ben@raw-labs.com> Co-authored-by: Cesar Matos <cesar@raw-labs.com>
- Loading branch information
1 parent
2f86003
commit b661522
Showing
29 changed files
with
3,738 additions
and
874 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 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.