| Index: pkg/csslib/lib/src/token.dart
|
| diff --git a/pkg/csslib/lib/src/token.dart b/pkg/csslib/lib/src/token.dart
|
| index 7e70f88c0823994a1cb50c4382d3b52c6fa3c895..75ae6c5fc541ab594b4c9350c064c51420f54119 100644
|
| --- a/pkg/csslib/lib/src/token.dart
|
| +++ b/pkg/csslib/lib/src/token.dart
|
| @@ -12,7 +12,7 @@ class Token {
|
| final int kind;
|
|
|
| /** The location where this token was parsed from. */
|
| - final Span span;
|
| + final SourceSpan span;
|
|
|
| /** The start offset of this token. */
|
| int get start => span.start.offset;
|
| @@ -43,13 +43,13 @@ class Token {
|
| /** A token containing a parsed literal value. */
|
| class LiteralToken extends Token {
|
| var value;
|
| - LiteralToken(int kind, Span span, this.value) : super(kind, span);
|
| + LiteralToken(int kind, SourceSpan span, this.value) : super(kind, span);
|
| }
|
|
|
| /** A token containing error information. */
|
| class ErrorToken extends Token {
|
| String message;
|
| - ErrorToken(int kind, Span span, this.message) : super(kind, span);
|
| + ErrorToken(int kind, SourceSpan span, this.message) : super(kind, span);
|
| }
|
|
|
| /**
|
| @@ -61,6 +61,6 @@ class ErrorToken extends Token {
|
| class IdentifierToken extends Token {
|
| final String text;
|
|
|
| - IdentifierToken(this.text, int kind, Span span)
|
| + IdentifierToken(this.text, int kind, SourceSpan span)
|
| : super(kind, span);
|
| }
|
|
|