blob: 71ca0c261a64e2f2bade6b84d30dc208b28ca3e3 [file] [log] [blame]
// Copyright (c) 2019, 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/ast.dart';
import 'function_builder.dart';
abstract class ProcedureBuilder implements FunctionBuilder {
int get charOpenParenOffset;
ProcedureBuilder? get patchForTesting;
AsyncMarker get actualAsyncModifier;
Procedure get procedure;
@override
ProcedureKind get kind;
Procedure get actualProcedure;
@override
ProcedureBuilder get origin;
void set asyncModifier(AsyncMarker newModifier);
bool get isEligibleForTopLevelInference;
/// Returns `true` if this procedure is declared in an extension declaration.
bool get isExtensionMethod;
}