mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Change CssValue.
This commit is contained in:
parent
4023f33d4c
commit
5543201398
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user