Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart

Issue 2784283002: Remove unnecessary import prefixes. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart
index 1a7bdf9d90a3cc0bf0e8674b6fd1cd5e71d7d39a..7a3501c2325d5774575cdc9ab50c72f7f3bc13f5 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart
@@ -4,14 +4,14 @@
import 'package:kernel/ast.dart' show DartType;
-import '../builder/ast_factory.dart' as builder;
-import '../builder/shadow_ast.dart' as builder;
+import '../builder/ast_factory.dart';
+import '../builder/shadow_ast.dart';
import 'kernel_shadow_ast.dart';
/// Concrete implementation of [builder.AstFactory] for building a kernel AST.
-class KernelAstFactory implements builder.AstFactory {
+class KernelAstFactory implements AstFactory {
@override
- KernelBlock block(List<builder.ShadowStatement> statements, int charOffset) {
+ KernelBlock block(List<ShadowStatement> statements, int charOffset) {
return new KernelBlock(statements)..fileOffset = charOffset;
}
@@ -21,7 +21,7 @@ class KernelAstFactory implements builder.AstFactory {
}
@override
- KernelListLiteral listLiteral(List<builder.ShadowExpression> expressions,
+ KernelListLiteral listLiteral(List<ShadowExpression> expressions,
DartType typeArgument, bool isConst, int charOffset) {
return new KernelListLiteral(expressions,
typeArgument: typeArgument, isConst: isConst)..fileOffset = charOffset;
@@ -34,14 +34,14 @@ class KernelAstFactory implements builder.AstFactory {
@override
KernelReturnStatement returnStatement(
- builder.ShadowExpression expression, int charOffset) {
+ ShadowExpression expression, int charOffset) {
return new KernelReturnStatement(expression)..fileOffset = charOffset;
}
@override
KernelVariableDeclaration variableDeclaration(String name,
{DartType type,
- builder.ShadowExpression initializer,
+ ShadowExpression initializer,
int charOffset,
bool isFinal: false,
bool isConst: false}) {
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698