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