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
Then I get a getNumberRuleList function generated. Why can I generate this for a token directly?
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
rogerbarton
changed the title
Accessors not generated for rule with multiple tokens
Accessors not generated for rule with multiple same tokens
Jul 5, 2021
I have a problem with getters not being generated for the PsiElement's when using multiple regexp tokens of the same type in one rule.
When running
Generate Parser Code
, the generated class MyUnpackedDimension does not have getters for the two numbers.So I added the methods
first
andlast
, however these give me the error:If I implement
NUMBER
as a rule, not a token:Then I get a
getNumberRuleList
function generated. Why can I generate this for a token directly?Thanks in advance :)
The text was updated successfully, but these errors were encountered: