2016-06-06 08:51:50 +02:00
|
|
|
// 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.
|
|
|
|
|
2016-08-15 09:47:27 +02:00
|
|
|
import '../visitor/interface/selector.dart';
|
|
|
|
import '../visitor/serialize.dart';
|
|
|
|
|
2016-06-06 08:51:50 +02:00
|
|
|
export 'selector/attribute.dart';
|
|
|
|
export 'selector/class.dart';
|
|
|
|
export 'selector/complex.dart';
|
|
|
|
export 'selector/compound.dart';
|
|
|
|
export 'selector/id.dart';
|
|
|
|
export 'selector/list.dart';
|
|
|
|
export 'selector/namespaced_identifier.dart';
|
2016-08-16 09:16:40 +02:00
|
|
|
export 'selector/parent.dart';
|
2016-06-06 08:51:50 +02:00
|
|
|
export 'selector/placeholder.dart';
|
|
|
|
export 'selector/pseudo.dart';
|
2016-08-05 02:25:57 +02:00
|
|
|
export 'selector/simple.dart';
|
2016-06-06 08:51:50 +02:00
|
|
|
export 'selector/type.dart';
|
|
|
|
export 'selector/universal.dart';
|
|
|
|
|
2016-08-15 09:47:27 +02:00
|
|
|
abstract class Selector {
|
|
|
|
/*=T*/ accept/*<T>*/(SelectorVisitor/*<T>*/ visitor);
|
|
|
|
|
2016-09-03 12:10:23 +02:00
|
|
|
String toString() => selectorToCss(this, inspect: true);
|
2016-08-15 09:47:27 +02:00
|
|
|
}
|