public ParsingException(ParserExceptionType exceptionType, Token <TokenType> token, TokenType[] expectedTokenTypes) { ExceptionType = exceptionType; Token = token; ExpectedTokenTypes = expectedTokenTypes; }
internal ParserException(int position, ParserExceptionType type, string message = "") : base(position, message) { this.type = type; }