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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/visitor.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
Index: sdk/lib/_internal/compiler/implementation/elements/visitor.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/visitor.dart b/sdk/lib/_internal/compiler/implementation/elements/visitor.dart
deleted file mode 100644
index 8d0323fd0813483a972cb9b6bbd7b1026430b704..0000000000000000000000000000000000000000
--- a/sdk/lib/_internal/compiler/implementation/elements/visitor.dart
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library visitor;
-
-import 'elements.dart';
-import '../closure.dart'
- show BoxFieldElement,
- ClosureClassElement,
- ClosureFieldElement;
-
-abstract class ElementVisitor<R> {
- R visit(Element e) => e.accept(this);
-
- R visitElement(Element e);
- R visitErroneousElement(ErroneousElement e) => visitFunctionElement(e);
- R visitWarnOnUseElement(WarnOnUseElement e) => visitElement(e);
- R visitAmbiguousElement(AmbiguousElement e) => visitElement(e);
- R visitScopeContainerElement(ScopeContainerElement e) => visitElement(e);
- R visitCompilationUnitElement(CompilationUnitElement e) => visitElement(e);
- R visitLibraryElement(LibraryElement e) => visitScopeContainerElement(e);
- R visitPrefixElement(PrefixElement e) => visitElement(e);
- R visitTypedefElement(TypedefElement e) => visitElement(e);
- R visitVariableElement(VariableElement e) => visitElement(e);
- R visitParameterElement(ParameterElement e) => visitVariableElement(e);
- R visitFormalElement(FormalElement e) => visitElement(e);
- R visitFieldElement(FieldElement e) => visitVariableElement(e);
- R visitFieldParameterElement(InitializingFormalElement e) =>
- visitParameterElement(e);
- R visitAbstractFieldElement(AbstractFieldElement e) => visitElement(e);
- R visitFunctionElement(FunctionElement e) => visitElement(e);
- R visitConstructorBodyElement(ConstructorBodyElement e) => visitElement(e);
- R visitClassElement(ClassElement e) => visitScopeContainerElement(e);
- R visitTypeDeclarationElement(TypeDeclarationElement e) => visitElement(e);
- R visitMixinApplicationElement(MixinApplicationElement e) {
- return visitClassElement(e);
- }
- R visitTypeVariableElement(TypeVariableElement e) => visitElement(e);
- R visitBoxFieldElement(BoxFieldElement e) => visitElement(e);
- R visitClosureClassElement(ClosureClassElement e) => visitClassElement(e);
- R visitClosureFieldElement(ClosureFieldElement e) => visitVariableElement(e);
-}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/elements/names.dart ('k') | sdk/lib/_internal/compiler/implementation/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698