dart-sass/lib/src/ast/css/value.dart

18 lines
412 B
Dart
Raw Normal View History

2016-05-24 20:58:52 +02:00
// 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 '../node.dart';
2016-05-24 20:58:52 +02:00
class CssValue<T> implements AstNode {
2016-05-24 20:58:52 +02:00
final T value;
2016-06-06 09:05:04 +02:00
final FileSpan span;
2016-05-24 20:58:52 +02:00
CssValue(this.value, {this.span});
String toString() => value.toString();
}