@@ -8,7 +8,7 @@ import '../ast/sass.dart';
8
8
import '../callable.dart' ;
9
9
import '../value.dart' ;
10
10
11
- typedef _Callback = Value Function (List <Value > arguments);
11
+ typedef Callback = Value Function (List <Value > arguments);
12
12
13
13
/// A callable defined in Dart code.
14
14
///
@@ -20,7 +20,7 @@ class BuiltInCallable implements Callable, AsyncBuiltInCallable {
20
20
final String name;
21
21
22
22
/// The overloads declared for this callable.
23
- final List <Tuple2 <ArgumentDeclaration , _Callback >> _overloads;
23
+ final List <Tuple2 <ArgumentDeclaration , Callback >> _overloads;
24
24
25
25
/// Creates a function with a single [arguments] declaration and a single
26
26
/// [callback] .
@@ -73,7 +73,7 @@ class BuiltInCallable implements Callable, AsyncBuiltInCallable {
73
73
/// If passed, [url] is the URL of the module in which the function is
74
74
/// defined.
75
75
BuiltInCallable .overloadedFunction (
76
- this .name, Map <String , _Callback > overloads,
76
+ this .name, Map <String , Callback > overloads,
77
77
{Object ? url})
78
78
: _overloads = [
79
79
for (var entry in overloads.entries)
@@ -91,9 +91,9 @@ class BuiltInCallable implements Callable, AsyncBuiltInCallable {
91
91
/// If no exact match is found, finds the closest approximation. Note that this
92
92
/// doesn't guarantee that [positional] and [names] are valid for the returned
93
93
/// [ArgumentDeclaration] .
94
- Tuple2 <ArgumentDeclaration , _Callback > callbackFor (
94
+ Tuple2 <ArgumentDeclaration , Callback > callbackFor (
95
95
int positional, Set <String > names) {
96
- Tuple2 <ArgumentDeclaration , _Callback >? fuzzyMatch;
96
+ Tuple2 <ArgumentDeclaration , Callback >? fuzzyMatch;
97
97
int ? minMismatchDistance;
98
98
99
99
for (var overload in _overloads) {
0 commit comments