15 references to EatToken
Microsoft.CodeAnalysis.CSharp (15)
Parser\DirectiveParser.cs (7)
37var hash = this.EatToken(SyntaxKind.HashToken, false); 117var id = this.EatToken(SyntaxKind.IdentifierToken, false); 412var minus = EatToken(SyntaxKind.MinusToken, reportError: reportError); 452var openParen = EatToken(SyntaxKind.OpenParenToken, reportError); 457var comma = EatToken(SyntaxKind.CommaToken, reportError); 462var closeParen = EatToken(SyntaxKind.CloseParenToken, reportError); 670var style = this.EatToken(SyntaxKind.DisableKeyword, reportError: false);
Parser\DocumentationCommentParser.cs (6)
231var lessThanSlash = this.EatToken(SyntaxKind.LessThanSlashToken, reportError: false); 281var slashGreater = this.EatToken(SyntaxKind.SlashGreaterThanToken, false); 447var equals = this.EatToken(SyntaxKind.EqualsToken, false); 640var startQuote = this.EatToken(quoteKind, reportError: false); 655var endQuote = this.EatToken(quoteKind, reportError: false); 1563SyntaxToken identifierToken = this.EatToken(SyntaxKind.IdentifierToken, reportError: false);
Parser\LanguageParser.cs (2)
3351this.EatToken(SyntaxKind.OpenParenToken, reportError), 3353this.EatToken(SyntaxKind.CloseParenToken, reportError));