JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

AbstractSyntaxNode generalization & convenience #208

Closed timholy closed 1 year ago

timholy commented 1 year ago

These add a couple more convenience methods useful for TypedSyntax.

codecov[bot] commented 1 year ago

Codecov Report

Merging #208 (bc172a1) into main (20b3b3e) will increase coverage by 3.70%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
+ Coverage   91.23%   94.93%   +3.70%     
==========================================
  Files          15       15              
  Lines        3593     3793     +200     
==========================================
+ Hits         3278     3601     +323     
+ Misses        315      192     -123     
Impacted Files Coverage Δ
src/syntax_tree.jl 96.27% <100.00%> (+0.20%) :arrow_up:
src/tokenize_utils.jl 100.00% <0.00%> (ø)
src/tokenize.jl 98.35% <0.00%> (+0.06%) :arrow_up:
src/parse_stream.jl 95.75% <0.00%> (+0.45%) :arrow_up:
src/parser.jl 97.95% <0.00%> (+0.67%) :arrow_up:
src/parser_api.jl 82.97% <0.00%> (+0.75%) :arrow_up:
src/green_tree.jl 80.00% <0.00%> (+0.93%) :arrow_up:
src/source_files.jl 85.71% <0.00%> (+1.09%) :arrow_up:
src/literal_parsing.jl 97.87% <0.00%> (+1.89%) :arrow_up:
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

timholy commented 1 year ago

I think these are the last obvious additions needed by TypedSyntax. What are your thoughts on a new release?

c42f commented 1 year ago

If you need it released, let's release 0.3.1 right away!

c42f commented 1 year ago

https://github.com/JuliaLang/JuliaSyntax.jl/pull/209