Dynamic token name #1891
Unanswered
Serhioromano
asked this question in
Q&A
Replies: 2 comments 5 replies
-
You can modify the resulting CST (Concrete Syntax Tree) by using |
Beta Was this translation helpful? Give feedback.
3 replies
-
The The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have token like this
But I use it in different cases with
$.CONSUME
. In one place it is the name of the function or variable or function parameter, in another place it is name of namespace or program or a name of a custom type. In my parsed tree I want to know a different type of this symbol. Can I use one Regex to use to parse different types of tokens?Beta Was this translation helpful? Give feedback.
All reactions