1 write to _lexer
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\RoutePattern\RoutePatternParser.cs (1)
27
_lexer
= new RoutePatternLexer(text, routePatternOptions);
12 references to _lexer
Microsoft.AspNetCore.App.Analyzers (12)
Infrastructure\RoutePattern\RoutePatternParser.cs (12)
41
_currentToken =
_lexer
.ScanNextToken();
65
Debug.Assert(
_lexer
.Position ==
_lexer
.Text.Length);
81
return new RoutePatternTree(
_lexer
.Text, root, diagnostics.ToImmutable(), routeParameters.ToImmutable());
420
var literal =
_lexer
.TryScanLiteral()!;
433
_lexer
.Position--;
443
var replacementToken =
_lexer
.TryScanReplacementToken();
520
var parameterName =
_lexer
.TryScanParameterName();
563
var defaultValue =
_lexer
.TryScanDefaultValue() ?? CreateMissingToken(RoutePatternKind.DefaultValueToken);
586
var escapedPolicyFragment =
_lexer
.TryScanEscapedPolicyFragment();
601
var policyFragment =
_lexer
.TryScanUnescapedPolicyFragment();
620
? new TextSpan(
_lexer
.Text.Last().Span.End, 0)