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

Side by Side Diff: site/try/src/interaction_manager.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « site/try/src/editor.dart ('k') | tests/compiler/dart2js/analyze_dart2js_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library trydart.interaction_manager; 5 library trydart.interaction_manager;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 8
9 import 'dart:convert' show 9 import 'dart:convert' show
10 JSON; 10 JSON;
11 11
12 import 'dart:math' show 12 import 'dart:math' show
13 max, 13 max,
14 min; 14 min;
15 15
16 import 'dart:async' show 16 import 'dart:async' show
17 Completer, 17 Completer,
18 Future, 18 Future,
19 Timer; 19 Timer;
20 20
21 import 'dart:collection' show 21 import 'dart:collection' show
22 Queue; 22 Queue;
23 23
24 import 'package:compiler/implementation/scanner/scannerlib.dart' show 24 import 'package:compiler/src/scanner/scannerlib.dart' show
25 BeginGroupToken, 25 BeginGroupToken,
26 EOF_TOKEN, 26 EOF_TOKEN,
27 ErrorToken, 27 ErrorToken,
28 STRING_INTERPOLATION_IDENTIFIER_TOKEN, 28 STRING_INTERPOLATION_IDENTIFIER_TOKEN,
29 STRING_INTERPOLATION_TOKEN, 29 STRING_INTERPOLATION_TOKEN,
30 STRING_TOKEN, 30 STRING_TOKEN,
31 StringScanner, 31 StringScanner,
32 Token, 32 Token,
33 UnmatchedToken, 33 UnmatchedToken,
34 UnterminatedToken; 34 UnterminatedToken;
35 35
36 import 'package:compiler/implementation/source_file.dart' show 36 import 'package:compiler/src/source_file.dart' show
37 StringSourceFile; 37 StringSourceFile;
38 38
39 import 'package:compiler/implementation/string_validator.dart' show 39 import 'package:compiler/src/string_validator.dart' show
40 StringValidator; 40 StringValidator;
41 41
42 import 'package:compiler/implementation/tree/tree.dart' show 42 import 'package:compiler/src/tree/tree.dart' show
43 StringQuoting; 43 StringQuoting;
44 44
45 import 'compilation.dart' show 45 import 'compilation.dart' show
46 currentSource, 46 currentSource,
47 startCompilation; 47 startCompilation;
48 48
49 import 'ui.dart' show 49 import 'ui.dart' show
50 currentTheme, 50 currentTheme,
51 hackDiv, 51 hackDiv,
52 mainEditorPane, 52 mainEditorPane,
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 token = token.next; 1342 token = token.next;
1343 kind = token.kind; 1343 kind = token.kind;
1344 } 1344 }
1345 return token; 1345 return token;
1346 } 1346 }
1347 1347
1348 String extractQuote(String string) { 1348 String extractQuote(String string) {
1349 StringQuoting q = StringValidator.quotingFromString(string); 1349 StringQuoting q = StringValidator.quotingFromString(string);
1350 return (q.raw ? 'r' : '') + (q.quoteChar * q.leftQuoteLength); 1350 return (q.raw ? 'r' : '') + (q.quoteChar * q.leftQuoteLength);
1351 } 1351 }
OLDNEW
« no previous file with comments | « site/try/src/editor.dart ('k') | tests/compiler/dart2js/analyze_dart2js_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698