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 {
2424 /// synchronous evaluate visitor will crash if this isn't a [Callable] .
2525 final AsyncCallable callable;
2626
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.
2931 final Object ? _compileContext;
3032
3133 SassFunction (this .callable) : _compileContext = null ;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ final class SassMixin extends Value {
2626 @internal
2727 final AsyncCallable callable;
2828
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.
3131 final Object ? _compileContext;
3232
3333 SassMixin (this .callable) : _compileContext = null ;
Original file line number Diff line number Diff line change @@ -136,10 +136,6 @@ final class _EvaluateVisitor
136136 StatementVisitor <Future <Value ?>>,
137137 ExpressionVisitor <Future <Value >>,
138138 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-
143139 /// The import cache used to import other stylesheets.
144140 final AsyncImportCache ? _importCache;
145141
@@ -183,6 +179,10 @@ final class _EvaluateVisitor
183179 /// Whether to track source map information.
184180 final bool _sourceMap;
185181
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+
186186 /// The current lexical environment.
187187 AsyncEnvironment _environment;
188188
Original file line number Diff line number Diff line change 55// DO NOT EDIT. This file was generated from async_evaluate.dart.
66// See tool/grind/synchronize.dart for details.
77//
8- // Checksum: 1cca6e94fd02f68addebda66bf0aeecf25689b30
8+ // Checksum: 6e5710daa106ed0b9b684af8bc61ce9cc233a10b
99//
1010// ignore_for_file: unused_import
1111
@@ -144,10 +144,6 @@ final class _EvaluateVisitor
144144 StatementVisitor <Value ?>,
145145 ExpressionVisitor <Value >,
146146 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-
151147 /// The import cache used to import other stylesheets.
152148 final ImportCache ? _importCache;
153149
@@ -191,6 +187,10 @@ final class _EvaluateVisitor
191187 /// Whether to track source map information.
192188 final bool _sourceMap;
193189
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+
194194 /// The current lexical environment.
195195 Environment _environment;
196196
You can’t perform that action at this time.
0 commit comments