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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart

Issue 887853004: dart2js: Move parameterStub generation to parameter_stub_generator and add parameter stubs to model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased. Created 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js.js_emitter; 5 part of dart2js.js_emitter;
6 6
7 /// Enables debugging of fast/slow objects using V8-specific primitives. 7 /// Enables debugging of fast/slow objects using V8-specific primitives.
8 const DEBUG_FAST_OBJECTS = false; 8 const DEBUG_FAST_OBJECTS = false;
9 9
10 /** 10 /**
11 * Call-back for adding stub [function] for [selector].
12 */
13 typedef void AddStubFunction(Selector selector, jsAst.Fun function);
14
15 /**
16 * Call-back for adding property with [name] and [value]. 11 * Call-back for adding property with [name] and [value].
17 */ 12 */
18 typedef jsAst.Property AddPropertyFunction(String name, jsAst.Expression value); 13 typedef jsAst.Property AddPropertyFunction(String name, jsAst.Expression value);
19 14
20 /** 15 /**
21 * [member] is a field (instance, static, or top level). 16 * [member] is a field (instance, static, or top level).
22 * 17 *
23 * [name] is the field name that the [Namer] has picked for this field's 18 * [name] is the field name that the [Namer] has picked for this field's
24 * storage, that is, the JavaScript property name. 19 * storage, that is, the JavaScript property name.
25 * 20 *
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // characters. 74 // characters.
80 const FIELD_CODE_CHARACTERS = r"<=>?@{|}~%&'()*"; 75 const FIELD_CODE_CHARACTERS = r"<=>?@{|}~%&'()*";
81 const NO_FIELD_CODE = 0; 76 const NO_FIELD_CODE = 0;
82 const FIRST_FIELD_CODE = 1; 77 const FIRST_FIELD_CODE = 1;
83 const RANGE1_FIRST = 0x3c; // <=>?@ encodes 1..5 78 const RANGE1_FIRST = 0x3c; // <=>?@ encodes 1..5
84 const RANGE1_LAST = 0x40; 79 const RANGE1_LAST = 0x40;
85 const RANGE2_FIRST = 0x7b; // {|}~ encodes 6..9 80 const RANGE2_FIRST = 0x7b; // {|}~ encodes 6..9
86 const RANGE2_LAST = 0x7e; 81 const RANGE2_LAST = 0x7e;
87 const RANGE3_FIRST = 0x25; // %&'()*+ encodes 10..16 82 const RANGE3_FIRST = 0x25; // %&'()*+ encodes 10..16
88 const RANGE3_LAST = 0x2b; 83 const RANGE3_LAST = 0x2b;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698