1 write to lexer
Microsoft.CodeAnalysis.CSharp (1)
Parser\SyntaxParser.cs (1)
60this.lexer = lexer;
12 references to lexer
Microsoft.CodeAnalysis.CSharp (12)
Parser\DirectiveParser.cs (3)
36var hashPosition = lexer.TextWindow.Position; 111if (lexer.Options.Kind == SourceCodeKind.Script && contextualKind == SyntaxKind.ExclamationToken && hashPosition == 0 && !hash.HasTrailingTrivia) 685=> this.lexer.LexEndOfDirectiveWithOptionalPreprocessingMessage();
Parser\LanguageParser.cs (3)
220return CreateForGlobalFailure(lexer.TextWindow.Position, createEmptyNodeFunc(this)); 230builder.Add(SyntaxFactory.BadToken(null, lexer.TextWindow.Text.ToString(), null)); 11321if (this.CurrentToken.Kind == SyntaxKind.EndOfFileToken && this.lexer.InterpolationFollowedByColon)
Parser\SyntaxParser.cs (6)
126_firstBlender = new Blender(this.lexer, oldTree: null, changes: null); 141var size = Math.Min(CachedTokenArraySize, this.lexer.TextWindow.Text.Length / 2); 142var lexer = this.lexer; 221get { return this.lexer.Options; } 363this.AddLexedToken(this.lexer.Lex(_mode)); 1128get { return lexer.Directives; }