Change CssValue.

This commit is contained in:
Natalie Weizenbaum 2016-05-24 12:33:37 -07:00
parent 4023f33d4c
commit 5543201398
3 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ import 'node.dart';
import 'value.dart'; import 'value.dart';
class CssDeclaration implements CssNode { class CssDeclaration implements CssNode {
final CssValue<Identifier> name; final CssValue<String> name;
final CssValue value; final CssValue<Value> value;
final SourceSpan span; final SourceSpan span;

View File

@ -9,7 +9,7 @@ import 'node.dart';
import 'value.dart'; import 'value.dart';
class CssStyleRule implements CssNode { class CssStyleRule implements CssNode {
final CssValue<Identifier> selector; final CssValue<String> selector;
final List<CssNode> children; final List<CssNode> children;

View File

@ -7,7 +7,7 @@ import 'package:source_span/source_span.dart';
import 'node.dart'; import 'node.dart';
import '../../value.dart'; import '../../value.dart';
class CssValue<T extends Value> implements CssNode { class CssValue<T> implements CssNode {
final T value; final T value;
final SourceSpan span; final SourceSpan span;