@@ -415,31 +415,31 @@ class Context {
415415 // Empty paths are normalized to ".".
416416 if (path.isEmpty) return true ;
417417
418- /// At start, no previous separator.
418+ // At start, no previous separator.
419419 const stateStart = 0 ;
420420
421- /// Previous character was a separator.
421+ // Previous character was a separator.
422422 const stateSeparator = 1 ;
423423
424- /// Added to state for each `.` seen.
424+ // Added to state for each `.` seen.
425425 const stateDotCount = 2 ;
426426
427- /// Path segment that contains anything other than nothing, `.` or `..` .
428- ///
429- /// Includes any value at or above this one.
427+ // Path segment that contains anything other than nothing, `.` or `..`.
428+ //
429+ // Includes any value at or above this one.
430430 const stateNotDots = 6 ;
431431
432- /// Current state of the last few characters.
433- ///
434- /// Seeing a separator resets to [stateSeparator] .
435- /// Seeing a `.` adds [stateDotCount] .
436- /// Seeing any non-separator or more than two dots will
437- /// bring the value above [stateNotDots] .
438- /// (The separator may be optional at the start, seeing one is fine,
439- /// and seeing dots will start counting.)
440- /// (That is, `/` has value 1, `/.` value 3, ``/..` value 5, and anything
441- /// else is 6 or above, except at the very start where empty path, `.`
442- /// and `..` have values 0, 2 and 4.)
432+ // Current state of the last few characters.
433+ //
434+ // Seeing a separator resets to [stateSeparator].
435+ // Seeing a `.` adds [stateDotCount].
436+ // Seeing any non-separator or more than two dots will
437+ // bring the value above [stateNotDots].
438+ // (The separator may be optional at the start, seeing one is fine,
439+ // and seeing dots will start counting.)
440+ // (That is, `/` has value 1, `/.` value 3, ``/..` value 5, and anything
441+ // else is 6 or above, except at the very start where empty path, `.`
442+ // and `..` have values 0, 2 and 4.)
443443 var state = stateStart;
444444
445445 // Skip past the root before we start looking for snippets that need
0 commit comments