Skip to content

JavaScript: Add more default source nodes.#1561

Merged
semmle-qlci merged 2 commits intogithub:masterfrom
xiemaisi:js/await-sourcenode
Jul 8, 2019
Merged

JavaScript: Add more default source nodes.#1561
semmle-qlci merged 2 commits intogithub:masterfrom
xiemaisi:js/await-sourcenode

Conversation

@xiemaisi
Copy link

@xiemaisi xiemaisi commented Jul 8, 2019

As mentioned by @asger-semmle on #1495, await really should be a source node. This PR makes it so, and also adds in yield and dynamic import expressions as well as a few other experimental and legacy language features involving non-local flow.

No changes (internal link), so no change note.

In particular, `await`, `yield` and dynamic `import` expressions are now source nodes, as well as a few other experimental and legacy language features involving non-local flow.
@xiemaisi xiemaisi added the JS label Jul 8, 2019
@xiemaisi xiemaisi requested a review from a team as a code owner July 8, 2019 07:19
* - import specifiers
* - function parameters
* - `this` nodes
* - `this` expressions
Copy link
Contributor

Choose a reason for hiding this comment

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

ThisExpr is not a source node. Maybe say function receivers instead?

Copy link
Author

Choose a reason for hiding this comment

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

Makes sense.

Copy link
Author

Choose a reason for hiding this comment

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

Changed.

@semmle-qlci semmle-qlci merged commit a6b7f2d into github:master Jul 8, 2019
@xiemaisi xiemaisi deleted the js/await-sourcenode branch August 11, 2019 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants