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

Unified Diff: pkg/analyzer/lib/src/generated/html.dart

Issue 1322513004: Reformat code to reduce churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.dart ('k') | pkg/analyzer/lib/src/generated/java_core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/html.dart
diff --git a/pkg/analyzer/lib/src/generated/html.dart b/pkg/analyzer/lib/src/generated/html.dart
index a72a1c8064d3d54dc351057af1b01f7c88c87c18..c0012c5d30e5417320628f20cc775b21ffb99c41 100644
--- a/pkg/analyzer/lib/src/generated/html.dart
+++ b/pkg/analyzer/lib/src/generated/html.dart
@@ -401,9 +401,14 @@ class HtmlParser extends XmlParser {
new XmlAttributeNode(name, equals, value);
@override
- XmlTagNode createTagNode(Token nodeStart, Token tag,
- List<XmlAttributeNode> attributes, Token attributeEnd,
- List<XmlTagNode> tagNodes, Token contentEnd, Token closingTag,
+ XmlTagNode createTagNode(
+ Token nodeStart,
+ Token tag,
+ List<XmlAttributeNode> attributes,
+ Token attributeEnd,
+ List<XmlTagNode> tagNodes,
+ Token contentEnd,
+ Token closingTag,
Token nodeEnd) {
if (_isScriptNode(tag, attributes, tagNodes)) {
HtmlScriptTagNode tagNode = new HtmlScriptTagNode(nodeStart, tag,
@@ -529,12 +534,17 @@ class HtmlScriptTagNode extends XmlTagNode {
* @param closingTag the name of the tag that occurs in the closing tag
* @param nodeEnd the last token in the tag
*/
- HtmlScriptTagNode(Token nodeStart, Token tag,
- List<XmlAttributeNode> attributes, Token attributeEnd,
- List<XmlTagNode> tagNodes, Token contentEnd, Token closingTag,
+ HtmlScriptTagNode(
+ Token nodeStart,
+ Token tag,
+ List<XmlAttributeNode> attributes,
+ Token attributeEnd,
+ List<XmlTagNode> tagNodes,
+ Token contentEnd,
+ Token closingTag,
Token nodeEnd)
: super(nodeStart, tag, attributes, attributeEnd, tagNodes, contentEnd,
- closingTag, nodeEnd);
+ closingTag, nodeEnd);
/**
* Return the AST structure representing the Dart code within this tag, or `null` if this
@@ -1421,11 +1431,17 @@ class XmlParser {
* @param nodeEnd the last token in the tag
* @return the node that was created
*/
- XmlTagNode createTagNode(Token nodeStart, Token tag,
- List<XmlAttributeNode> attributes, Token attributeEnd,
- List<XmlTagNode> tagNodes, Token contentEnd, Token closingTag,
- Token nodeEnd) => new XmlTagNode(nodeStart, tag, attributes, attributeEnd,
- tagNodes, contentEnd, closingTag, nodeEnd);
+ XmlTagNode createTagNode(
+ Token nodeStart,
+ Token tag,
+ List<XmlAttributeNode> attributes,
+ Token attributeEnd,
+ List<XmlTagNode> tagNodes,
+ Token contentEnd,
+ Token closingTag,
+ Token nodeEnd) =>
+ new XmlTagNode(nodeStart, tag, attributes, attributeEnd, tagNodes,
+ contentEnd, closingTag, nodeEnd);
/**
* Answer `true` if the specified tag is self closing and thus should never have content or
@@ -1736,9 +1752,15 @@ class XmlTagNode extends XmlNode {
* @param nodeEnd the ending [TokenType.GT] or [TokenType.SLASH_GT] token (not
* `null`)
*/
- XmlTagNode(this.nodeStart, this._tag, List<XmlAttributeNode> attributes,
- this.attributeEnd, List<XmlTagNode> tagNodes, this.contentEnd,
- this.closingTag, this.nodeEnd) {
+ XmlTagNode(
+ this.nodeStart,
+ this._tag,
+ List<XmlAttributeNode> attributes,
+ this.attributeEnd,
+ List<XmlTagNode> tagNodes,
+ this.contentEnd,
+ this.closingTag,
+ this.nodeEnd) {
this._attributes = becomeParentOfAll(attributes, ifEmpty: NO_ATTRIBUTES);
this._tagNodes = becomeParentOfAll(tagNodes, ifEmpty: NO_TAG_NODES);
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.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