From 13acfb4d1eb73732f198508dd9577065f434d948 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sun, 25 Aug 2024 12:39:30 -0500 Subject: [PATCH] Fix angle brackets in doc comments --- 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 = '