Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Fix doc comments #254

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import 'src/treebuilder.dart';
import 'src/utils.dart';

/// Parse the [input] html5 document into a tree. The [input] can be
/// a [String], [List<int>] of bytes or an [HtmlTokenizer].
/// a [String], [List]`<int>` of bytes or an [HtmlTokenizer].
///
/// If [input] is not a [HtmlTokenizer], you can optionally specify the file's
/// [encoding], which must be a string. If specified that encoding will be
Expand All @@ -45,7 +45,7 @@ Document parse(dynamic input,
}

/// Parse the [input] html5 document fragment into a tree. The [input] can be
/// a [String], [List<int>] of bytes or an [HtmlTokenizer]. The [container]
/// a [String], [List]`<int>` of bytes or an [HtmlTokenizer]. The [container]
/// element can optionally be specified, otherwise it defaults to "div".
///
/// If [input] is not a [HtmlTokenizer], you can optionally specify the file's
Expand Down Expand Up @@ -127,7 +127,7 @@ class HtmlParser {
late final _afterAfterFramesetPhase = AfterAfterFramesetPhase(this);

/// Create an HtmlParser and configure the [tree] builder and [strict] mode.
/// The [input] can be a [String], [List<int>] of bytes or an [HtmlTokenizer].
/// The [input] can be a [String], [List]`<int>` of bytes or an [HtmlTokenizer].
///
/// If [input] is not a [HtmlTokenizer], you can specify a few more arguments.
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/html_input_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class HtmlInputStream {
/// HtmlInputStream(source, [encoding]) -> Normalized stream from source
/// for use by html5lib.
///
/// [source] can be either a [String] or a [List<int>] containing the raw
/// [source] can be either a [String] or a [List]`<int>` containing the raw
/// bytes.
///
/// The optional encoding parameter must be a string that indicates
Expand Down
2 changes: 1 addition & 1 deletion lib/src/list_proxy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library;
import 'dart:collection';

abstract class ListProxy<E> extends ListBase<E> {
/// The inner [List<T>] with the actual storage.
/// The inner [List]`<T>` with the actual storage.
final List<E> _list = <E>[];

@override
Expand Down