jquery / jquery/esprima

Export "Node" interface from esprima

Open
#1,983 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.1k
Forks
772
PR merge metrics
No merged PRs in 30d

Description

It would be nice to have access to classes from "ndoes.ts" module.
https://github.com/jquery/esprima/blob/master/src/nodes.ts

This simplifies the process of creating a Node when you want to modify AST

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/nodes.ts, which the issue identifies as the module containing the Node interface and related classes. Check how the module currently exposes its declarations, then verify that Node can be imported and used when creating or modifying an AST; done means the requested interface is publicly accessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.