Calitha GOLD Parser Engine Documentation

LALRParser.OnTokenError Event

This event will be called when the tokenizer cannot recognize the input.

public event TokenErrorHandler OnTokenError;

Event Data

The event handler receives an argument of type TokenErrorEventArgs containing data related to this event. The following TokenErrorEventArgs properties provide information specific to this event.

Property Description
Continue The continue property can be set during the token error event, to continue the parsing process. The current token will be ignored. Default value is false.
Token The error token that also consists of the character that causes the token read error.

See Also

LALRParser Class | com.calitha.goldparser Namespace