StyleSheet constructor

StyleSheet(
  1. List<TreeNode> topLevels,
  2. SourceSpan? span
)

Implementation

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