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

Side by Side Diff: pkg/front_end/lib/src/fasta/names.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 unified diff | Download patch
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library front_end.src.fasta.names;
6
7 import 'package:kernel/ast.dart' show Name;
8
9 final Name callName = new Name("call");
10
11 final Name plusName = new Name("+");
12
13 final Name minusName = new Name("-");
14
15 final Name multiplyName = new Name("*");
16
17 final Name divisionName = new Name("/");
18
19 final Name percentName = new Name("%");
20
21 final Name ampersandName = new Name("&");
22
23 final Name leftShiftName = new Name("<<");
24
25 final Name rightShiftName = new Name(">>");
26
27 final Name caretName = new Name("^");
28
29 final Name barName = new Name("|");
30
31 final Name mustacheName = new Name("~/");
32
33 final Name indexGetName = new Name("[]");
34
35 final Name indexSetName = new Name("[]=");
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698