#include "third_party/blink/renderer/core/css/css_syntax_string_parser.h"
#include <utility>
#include "third_party/blink/renderer/core/css/css_syntax_component.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_idioms.h"
#include "third_party/blink/renderer/core/css/properties/css_parsing_utils.h"
#include "third_party/blink/renderer/core/html/parser/html_parser_idioms.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
namespace blink {
namespace {
std::optional<CSSSyntaxType> ParseSyntaxType(StringView type) { … }
bool IsPreMultiplied(CSSSyntaxType type) { … }
}
CSSSyntaxStringParser::CSSSyntaxStringParser(const String& string)
: … { … }
std::optional<CSSSyntaxDefinition> CSSSyntaxStringParser::Parse() { … }
bool CSSSyntaxStringParser::ConsumeSyntaxComponent(
Vector<CSSSyntaxComponent>& components) { … }
CSSSyntaxRepeat CSSSyntaxStringParser::ConsumeRepeatIfPresent() { … }
bool CSSSyntaxStringParser::ConsumeDataTypeName(CSSSyntaxType& type) { … }
bool CSSSyntaxStringParser::ConsumeIdent(String& ident) { … }
}