This repository was archived by the owner on Nov 1, 2024. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ void analyze(List<StyleSheet> styleSheets,
83
83
84
84
/// Parse the [input] CSS stylesheet into a tree.
85
85
///
86
- /// The [input] can be a [String] , or [List<int>] of bytes and returns a
86
+ /// The [input] can be a [String] , or [List] ` <int>` of bytes and returns a
87
87
/// [StyleSheet] AST. The optional [errors] list will collect any error
88
88
/// encountered.
89
89
StyleSheet parse (
@@ -100,7 +100,7 @@ StyleSheet parse(
100
100
}
101
101
102
102
/// Parse the [input] CSS selector into a tree. The [input] can be a [String] ,
103
- /// or [List<int>] of bytes and returns a [StyleSheet] AST. The optional
103
+ /// or [List] ` <int>` of bytes and returns a [StyleSheet] AST. The optional
104
104
/// [errors] list will contain each error/warning as a [Message] .
105
105
// TODO(jmesserly): should rename "parseSelector" and return Selector
106
106
StyleSheet selector (Object input, {List <Message >? errors}) {
@@ -1332,7 +1332,7 @@ class _Parser {
1332
1332
1333
1333
/// Same as [processSelector] but reports an error for each combinator.
1334
1334
///
1335
- /// This is a quick fix for parsing <compound-selectors> until the parser
1335
+ /// This is a quick fix for parsing ` <compound-selectors>` until the parser
1336
1336
/// supports Selector Level 4 grammar:
1337
1337
/// https://drafts.csswg.org/selectors-4/#typedef-compound-selector
1338
1338
Selector ? processCompoundSelector () {
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ void testWildcard() {
505
505
expect ('foobar' , simpleSelector1.name);
506
506
}
507
507
508
- /// Test List<int> as input to parser.
508
+ // Test List<int> as input to parser.
509
509
void testArrayOfChars () {
510
510
var errors = < Message > [];
511
511
var input = '<![CDATA[.foo { '
You can’t perform that action at this time.
0 commit comments