|
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: 135bf44f65efcbebb4a55b38ada86c754fcdb86b |
| 8 | +// Checksum: 7788c21fd8c721992490ac01d0ef4783dddf3f1f |
9 | 9 | //
|
10 | 10 | // ignore_for_file: unused_import
|
11 | 11 |
|
@@ -1321,9 +1321,6 @@ final class _EvaluateVisitor
|
1321 | 1321 | if (_declarationName != null) {
|
1322 | 1322 | throw _exception(
|
1323 | 1323 | "At-rules may not be used within nested declarations.", node.span);
|
1324 |
| - } else if (_inKeyframes && _parent is CssKeyframeBlock) { |
1325 |
| - throw _exception( |
1326 |
| - "At-rules may not be used within keyframe blocks.", node.span); |
1327 | 1324 | }
|
1328 | 1325 |
|
1329 | 1326 | var name = _interpolationToValue(node.name);
|
@@ -1890,9 +1887,6 @@ final class _EvaluateVisitor
|
1890 | 1887 | if (_declarationName != null) {
|
1891 | 1888 | throw _exception(
|
1892 | 1889 | "Media rules may not be used within nested declarations.", node.span);
|
1893 |
| - } else if (_inKeyframes && _parent is CssKeyframeBlock) { |
1894 |
| - throw _exception( |
1895 |
| - "At-rules may not be used within keyframe blocks.", node.span); |
1896 | 1890 | }
|
1897 | 1891 |
|
1898 | 1892 | var queries = _visitMediaQueries(node.query);
|
@@ -2111,9 +2105,6 @@ final class _EvaluateVisitor
|
2111 | 2105 | throw _exception(
|
2112 | 2106 | "Supports rules may not be used within nested declarations.",
|
2113 | 2107 | node.span);
|
2114 |
| - } else if (_inKeyframes && _parent is CssKeyframeBlock) { |
2115 |
| - throw _exception( |
2116 |
| - "At-rules may not be used within keyframe blocks.", node.span); |
2117 | 2108 | }
|
2118 | 2109 |
|
2119 | 2110 | var condition =
|
@@ -3252,9 +3243,6 @@ final class _EvaluateVisitor
|
3252 | 3243 | if (_declarationName != null) {
|
3253 | 3244 | throw _exception(
|
3254 | 3245 | "At-rules may not be used within nested declarations.", node.span);
|
3255 |
| - } else if (_inKeyframes && _parent is CssKeyframeBlock) { |
3256 |
| - throw _exception( |
3257 |
| - "At-rules may not be used within keyframe blocks.", node.span); |
3258 | 3246 | }
|
3259 | 3247 |
|
3260 | 3248 | if (node.isChildless) {
|
@@ -3338,9 +3326,6 @@ final class _EvaluateVisitor
|
3338 | 3326 | if (_declarationName != null) {
|
3339 | 3327 | throw _exception(
|
3340 | 3328 | "Media rules may not be used within nested declarations.", node.span);
|
3341 |
| - } else if (_inKeyframes && _parent is CssKeyframeBlock) { |
3342 |
| - throw _exception( |
3343 |
| - "At-rules may not be used within keyframe blocks.", node.span); |
3344 | 3329 | }
|
3345 | 3330 |
|
3346 | 3331 | var mergedQueries = _mediaQueries.andThen(
|
|
0 commit comments