Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Conversation

@TrySound
Copy link
Collaborator

Hi, @coderhaoxin !
What do you think about ast?

I use similar in postcss-value-parser

@TrySound
Copy link
Collaborator Author

I can concat everything between commas if there are more than one entities. You think it's a good way?

@TrySound
Copy link
Collaborator Author

//= if ("str" === dsf) => [{ type: 'expr', value: '"str" === dsf' }]
//= include('name', {}) => [{ type: 'string', value: 'name', { type: 'obj', value: '{}' } }]

@haoxins
Copy link
Owner

haoxins commented Oct 17, 2015

LGTM

I use similar in postcss-value-parser

If there are more normal use cases, maybe you can split it to another separate module.

@TrySound
Copy link
Collaborator Author

@coderhaoxin I want to make full parser soon. For now this thing is just but fix.

@TrySound TrySound closed this Jul 11, 2019
@TrySound TrySound deleted the parse-args branch July 11, 2019 08:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants