File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ class SassFunction extends Value {
24
24
/// synchronous evaluate visitor will crash if this isn't a [Callable] .
25
25
final AsyncCallable callable;
26
26
27
- /// The unique compile context for tracking if SassFunction and SassMixin
28
- /// belongs to current compilation or not.
27
+ /// The unique compile context for tracking if this [SassFunction] belongs to
28
+ /// the current compilation or not.
29
+ ///
30
+ /// This is `null` for functions defined in plugins' Dart code.
29
31
final Object ? _compileContext;
30
32
31
33
SassFunction (this .callable) : _compileContext = null ;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ final class SassMixin extends Value {
26
26
@internal
27
27
final AsyncCallable callable;
28
28
29
- /// The unique compile context for tracking if SassFunction and SassMixin
30
- /// belongs to current compilation or not.
29
+ /// The unique compile context for tracking if this [ SassMixin] belongs to the
30
+ /// current compilation or not.
31
31
final Object ? _compileContext;
32
32
33
33
SassMixin (this .callable) : _compileContext = null ;
Original file line number Diff line number Diff line change @@ -136,10 +136,6 @@ final class _EvaluateVisitor
136
136
StatementVisitor <Future <Value ?>>,
137
137
ExpressionVisitor <Future <Value >>,
138
138
CssVisitor <Future <void >> {
139
- /// The unique compile context for tracking if SassFunction and SassMixin
140
- /// belongs to current compilation or not.
141
- final Object _compileContext = Object ();
142
-
143
139
/// The import cache used to import other stylesheets.
144
140
final AsyncImportCache ? _importCache;
145
141
@@ -183,6 +179,10 @@ final class _EvaluateVisitor
183
179
/// Whether to track source map information.
184
180
final bool _sourceMap;
185
181
182
+ /// The unique compile context for tracking if [SassFunction] s and
183
+ /// [SassMixin] s belongs to the current compilation or not.
184
+ final Object _compileContext = Object ();
185
+
186
186
/// The current lexical environment.
187
187
AsyncEnvironment _environment;
188
188
Original file line number Diff line number Diff line change 5
5
// DO NOT EDIT. This file was generated from async_evaluate.dart.
6
6
// See tool/grind/synchronize.dart for details.
7
7
//
8
- // Checksum: 29a7ac15a527ca0f702f3440f51613a812811f8a
8
+ // Checksum: 303cd172dc9de38a8051a4ad70fa321d63b2669e
9
9
//
10
10
// ignore_for_file: unused_import
11
11
@@ -144,10 +144,6 @@ final class _EvaluateVisitor
144
144
StatementVisitor <Value ?>,
145
145
ExpressionVisitor <Value >,
146
146
CssVisitor <void > {
147
- /// The unique compile context for tracking if SassFunction and SassMixin
148
- /// belongs to current compilation or not.
149
- final Object _compileContext = Object ();
150
-
151
147
/// The import cache used to import other stylesheets.
152
148
final ImportCache ? _importCache;
153
149
@@ -191,6 +187,10 @@ final class _EvaluateVisitor
191
187
/// Whether to track source map information.
192
188
final bool _sourceMap;
193
189
190
+ /// The unique compile context for tracking if [SassFunction] s and
191
+ /// [SassMixin] s belongs to the current compilation or not.
192
+ final Object _compileContext = Object ();
193
+
194
194
/// The current lexical environment.
195
195
Environment _environment;
196
196
You can’t perform that action at this time.
0 commit comments