You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to find any docs about what I can access through the Node.js API. I would like to convert C++ to TypeScript, as an experiment, and thought I could use the AST produced from tree-sitter for C++, but all it gives me are nodes with a type property, but no function names, variable names, etc..
How can I get access to all that information and traverse the tree? I don't see any examples for this. Thank you!
The text was updated successfully, but these errors were encountered:
You need to implement this yourself.
You can extract the concrete syntax tree of a C++ code file and generate TypeScript code based on it.
there are differences between the two languages, and you'll need to define your own conversion rules.
I can't seem to find any docs about what I can access through the Node.js API. I would like to convert C++ to TypeScript, as an experiment, and thought I could use the AST produced from tree-sitter for C++, but all it gives me are nodes with a
type
property, but no function names, variable names, etc..How can I get access to all that information and traverse the tree? I don't see any examples for this. Thank you!
The text was updated successfully, but these errors were encountered: