visitDocumentDirective method

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

Implementation

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