-
Notifications
You must be signed in to change notification settings - Fork 604
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
suggestion: exclude some attribute via attrNameProcessors and pass Node Info to Processors #228
Comments
That does sound useful, yes. The first part is easy enough, the second part trickier since it involves compiling information about that attribute. PRs welcome! |
@Leonidas-from-XIV , I don't know any thing about CoffeeScript ... So ... I don't know how to give you PRs . Sorry |
It is basically just JavaScript with a slightly nicer syntax, reading http://coffeescript.org/#overview is usually enough to get started. |
@Leonidas-from-XIV I'm interested to make a PR for this, I saw these methods:
They do not have problems in order to pass the
The only way to find the tag = @tag # will not work. tag = this.tag # will work!. The issue comes using fat arrows, because the tag = `this.tag` What do you think about it? 💭 |
if attrNameProcessors return
false
, the parser could ignore the attribute.And I hope parser could pass 'node' object to Processors Function.
Because we process attributes not only according to its name usually, we also need to know the attribute's owner , owner's parent and parent's parent ...
My english is very weak , sorry
The text was updated successfully, but these errors were encountered: