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';
|
|
|
|
|
2016-07-16 00:18:57 +02:00
|
|
|
import '../node.dart';
|
2016-05-24 20:58:52 +02:00
|
|
|
|
2016-07-16 00:18:57 +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();
|
|
|
|
}
|