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

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

Issue 17317002: Convert isX() methods to isX getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 library engine.html; 3 library engine.html;
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'java_core.dart'; 5 import 'java_core.dart';
6 import 'java_engine.dart'; 6 import 'java_engine.dart';
7 import 'source.dart'; 7 import 'source.dart';
8 import 'error.dart'; 8 import 'error.dart';
9 import 'instrumentation.dart'; 9 import 'instrumentation.dart';
10 import 'element.dart' show HtmlElementImpl; 10 import 'element.dart' show HtmlElementImpl;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 * @return the token type (not `null`) 111 * @return the token type (not `null`)
112 */ 112 */
113 TokenType get type => _type; 113 TokenType get type => _type;
114 114
115 /** 115 /**
116 * Return `true` if this token is a synthetic token. A synthetic token is a to ken that was 116 * Return `true` if this token is a synthetic token. A synthetic token is a to ken that was
117 * introduced by the parser in order to recover from an error in the code. Syn thetic tokens always 117 * introduced by the parser in order to recover from an error in the code. Syn thetic tokens always
118 * have a length of zero (`0`). 118 * have a length of zero (`0`).
119 * @return `true` if this token is a synthetic token 119 * @return `true` if this token is a synthetic token
120 */ 120 */
121 bool isSynthetic() => length == 0; 121 bool get isSynthetic => length == 0;
122 122
123 /** 123 /**
124 * Set the next token in the token stream to the given token. This has the sid e-effect of setting 124 * Set the next token in the token stream to the given token. This has the sid e-effect of setting
125 * this token to be the previous token for the given token. 125 * this token to be the previous token for the given token.
126 * @param token the next token in the token stream 126 * @param token the next token in the token stream
127 * @return the token that was passed in 127 * @return the token that was passed in
128 */ 128 */
129 Token setNext(Token token) { 129 Token setNext(Token token) {
130 _next = token; 130 _next = token;
131 token.previous = this; 131 token.previous = this;
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 */ 1619 */
1620 void set element(HtmlElementImpl element2) { 1620 void set element(HtmlElementImpl element2) {
1621 this._element = element2; 1621 this._element = element2;
1622 } 1622 }
1623 void visitChildren(XmlVisitor<Object> visitor) { 1623 void visitChildren(XmlVisitor<Object> visitor) {
1624 for (XmlTagNode node in _tagNodes) { 1624 for (XmlTagNode node in _tagNodes) {
1625 node.accept(visitor); 1625 node.accept(visitor);
1626 } 1626 }
1627 } 1627 }
1628 } 1628 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698