mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:07:11 +00:00
s/by/with
Change-Id: I060ab53e40be3dea3c92c374894859f052f30185 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/230780 Auto-Submit: Jake Macdonald <jakemac@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Jake Macdonald <jakemac@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
parent
7a6326e49c
commit
e60aafc5be
1 changed files with 3 additions and 3 deletions
|
@ -120,19 +120,19 @@ abstract class DefinitionBuilder
|
|||
/// The apis used by [Macro]s that run on classes, to fill in the definitions
|
||||
/// of any external declarations within that class.
|
||||
abstract class ClassDefinitionBuilder implements DefinitionBuilder {
|
||||
/// Retrieve a [VariableDefinitionBuilder] for a field by [identifier].
|
||||
/// Retrieve a [VariableDefinitionBuilder] for a field with [identifier].
|
||||
///
|
||||
/// Throws an [ArgumentError] if [identifier] does not refer to a field in
|
||||
/// this class.
|
||||
Future<VariableDefinitionBuilder> buildField(Identifier identifier);
|
||||
|
||||
/// Retrieve a [FunctionDefinitionBuilder] for a method by [identifier].
|
||||
/// Retrieve a [FunctionDefinitionBuilder] for a method with [identifier].
|
||||
///
|
||||
/// Throws an [ArgumentError] if [identifier] does not refer to a method in
|
||||
/// this class.
|
||||
Future<FunctionDefinitionBuilder> buildMethod(Identifier identifier);
|
||||
|
||||
/// Retrieve a [ConstructorDefinitionBuilder] for a constructor by
|
||||
/// Retrieve a [ConstructorDefinitionBuilder] for a constructor with
|
||||
/// [identifier].
|
||||
///
|
||||
/// Throws an [ArgumentError] if [identifier] does not refer to a constructor
|
||||
|
|
Loading…
Reference in a new issue