cloudspannerecosystem / memefish

memefish is the foundation to analyze Spanner SQL
https://cloudspannerecosystem.dev/memefish/
MIT License
76 stars 19 forks source link

feat(parser): add ParseDML #8

Closed makenowjust closed 5 years ago

makenowjust commented 5 years ago

What

Add ParseDML to parse DML.

TODO

codecov[bot] commented 5 years ago

Codecov Report

Merging #8 into master will increase coverage by 0.47%. The diff coverage is 82.32%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   71.31%   71.78%   +0.47%     
==========================================
  Files          24       24              
  Lines        4647     4845     +198     
==========================================
+ Hits         3314     3478     +164     
- Misses       1205     1237      +32     
- Partials      128      130       +2
Impacted Files Coverage Δ
pkg/parser/position.go 15.08% <0%> (-0.77%) :arrow_down:
pkg/parser/ast.go 18.62% <0%> (-0.97%) :arrow_down:
pkg/parser/sql.go 93.39% <100%> (+0.66%) :arrow_up:
pkg/parser/parser.go 91.31% <92.62%> (+0.09%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 64f7d99...0187a45. Read the comment docs.

makenowjust commented 5 years ago

All tasks are done. Let's merge it.

@110y DML parser is ready to use. I am welcome to use this.