issues
search
Shopify
/
prettier-plugin-liquid
Prettier Liquid/HTML plugin
https://npm.im/@shopify/prettier-plugin-liquid
MIT License
93
stars
15
forks
source link
Internal refactor of parser pipeline
#118
Closed
charlespwd
closed
1 year ago
charlespwd
commented
1 year ago
Renames (objective make the flow more obvious)
cst.ts
->
stage-1-cst.ts
,
ast.ts
->
stage-2-ast.ts
Add explainer comments at head of both files
Make the CST responsible for setting
.source
on the nodes
Cleans up wiring of
source
argument in all the methods in
stage-2-ast.ts
cst.ts
->stage-1-cst.ts
,ast.ts
->stage-2-ast.ts
.source
on the nodessource
argument in all the methods instage-2-ast.ts