From d486627ec2c014a1fbf653a593043c6b1e3a0eb5 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 26 Aug 2024 08:57:42 -0700 Subject: [PATCH] Fix angle brackets in doc comments (#206) --- lib/parser.dart | 6 +++--- test/compiler_test.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/parser.dart b/lib/parser.dart index 837007d..4469298 100644 --- a/lib/parser.dart +++ b/lib/parser.dart @@ -83,7 +83,7 @@ void analyze(List styleSheets, /// Parse the [input] CSS stylesheet into a tree. /// -/// The [input] can be a [String], or [List] of bytes and returns a +/// The [input] can be a [String], or [List]`` of bytes and returns a /// [StyleSheet] AST. The optional [errors] list will collect any error /// encountered. StyleSheet parse( @@ -100,7 +100,7 @@ StyleSheet parse( } /// Parse the [input] CSS selector into a tree. The [input] can be a [String], -/// or [List] of bytes and returns a [StyleSheet] AST. The optional +/// or [List]`` of bytes and returns a [StyleSheet] AST. The optional /// [errors] list will contain each error/warning as a [Message]. // TODO(jmesserly): should rename "parseSelector" and return Selector StyleSheet selector(Object input, {List? errors}) { @@ -1332,7 +1332,7 @@ class _Parser { /// Same as [processSelector] but reports an error for each combinator. /// - /// This is a quick fix for parsing until the parser + /// This is a quick fix for parsing `` until the parser /// supports Selector Level 4 grammar: /// https://drafts.csswg.org/selectors-4/#typedef-compound-selector Selector? processCompoundSelector() { diff --git a/test/compiler_test.dart b/test/compiler_test.dart index f43c1ea..ba0c71e 100644 --- a/test/compiler_test.dart +++ b/test/compiler_test.dart @@ -505,7 +505,7 @@ void testWildcard() { expect('foobar', simpleSelector1.name); } -/// Test List as input to parser. +// Test List as input to parser. void testArrayOfChars() { var errors = []; var input = '