#include "third_party/blink/renderer/core/css/cssom/css_unparsed_value.h"
#include "third_party/blink/renderer/core/css/css_unparsed_declaration_value.h"
#include "third_party/blink/renderer/core/css/css_variable_data.h"
#include "third_party/blink/renderer/core/css/cssom/css_style_variable_reference_value.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_stream.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
namespace {
String FindVariableName(CSSParserTokenStream& range) { … }
V8CSSUnparsedSegment* VariableReferenceValue(
const StringView& variable_name,
const HeapVector<Member<V8CSSUnparsedSegment>>& tokens) { … }
HeapVector<Member<V8CSSUnparsedSegment>> ParserTokenStreamToTokens(
CSSParserTokenStream& stream) { … }
}
CSSUnparsedValue* CSSUnparsedValue::FromCSSValue(
const CSSUnparsedDeclarationValue& value) { … }
CSSUnparsedValue* CSSUnparsedValue::FromCSSVariableData(
const CSSVariableData& value) { … }
V8CSSUnparsedSegment* CSSUnparsedValue::AnonymousIndexedGetter(
uint32_t index,
ExceptionState& exception_state) const { … }
IndexedPropertySetterResult CSSUnparsedValue::AnonymousIndexedSetter(
uint32_t index,
V8CSSUnparsedSegment* segment,
ExceptionState& exception_state) { … }
const CSSValue* CSSUnparsedValue::ToCSSValue() const { … }
String CSSUnparsedValue::ToUnparsedString() const { … }
}