[Question] Schema of the produced AST
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
Hi David,
I am using the produced AST in JSON format to build a tree in Java using some tree/node class from another static analyzer project. Basically converting the AST to a Java tree. So far I'm trying to parse the AST in JSON to the Java tree nodes, but I'm not sure I have handled all types of nodes which are produced by the TS compiler. Therefore I'm wondering if you know if there is some kind of a schema (json schema, ...) the produced ASTs follow. I could not find anything like that.
Thanks and best regards Andy
Contributor guide
Research direction
No implementation file or test is named. Start by examining the TypeScript compiler AST represented in the produced JSON and compare the node types exposed by ts-morph; done would be a maintained schema or clear documentation covering the produced node shapes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100