Table of Contents

Class ParseWrongSymbolException

Namespace
Utils.Expressions
Assembly
Utils.dll

Thrown when the parser encounters a symbol that is incorrect for the current context.

public class ParseWrongSymbolException : ParseException, ISerializable
Inheritance
ParseWrongSymbolException
Implements
Inherited Members
Extension Methods

Constructors

ParseWrongSymbolException(string, string, int)

Initializes a new instance of the ParseWrongSymbolException class, indicating that the parser found an unexpected symbol instead of the required one.

public ParseWrongSymbolException(string rightSymbol, string wrongSymbol, int errorIndex)

Parameters

rightSymbol string

The symbol that was expected.

wrongSymbol string

The symbol that was actually found.

errorIndex int

The position in the input where the error was detected.