mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-10 14:58:38 +01:00
21 lines
524 B
Dart
21 lines
524 B
Dart
// Copyright 2016 Google Inc. Use of this source code is governed by an
|
|
// MIT-style license that can be found in the LICENSE file or at
|
|
// https://opensource.org/licenses/MIT.
|
|
|
|
import 'package:source_span/source_span.dart';
|
|
|
|
import '../../visitor/css.dart';
|
|
import 'node.dart';
|
|
|
|
class CssValue<T> implements CssNode {
|
|
final T value;
|
|
|
|
final SourceSpan span;
|
|
|
|
CssValue(this.value, {this.span});
|
|
|
|
/*=T*/ accept/*<T>*/(CssVisitor/*<T>*/ visitor) => visitor.visitValue(this);
|
|
|
|
String toString() => value.toString();
|
|
}
|