61 references to ConsumeCurrentToken
Microsoft.CodeAnalysis.Features (61)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (61)
102ConsumeCurrentToken(allowTrivia: true); 271var barToken = ConsumeCurrentToken(allowTrivia: true); 444ConsumeCurrentToken(allowTrivia: true)); 450return TryParseLazyQuantifier(new RegexZeroOrMoreQuantifierNode(current, ConsumeCurrentToken(allowTrivia: true))); 456return TryParseLazyQuantifier(new RegexOneOrMoreQuantifierNode(current, ConsumeCurrentToken(allowTrivia: true))); 462return TryParseLazyQuantifier(new RegexZeroOrOneQuantifierNode(current, ConsumeCurrentToken(allowTrivia: true))); 521ConsumeCurrentToken(allowTrivia: false); 540ConsumeCurrentToken(allowTrivia: false); 561closeBraceToken = ConsumeCurrentToken(allowTrivia: true); 568ConsumeCurrentToken(allowTrivia); 617ConsumeCurrentToken(allowTrivia: true); 623var token = ConsumeCurrentToken(allowTrivia: true); 633return new RegexAnchorNode(RegexKind.EndAnchor, ConsumeCurrentToken(allowTrivia: true)); 639return new RegexAnchorNode(RegexKind.StartAnchor, ConsumeCurrentToken(allowTrivia: true)); 645return new RegexWildcardNode(ConsumeCurrentToken(allowTrivia: true)); 654var openParenToken = ConsumeCurrentToken(allowTrivia: false); 674return ConsumeCurrentToken(allowTrivia: true); 695ConsumeCurrentToken(allowTrivia: true); 728ConsumeCurrentToken(allowTrivia: false); 799ConsumeCurrentToken(allowTrivia: false); 832ConsumeCurrentToken(allowTrivia: false); 845ConsumeCurrentToken(allowTrivia: true); 914ConsumeCurrentToken(allowTrivia: false); 945var lessThanToken = ConsumeCurrentToken(allowTrivia: false); 982ConsumeCurrentToken(allowTrivia: false); 1011ConsumeCurrentToken(allowTrivia: false); 1067ConsumeCurrentToken(allowTrivia: false); 1083ConsumeCurrentToken(allowTrivia: false); 1146ConsumeCurrentToken(allowTrivia: false); 1154ConsumeCurrentToken(allowTrivia: true)); 1226ConsumeCurrentToken(allowTrivia: false); 1237ConsumeCurrentToken(allowTrivia: false); 1247closeBracketToken = ConsumeCurrentToken(allowTrivia: true); 1287var minusToken = ConsumeCurrentToken(allowTrivia: false); 1480ConsumeCurrentToken(allowTrivia: false); 1516backslashToken, ConsumeCurrentToken(allowTrivia: false).With(kind: RegexKind.TextToken)); 1538ConsumeCurrentToken(allowTrivia: false)); 1548ConsumeCurrentToken(allowTrivia: false); 1558ConsumeCurrentToken(allowTrivia: false); 1566ConsumeCurrentToken(allowTrivia: false); 1573ConsumeCurrentToken(allowTrivia: false).With(kind: RegexKind.TextToken)); 1600ConsumeCurrentToken(allowTrivia: false); 1620backslashToken, ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd)); 1629backslashToken, ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd)); 1646ConsumeCurrentToken(allowTrivia: false); 1747ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 1808ConsumeCurrentToken(allowTrivia: false); 1826ConsumeCurrentToken(allowTrivia: false); 1834closeToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 1843ConsumeCurrentToken(allowTrivia: false); 1853ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 1868backslashToken, ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd)); 1876var typeToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken); 1893ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 1901ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 1908var typeToken = ConsumeCurrentToken(allowTrivia: false); 1947var controlToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken); 2004ConsumeCurrentToken(allowTrivia: false); 2016ConsumeCurrentToken(allowTrivia: false); 2030closeBraceToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd); 2038var token = ConsumeCurrentToken(allowTrivia: true);