Skip to content

Conversation

makotot
Copy link
Contributor

@makotot makotot commented Aug 4, 2023

Closes #685

Intend to use this in the following ways in #672.

let node = ctx.nodes().get_node(reference.node_id());
if !self.type_of && has_typeof_operator(node, ctx) {
    return;
}

@github-actions github-actions bot added A-semantic Area - Semantic A-minifier Area - Minifier labels Aug 4, 2023
@makotot makotot changed the title feat(semantic): add node_id to Reference feat(semantic): add node_id to Reference Aug 4, 2023
@makotot makotot marked this pull request as ready for review August 4, 2023 13:38
@Boshen Boshen merged commit c5ff534 into oxc-project:main Aug 5, 2023
@Boshen
Copy link
Member

Boshen commented Aug 5, 2023

Thank you! This is what we need!

@makotot makotot deleted the semantic/reference/nodeid branch August 5, 2023 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-minifier Area - Minifier A-semantic Area - Semantic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(semantic): add AstNodeId to Reference
2 participants