dart-sass/lib/src/ast/css/value.dart
2016-08-30 15:51:17 -07:00

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();
}