JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

Distinguish `:x` from `quote x end` with a flag #245

Closed c42f closed 1 year ago

c42f commented 1 year ago

This is also distinguishable based on the presence of a child block as the only argument, but having the flag is convenient and also allows to distinguish cases like x.:y from x.y.

codecov[bot] commented 1 year ago

Codecov Report

Merging #245 (e7b6b8c) into main (bd4ae55) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #245   +/-   ##
=======================================
  Coverage   96.42%   96.42%           
=======================================
  Files          15       15           
  Lines        3914     3916    +2     
=======================================
+ Hits         3774     3776    +2     
  Misses        140      140           
Impacted Files Coverage Δ
src/parse_stream.jl 95.88% <100.00%> (+0.01%) :arrow_up:
src/parser.jl 98.25% <100.00%> (ø)

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