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

Unified Diff: pkg/third_party/html5lib/lib/src/token.dart

Issue 178843003: [html5lib] triple slash comment style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove extra check Created 6 years, 10 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
Index: pkg/third_party/html5lib/lib/src/token.dart
diff --git a/pkg/third_party/html5lib/lib/src/token.dart b/pkg/third_party/html5lib/lib/src/token.dart
index 1e790da858cba2ff8b45195239d11ce5bc5a1835..b1ec1de3490abff77c72f05ff81a87da44612408 100644
--- a/pkg/third_party/html5lib/lib/src/token.dart
+++ b/pkg/third_party/html5lib/lib/src/token.dart
@@ -1,10 +1,10 @@
-/** This library contains token types used by the html5 tokenizer. */
+/// This library contains token types used by the html5 tokenizer.
library token;
import 'dart:collection';
import 'package:source_maps/span.dart' show FileSpan;
-/** An html5 token. */
+/// An html5 token.
abstract class Token {
FileSpan span;
@@ -20,18 +20,16 @@ abstract class TagToken extends Token {
}
class StartTagToken extends TagToken {
- /**
- * The tag's attributes. A map from the name to the value, where the name
- * can be a [String] or [AttributeName].
- */
+ /// The tag's attributes. A map from the name to the value, where the name
+ /// can be a [String] or [AttributeName].
LinkedHashMap<dynamic, String> data;
- /** The attribute spans if requested. Otherwise null. */
+ /// The attribute spans if requested. Otherwise null.
List<TagAttribute> attributeSpans;
bool selfClosingAcknowledged;
- /** The namespace. This is filled in later during tree building. */
+ /// The namespace. This is filled in later during tree building.
String namespace;
StartTagToken(String name, {this.data, bool selfClosing: false,
@@ -54,7 +52,7 @@ abstract class StringToken extends Token {
}
class ParseErrorToken extends StringToken {
- /** Extra information that goes along with the error message. */
+ /// Extra information that goes along with the error message.
Map messageParams;
ParseErrorToken(String data, {this.messageParams}) : super(data);
@@ -91,11 +89,9 @@ class DoctypeToken extends Token {
int get kind => TokenKind.doctype;
}
-/**
- * These are used by the tokenizer to build up the attribute map.
- * They're also used by [StartTagToken.attributeSpans] if attribute spans are
- * requested.
- */
+/// These are used by the tokenizer to build up the attribute map.
+/// They're also used by [StartTagToken.attributeSpans] if attribute spans are
+/// requested.
class TagAttribute {
String name;
String value;

Powered by Google App Engine
This is Rietveld 408576698