Replies: 1 comment
-
If you are looking to generate anything from CUE, you almost certainly want to walk the
This is all possible via the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks
The tool i ma writing is trying to lift the types in cue and generate ts, python code. Unfortunately from what i can see i am forced to use ast walking. For example listlit only allows iterating on concrete values not types of incomplete types.
As such, I am trying to parse the ast tree formed by the snippet of code below. The problem is that i dont want to handle types references and/or imports while doing ast traversals. Is it possible to form a full tree from say node
s00and then do the traversal ? I am looking atast.Resolvein the hopes that it does what i want it to do.Beta Was this translation helpful? Give feedback.
All reactions