visitDocumentDirective method

  1. @override
void visitDocumentDirective(
  1. DocumentDirective node
)
override

Implementation

@override
void visitDocumentDirective(DocumentDirective node) {
  emit('$_newLine@-moz-document ');
  node.functions.first.visit(this);
  for (var function in node.functions.skip(1)) {
    emit(',$_sp');
    function.visit(this);
  }
  emit('$_sp{');
  for (var ruleSet in node.groupRuleBody) {
    ruleSet.visit(this);
  }
  emit('$_newLine}');
}