platform/lib/src/language/ast/boolean_value.dart

16 lines
304 B
Dart
Raw Normal View History

2017-01-22 23:15:53 +00:00
import '../token.dart';
import 'package:source_span/src/span.dart';
import 'value.dart';
class BooleanValueContext extends ValueContext {
final Token BOOLEAN;
BooleanValueContext(this.BOOLEAN);
@override
SourceSpan get span => BOOLEAN.span;
@override
String toSource() => BOOLEAN.text;
}