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(); 65Debug.Assert(_lexer.Position == _lexer.Text.Length); 81return new RoutePatternTree(_lexer.Text, root, diagnostics.ToImmutable(), routeParameters.ToImmutable()); 420var literal = _lexer.TryScanLiteral()!; 433_lexer.Position--; 443var replacementToken = _lexer.TryScanReplacementToken(); 520var parameterName = _lexer.TryScanParameterName(); 563var defaultValue = _lexer.TryScanDefaultValue() ?? CreateMissingToken(RoutePatternKind.DefaultValueToken); 586var escapedPolicyFragment = _lexer.TryScanEscapedPolicyFragment(); 601var policyFragment = _lexer.TryScanUnescapedPolicyFragment(); 620? new TextSpan(_lexer.Text.Last().Span.End, 0)