StyleSheet(this.topLevels, SourceSpan? span) : super(span) { for (final node in topLevels) { assert(node is TopLevelProduction || node is Directive); } }