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

Side by Side Diff: pkg/fletchc/lib/src/fletch_selector.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fletchc.fletch_selector; 5 library fletchc.fletch_selector;
6 6
7 enum SelectorKind { 7 enum SelectorKind {
8 Method, 8 Method,
9 Getter, 9 Getter,
10 Setter, 10 Setter,
11 } 11 }
(...skipping 29 matching lines...) Expand all
41 static int encodeMethod(int id, int arity) { 41 static int encodeMethod(int id, int arity) {
42 return encode(id, SelectorKind.Method, arity); 42 return encode(id, SelectorKind.Method, arity);
43 } 43 }
44 44
45 static int encodeGetter(int id) => encode(id, SelectorKind.Getter, 0); 45 static int encodeGetter(int id) => encode(id, SelectorKind.Getter, 0);
46 46
47 static int encodeSetter(int id) => encode(id, SelectorKind.Setter, 1); 47 static int encodeSetter(int id) => encode(id, SelectorKind.Setter, 1);
48 48
49 static int decodeId(int selector) => selector >> ID_SHIFT; 49 static int decodeId(int selector) => selector >> ID_SHIFT;
50 } 50 }
OLDNEW
« no previous file with comments | « pkg/fletchc/lib/src/fletch_registry.dart ('k') | pkg/fletchc/lib/src/fletch_system_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698