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

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

Issue 2756443004: Share operator names (Closed)
Patch Set: Share operator names 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/builder_accessors.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/body_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
index 71543ffdbf94e65f4dd1af65e8528c6d5ea25998..84aab61f2078a0d7bf76ce74efb301de60f93dae 100644
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
@@ -56,33 +56,7 @@ import 'redirecting_factory_body.dart' show getRedirectionTarget;
import 'kernel_builder.dart';
-final Name callName = new Name("call");
-
-final Name plusName = new Name("+");
-
-final Name minusName = new Name("-");
-
-final Name multiplyName = new Name("*");
-
-final Name divisionName = new Name("/");
-
-final Name percentName = new Name("%");
-
-final Name ampersandName = new Name("&");
-
-final Name leftShiftName = new Name("<<");
-
-final Name rightShiftName = new Name(">>");
-
-final Name caretName = new Name("^");
-
-final Name barName = new Name("|");
-
-final Name mustacheName = new Name("~/");
-
-final Name indexGetName = new Name("[]");
-
-final Name indexSetName = new Name("[]=");
+import '../names.dart';
class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
final KernelLibraryBuilder library;
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698