CompoundSelector constructor

CompoundSelector(
  1. Iterable<SimpleSelector> components,
  2. FileSpan span
)

Implementation

CompoundSelector(Iterable<SimpleSelector> components, super.span)
    : components = List.unmodifiable(components) {
  if (this.components.isEmpty) {
    throw ArgumentError("components may not be empty.");
  }
}