code: private String toSource(Node n, SourceMap sourceMap, boolean firstOutput) {
      CodePrinter.Builder builder = new CodePrinter.Builder(n);
      builder.setTypeRegistry(getTypeRegistry());
      builder.setCompilerOptions(options);
      builder.setSourceMap(sourceMap);
      builder.setTagAsTypeSummary(!n.isFromExterns() && options.shouldGenerateTypedExterns());
      builder.setTagAsStrict(firstOutput && options.shouldEmitUseStrict());
      return builder.build();
    }
docs: Generates JavaScript source code for an AST.