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
Is it possible to do something similar in the JavaScriptParser.g4 file?
I see that the lexer g4 files support pushMode/popMode. However, we need to make it parse a bit more when we have an error in the function body like #3727
Those errors are back if we add the functionDeclaration back to the anonymousFunction rule or if we add an optional identifier to the # AnonymousFunctionDecl
I tried this, but it doesn't seem to have any effect.
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
-
In our old javascript grammar file we had
Is it possible to do something similar in the JavaScriptParser.g4 file?
I see that the lexer g4 files support pushMode/popMode. However, we need to make it parse a bit more when we have an error in the function body like #3727
Those errors are back if we add the functionDeclaration back to the anonymousFunction rule or if we add an optional identifier to the # AnonymousFunctionDecl
I tried this, but it doesn't seem to have any effect.
Beta Was this translation helpful? Give feedback.
All reactions