#include "core/fpdfapi/parser/cpdf_simple_parser.h"
#include <stdint.h>
#include <optional>
#include "core/fpdfapi/parser/fpdf_parser_utility.h"
#include "core/fxcrt/check_op.h"
CPDF_SimpleParser::CPDF_SimpleParser(pdfium::span<const uint8_t> input)
: … { … }
CPDF_SimpleParser::~CPDF_SimpleParser() = default;
ByteStringView CPDF_SimpleParser::GetWord() { … }
ByteStringView CPDF_SimpleParser::GetDataToCurrentPosition(
uint32_t start_position) const { … }
std::optional<uint8_t> CPDF_SimpleParser::SkipSpacesAndComments() { … }
ByteStringView CPDF_SimpleParser::HandleName() { … }
ByteStringView CPDF_SimpleParser::HandleBeginAngleBracket() { … }
ByteStringView CPDF_SimpleParser::HandleEndAngleBracket() { … }
ByteStringView CPDF_SimpleParser::HandleParentheses() { … }
ByteStringView CPDF_SimpleParser::HandleNonDelimiter() { … }