Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`visitCalculationExpression` is now properly implemented. This also adds concrete test classes that extend `RecursiveAstVisitor` and `RecursiveStatementVisitor` to ensure similar issues are avoided in the future whenever new AST nodes are added.
- Loading branch information
Showing
6 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2021 Google LLC. Use of this source code is governed by an | ||
// MIT-style license that can be found in the LICENSE file or at | ||
// https://opensource.org/licenses/MIT. | ||
|
||
import 'package:sass/src/visitor/recursive_ast.dart'; | ||
import 'package:sass/src/visitor/recursive_statement.dart'; | ||
|
||
/// Test that `RecursiveAstVisitor` is not missing any implementations. | ||
class TestAstVisitor extends RecursiveAstVisitor {} | ||
|
||
/// Test that `RecursiveStatementVisitor` is not missing any implementations. | ||
class TestStatementVisitor extends RecursiveStatementVisitor {} | ||
|
||
void main() {} |