LexerRecover Method (RecognitionException) |
Lexers can normally match any char in it's vocabulary after matching
a token, so do the easy thing and just kill a character and hope
it all works out. You can instead use the rule invocation stack
to do sophisticated error recovery if you are in a fragment rule.
Namespace:
Stimulsoft.Data.Expressions.Antlr.Runtime
Assembly:
Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntaxpublic virtual void Recover(
RecognitionException re
)
Public Overridable Sub Recover (
re As RecognitionException
)
Parameters
- re
- Type: Stimulsoft.Data.Expressions.Antlr.RuntimeRecognitionException
[Missing <param name="re"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Lexer.Recover(Stimulsoft.Data.Expressions.Antlr.Runtime.RecognitionException)"]
See Also