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

JavaScript: capture function objects in Self-Invoking Anonymous Function Statements #2005

Closed

Conversation

masatake
Copy link
Member

Signed-off-by: Masatake YAMATO [email protected]

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 85.128% when pulling 54f8b9a on masatake:js-self-invoking-anon-func into 84dbaf5 on universal-ctags:master.

parsers/jscript.c Outdated Show resolved Hide resolved
}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really fancy having all this in parseLine() instead of parseStatement(), but I must admit that it's a lot easier that way, so why not.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..I recognize putting all new code to parseLine is not good.
At least I should introduce a new function to handle (function ()...).

I will update my patch.

@b4n
Copy link
Member

b4n commented Feb 11, 2019 via email

@masatake
Copy link
Member Author

Sorry to be late. During working on improving my change, I found some inputs the parser doesn't work well.
I'm trying to understand them and improving code for debugging now.

@masatake masatake force-pushed the js-self-invoking-anon-func branch from 54f8b9a to 857ef27 Compare July 5, 2022 22:59
@jafl jafl self-requested a review July 5, 2022 23:06
@masatake masatake force-pushed the js-self-invoking-anon-func branch from 857ef27 to c4848c4 Compare July 6, 2022 14:26
@masatake
Copy link
Member Author

masatake commented Jul 6, 2022

Sorry to be late. During working on improving my change, I found some inputs the parser doesn't work well.
I'm trying to understand them and improving code for debugging now.

I cannot remember the inputs.

@codecov
Copy link

codecov bot commented Jul 6, 2022

Codecov Report

Merging #2005 (2973fa8) into master (56813d1) will increase coverage by 0.00%.
The diff coverage is 84.00%.

@@           Coverage Diff           @@
##           master    #2005   +/-   ##
=======================================
  Coverage   83.35%   83.35%           
=======================================
  Files         218      218           
  Lines       52510    52538   +28     
=======================================
+ Hits        43769    43795   +26     
- Misses       8741     8743    +2     
Impacted Files Coverage Δ
parsers/jscript.c 97.26% <84.00%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56813d1...2973fa8. Read the comment docs.

@masatake masatake force-pushed the js-self-invoking-anon-func branch from c4848c4 to d0ed6dc Compare July 8, 2022 02:48
@masatake
Copy link
Member Author

#3437 is a much better solution.
I withdraw this.

@masatake masatake closed this Jul 12, 2022
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.

3 participants