blob: 944540a5264032f072494f591e3b0c9cdc84b97f [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:kernel/kernel.dart';
/// The collector to add target specific metadata to.
abstract class MetadataCollector {
/// Metadata is remembered in this repository, so that when it is added
/// to a program, metadata is serialized with the program.
MetadataRepository get repository;
void setConstructorNameOffset(Member node, Object name);
void setDocumentationComment(NamedNode node, String comment);
}