fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.04k stars 710 forks source link

[Enhancement][Postcss] : Requesting to add postcss-value-parser and postcss-selector-parser for postcss transformer #466

Open anikethsaha opened 4 years ago

anikethsaha commented 4 years ago

Current Currently, the postcss parser doesn't provide this out of the box. So most of the value node of the graph remains as it is like the value written.

Enhancement There is a postcss-value-parser already present I was thinking if it can be added as an opt-in thing so that those values can be transformed to nodes.

Alternative I couldnt find any other parser or default from postcss.

But I do think it will help a lot to those who are writing postcss-plugins

fkling commented 4 years ago

So this would be another parser that can be selected from the settings?

Screenshot_2019-11-28_00-26-02

anikethsaha commented 4 years ago

Where is this setting handler ? Actually its would be like when enabling it will create additional nodes in the value property. May be

anikethsaha commented 4 years ago

I just saw there is no support for selector-parser by postcss as well. Is it possible to add?