You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/TurnerSoftware.CascadingStyles/CssReader.cs
+13-1
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,20 @@
1
1
usingSystem;
2
-
usingSystem.Text;
3
2
4
3
namespaceTurnerSoftware.CascadingStyles
5
4
{
5
+
/// <summary>
6
+
/// Provides CSS tokenization support, closely following the <a href="https://drafts.csswg.org/css-syntax/#tokenization">official CSS specification</a>.
7
+
/// </summary>
8
+
/// <remarks>
9
+
/// <para>
10
+
/// The tokenization is not entirely standards compliant due to these caveats:
11
+
/// <br/>- Escape sequences are not unescaped - you must call <see cref="TokenizationHelper.UnescapeValue(CssToken)"/> to unescape a value.
12
+
/// <br/>- Numbers provided in tokens are still <see cref="ReadOnlySpan{char}"/> - you must call <see cref="TokenizationHelper.GetNumber(CssToken)"/> to get the real value.
13
+
/// </para>
14
+
/// <para>
15
+
/// These deviations from the standard allow the tokenizer to be allocation-free in its processing.
0 commit comments