1 write to lexer
Microsoft.CodeAnalysis.CSharp (1)
Parser\SyntaxParser.cs (1)
52this.lexer = lexer;
12 references to lexer
Microsoft.CodeAnalysis.CSharp (12)
Parser\DirectiveParser.cs (3)
34var hashPosition = lexer.TextWindow.Position; 113if (lexer.Options.Kind == SourceCodeKind.Script && contextualKind == SyntaxKind.ExclamationToken && hashPosition == 0 && !hash.HasTrailingTrivia) 690=> this.lexer.LexEndOfDirectiveWithOptionalPreprocessingMessage();
Parser\LanguageParser.cs (3)
217return CreateForGlobalFailure(lexer.TextWindow.Position, createEmptyNodeFunc(this)); 227builder.Add(SyntaxFactory.BadToken(null, lexer.TextWindow.Text.ToString(), null)); 10575if (this.CurrentToken.Kind == SyntaxKind.EndOfFileToken && this.lexer.InterpolationFollowedByColon)
Parser\SyntaxParser.cs (6)
110_firstBlender = new Blender(this.lexer, null, null); 125var size = Math.Min(4096, Math.Max(32, this.lexer.TextWindow.Text.Length / 2)); 127var lexer = this.lexer; 204get { return this.lexer.Options; } 346this.AddLexedToken(this.lexer.Lex(_mode)); 1074get { return lexer.Directives; }