I know this is not new code, but we shouldn't use Assert in parsers, we should use `parserContext.getReaderContext().error()`.