Calitha GOLD Parser Engine Documentation

ParseErrorEventArgs Members

ParseErrorEventArgs overview

Public Instance Constructors

ParseErrorEventArgs Constructor

Public Instance Properties

Continue The continue property can be set during the parse error event. It can be set to the following: (1) Stop to not try to parse the rest of the input. (2) Insert will pretend that the next token is the one set in NextToken after which the current "bad" token will be parsed again. (3) Skip will just ignore the current bad token and proceed to parse the input as if nothing happened. The default value is Stop.
ExpectedTokens The symbols that were expected by the parser.
NextToken If the continue property is set to true, then NextToken will be the next token to be used as input to the parser (it will become the lookahead token). The default value is null, which means that the next token will be read from the normal input stream. stream.
UnexpectedToken The token that caused this parser error.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ParseErrorEventArgs Class | com.calitha.goldparser Namespace