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
translationUnit
: BYTE_ORDER_MARK? uses* (Scopes+=scope | Traits+=traits | PassiveStatements+=passiveStmt)* EOF// BOM is skipped by lexer, but we mention here
;
In the generated C# code it creates List<T> members named _Scopes and _Traits and _PassiveStatements but why the leading _ character? how can I stop it from prefixing the names like this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have this parser rule:
In the generated C# code it creates
List<T>
members named_Scopes
and_Traits
and_PassiveStatements
but why the leading_
character? how can I stop it from prefixing the names like this?Beta Was this translation helpful? Give feedback.
All reactions