Stillat / blade-parser-typescript

A Laravel Blade parser, compiler, and static analyzer written in TypeScript.
https://stillat.com
MIT License
82 stars 2 forks source link

feat: support multiple params in selected directives (close #89) #90

Closed claytonrcarter closed 7 months ago

claytonrcarter commented 7 months ago

Notes:

JohnathonKoster commented 7 months ago

Thanks for this! I'll go through and make some adjustments and should have something ready to go by hopefully the end of the day. I'll adjust some of the new tests to account/take advantage of some existing behaviors (mainly around arrays staying on a single line vs. when they will expand to multiple lines)

JohnathonKoster commented 7 months ago

Thanks again for getting the ball rolling on this one! I like the direction, but made a few changes:

claytonrcarter commented 7 months ago

Thanks for the merge. This makes sense and a more general approach is 👍. I had forgotten about @can and @yield ... I guess this was more common that I thought!