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

Side by Side Diff: pkg/analyzer/lib/src/generated/html.dart

Issue 681003002: Replace ${name} with $name where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up also implementation 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
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.html; 8 library engine.html;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 int tagStart = offset; 241 int tagStart = offset;
242 c = advance(); 242 c = advance();
243 while (Character.isLetterOrDigit(c) || c == 0x2D || c == 0x5F) { 243 while (Character.isLetterOrDigit(c) || c == 0x2D || c == 0x5F) {
244 c = advance(); 244 c = advance();
245 } 245 }
246 _emitWithOffsetAndLength(TokenType.TAG, tagStart, -1); 246 _emitWithOffsetAndLength(TokenType.TAG, tagStart, -1);
247 // check tag against passThrough elements 247 // check tag against passThrough elements
248 String tag = _tail.lexeme; 248 String tag = _tail.lexeme;
249 for (String str in _passThroughElements) { 249 for (String str in _passThroughElements) {
250 if (str == tag) { 250 if (str == tag) {
251 endPassThrough = "</${str}>"; 251 endPassThrough = "</$str>";
252 break; 252 break;
253 } 253 }
254 } 254 }
255 } 255 }
256 } 256 }
257 } else if (c == 0x3E) { 257 } else if (c == 0x3E) {
258 _emitWithOffset(TokenType.GT, start); 258 _emitWithOffset(TokenType.GT, start);
259 inBrackets = false; 259 inBrackets = false;
260 c = advance(); 260 c = advance();
261 // if passThrough != null, read until we match it 261 // if passThrough != null, read until we match it
(...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2037 */ 2037 */
2038 abstract class XmlVisitor<R> { 2038 abstract class XmlVisitor<R> {
2039 R visitHtmlScriptTagNode(HtmlScriptTagNode node); 2039 R visitHtmlScriptTagNode(HtmlScriptTagNode node);
2040 2040
2041 R visitHtmlUnit(HtmlUnit htmlUnit); 2041 R visitHtmlUnit(HtmlUnit htmlUnit);
2042 2042
2043 R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode); 2043 R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode);
2044 2044
2045 R visitXmlTagNode(XmlTagNode xmlTagNode); 2045 R visitXmlTagNode(XmlTagNode xmlTagNode);
2046 } 2046 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/java_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698