blob: 99bcb57b0f1b6b4e803e950de173d4826b20a5e6 [file] [log] [blame]
// Copyright (c) 2021, 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:_fe_analyzer_shared/src/macros/api.dart';
macro class Macro1 implements Macro {
const Macro1();
const Macro1.named();
}
macro class Macro2 implements Macro {
const Macro2();
const Macro2.named();
}
macro class Macro3<T> implements Macro {
const Macro3();
const Macro3.named();
}
class NonMacro {
const NonMacro();
}
macro class Macro4 implements Macro {
final field;
final named;
const Macro4(this.field, {this.named});
}