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

update pyjsparser.__version__ to 2.5.2 #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

qwIvan
Copy link

@qwIvan qwIvan commented Jan 11, 2018

No description provided.

xmo-odoo and others added 7 commits July 14, 2017 14:59
Follows the Recast comment-attachment structure[0], though only
implements a small subset in a straightforwardly hacky manner, and
does not come close to implementing the entire comment-attachment
structure or algorithm:

* comments preceding (some) nodes are extracted and set on the
  `comments` key of the host node
* does not extract the location
* only does leading comments (I don't think it'll mis-attach trailing
  comments but that's not impossible)
* may not work for all node types
* the comments key may be missing entirely
* uses esprima's type (Block/Line) rather than Babel's

[0] dev's reasoning about some comments being ambiguous in Esprima's
    structure/extension makes sense to me:
    jquery/esprima#1024 (comment)
    benjamn/recast#159 (comment)
Add basic comments support to the AST
@qwIvan
Copy link
Author

qwIvan commented Jan 17, 2018

@PiotrDabkowski
The version number is wrong

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

Successfully merging this pull request may close these issues.

2 participants