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

Side by Side Diff: lib/compiler/implementation/source_map_builder.dart

Issue 10880068: - Change "static final" to "static const" in the lib/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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('source_map_builder'); 5 #library('source_map_builder');
6 6
7 #import('dart:json'); 7 #import('dart:json');
8 8
9 #import('source_file.dart'); 9 #import('source_file.dart');
10 10
11 class SourceMapBuilder { 11 class SourceMapBuilder {
12 static final int VLQ_BASE_SHIFT = 5; 12 static const int VLQ_BASE_SHIFT = 5;
13 static final int VLQ_BASE_MASK = (1 << 5) - 1; 13 static const int VLQ_BASE_MASK = (1 << 5) - 1;
14 static final int VLQ_CONTINUATION_BIT = 1 << 5; 14 static const int VLQ_CONTINUATION_BIT = 1 << 5;
15 static final int VLQ_CONTINUATION_MASK = 1 << 5; 15 static const int VLQ_CONTINUATION_MASK = 1 << 5;
16 static final String BASE64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn' 16 static const String BASE64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn'
17 'opqrstuvwxyz0123456789+/'; 17 'opqrstuvwxyz0123456789+/';
18 18
19 List<_Entry> entries; 19 List<_Entry> entries;
20 20
21 Map<String, int> sourceUrlMap; 21 Map<String, int> sourceUrlMap;
22 List<String> sourceUrlList; 22 List<String> sourceUrlList;
23 Map<String, int> sourceNameMap; 23 Map<String, int> sourceNameMap;
24 List<String> sourceNameList; 24 List<String> sourceNameList;
25 25
26 int previousTargetLine; 26 int previousTargetLine;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 class _Entry { 151 class _Entry {
152 SourceFile sourceFile; 152 SourceFile sourceFile;
153 int sourceOffset; 153 int sourceOffset;
154 String sourceName; 154 String sourceName;
155 int targetOffset; 155 int targetOffset;
156 _Entry(this.sourceFile, this.sourceOffset, this.sourceName, 156 _Entry(this.sourceFile, this.sourceOffset, this.sourceName,
157 this.targetOffset); 157 this.targetOffset);
158 } 158 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/scanner/token.dart ('k') | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698