#include "third_party/blink/renderer/core/css/parser/at_rule_descriptor_parser.h"
#include "third_party/blink/renderer/core/css/css_font_face_src_value.h"
#include "third_party/blink/renderer/core/css/css_string_value.h"
#include "third_party/blink/renderer/core/css/css_unicode_range_value.h"
#include "third_party/blink/renderer/core/css/css_unparsed_declaration_value.h"
#include "third_party/blink/renderer/core/css/css_unset_value.h"
#include "third_party/blink/renderer/core/css/css_value.h"
#include "third_party/blink/renderer/core/css/css_value_pair.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_mode.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_range.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/css/parser/css_variable_parser.h"
#include "third_party/blink/renderer/core/css/properties/css_parsing_utils.h"
#include "third_party/blink/renderer/core/css/properties/css_property.h"
namespace blink {
namespace {
CSSValue* ConsumeFontVariantList(CSSParserTokenStream& stream) { … }
CSSIdentifierValue* ConsumeFontDisplay(CSSParserTokenStream& stream) { … }
CSSValueList* ConsumeFontFaceUnicodeRange(CSSParserTokenStream& stream) { … }
bool IsSupportedFontFormat(String font_format) { … }
CSSFontFaceSrcValue::FontTechnology ValueIDToTechnology(CSSValueID valueID) { … }
CSSValue* ConsumeFontFaceSrcURI(CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* ConsumeFontFaceSrcLocal(CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* ConsumeFontFaceSrcSkipToComma(
CSSValue* parse_function(CSSParserTokenStream&, const CSSParserContext&),
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValueList* ConsumeFontFaceSrc(CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* ConsumeDescriptor(StyleRule::RuleType rule_type,
AtRuleDescriptorID id,
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* ConsumeFontMetricOverride(CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
}
CSSValue* AtRuleDescriptorParser::ParseFontFaceDescriptor(
AtRuleDescriptorID id,
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* AtRuleDescriptorParser::ParseFontFaceDescriptor(
AtRuleDescriptorID id,
StringView string,
const CSSParserContext& context) { … }
CSSValue* AtRuleDescriptorParser::ParseFontFaceDeclaration(
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* AtRuleDescriptorParser::ParseAtPropertyDescriptor(
AtRuleDescriptorID id,
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
CSSValue* AtRuleDescriptorParser::ParseAtViewTransitionDescriptor(
AtRuleDescriptorID id,
CSSParserTokenStream& stream,
const CSSParserContext& context) { … }
bool AtRuleDescriptorParser::ParseAtRule(
StyleRule::RuleType rule_type,
AtRuleDescriptorID id,
CSSParserTokenStream& stream,
const CSSParserContext& context,
HeapVector<CSSPropertyValue, 64>& parsed_descriptors) { … }
}