Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selector list in AST #7

Open
tzi opened this issue Dec 28, 2016 · 0 comments
Open

Selector list in AST #7

tzi opened this issue Dec 28, 2016 · 0 comments

Comments

@tzi
Copy link

tzi commented Dec 28, 2016

Hi salesforce UX team!

When I parse a SCSS selector made of a list of selector, I've got a punctuation type instead of a list:

{type: 'selector', value: [
    {type: 'class',       value: [ [Object] ]},
    {type: 'punctuation', value: ','},
    {type: 'space',       value: '\n'},
    {type: 'class',       value: [ [Object] ]},
    { ... }
]}

Could it be more explicit / useful to have a real list of selector ?

{type: 'selector', value: [
    {type: 'selector', value: [
        {type: 'class', value: [ [Object] ]}
    ]},
    {type: 'selector', value: [
        {type: 'space', value: '\n'},
        {type: 'class', value: [ [Object] ]}
    ]},
    { ... }
]}

Thanks for sharing this tool!

Cheers,
Thomas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant