How to cross reference? #1895
Replies: 1 comment 2 replies
-
Hey @Serhioromano, a parser by itself is not capable of recognizing or processing cross references. That requires a more involved approach. For the parser all cross references are just symbols/IDs ( Shameless self plug: We (TypeFox) have written the Langium framework to simplify building and maintaining languages and language servers in particular. It uses Chevrotain under the hood, but puts a grammar language on top of it, which also includes automatic cross reference resolution. |
Beta Was this translation helpful? Give feedback.
-
For instance I have a rule
Then I have a rule where I can select variable or name of that function
I want to add to var_type rule not only any text but also name of the functions created,
Beta Was this translation helpful? Give feedback.
All reactions