4 instantiations of LanguageParser
Microsoft.CodeAnalysis.CSharp (4)
Parser\LanguageParser_InterpolatedString.cs (1)
380using var tempParser = new LanguageParser(tempLexer, oldTree: null, changes: null);
Syntax\CSharpSyntaxTree.cs (2)
506using var parser = new InternalSyntax.LanguageParser(lexer, oldTree: null, changes: null, cancellationToken: cancellationToken); 572using var parser = new InternalSyntax.LanguageParser(lexer, oldTree?.GetRoot(), workingChanges);
Syntax\SyntaxFactory.cs (1)
1925return new InternalSyntax.LanguageParser(lexer, oldTree: null, changes: null);
52 references to LanguageParser
Microsoft.CodeAnalysis.CSharp (52)
Parser\DirectiveParser.cs (1)
454&& LanguageParser.NoTriviaBetween(token1, token2);
Parser\LanguageParser.cs (35)
207internal TNode ParseWithStackGuard<TNode>(Func<LanguageParser, TNode> parseFunc, Func<LanguageParser, TNode> createEmptyNodeFunc) where TNode : CSharpSyntaxNode 1174LanguageParser @this, ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<AttributeSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 1229LanguageParser @this, ref SyntaxToken openParen, SeparatedSyntaxListBuilder<AttributeArgumentSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 2431static MemberDeclarationSyntax createEmptyNodeFunc(LanguageParser @this) 4072private readonly LanguageParser _parser; 4075public FieldKeywordContext(LanguageParser parser, bool isInFieldKeywordContext) 4227Func<LanguageParser, bool> isNotExpectedFunction, 4228Func<LanguageParser, SyntaxKind, bool> abortFunction, 4248Func<LanguageParser, bool> isNotExpectedFunction, 4249Func<LanguageParser, bool> abortFunction, 4269Func<LanguageParser, bool> isNotExpectedFunction, 4270Func<LanguageParser, SyntaxKind, bool> abortFunction, 4294Func<LanguageParser, bool> isNotExpectedFunction, 4295Func<LanguageParser, bool> abortFunction, 4317Func<LanguageParser, bool> isNotExpectedFunction, 4318Func<LanguageParser, SyntaxKind, bool> abortFunction, 4344Func<LanguageParser, bool> isNotExpectedFunction, 4345Func<LanguageParser, bool> abortFunction, 4592LanguageParser @this, ref SyntaxToken open, SeparatedSyntaxListBuilder<ParameterSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 5558LanguageParser @this, ref SyntaxToken openBrace, SeparatedSyntaxListBuilder<EnumMemberDeclarationSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 5761LanguageParser @this, ref SyntaxToken open, SeparatedSyntaxListBuilder<TypeParameterSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 9250LanguageParser @this, ref SyntaxToken startToken, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 11926LanguageParser @this, ref SyntaxToken open, SeparatedSyntaxListBuilder<ArgumentSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 12691LanguageParser @this, ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<CollectionElementSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 12948LanguageParser @this, ref SyntaxToken startToken, SeparatedSyntaxListBuilder<T> list, SyntaxKind expectedKind, SyntaxKind closeKind) 13066LanguageParser @this, ref SyntaxToken openBrace, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 13338LanguageParser @this, ref SyntaxToken openParen, SeparatedSyntaxListBuilder<ParameterSyntax> list, SyntaxKind expectedKind, SyntaxKind closeKind) 13824LanguageParser parser, ref SyntaxToken openToken, SeparatedSyntaxListBuilder<TNode> builder, SyntaxKind expectedKind, SyntaxKind closeTokenKind) where TNode : GreenNode; 13858Func<LanguageParser, bool> isPossibleElement, 13859Func<LanguageParser, TNode> parseElement, 13880Func<LanguageParser, bool> isPossibleElement, 13881Func<LanguageParser, TNode> parseElement, 14005private readonly LanguageParser _languageParser; 14009public DisposableResetPoint(LanguageParser languageParser, bool resetOnDispose, ResetPoint resetPoint)
Parser\LanguageParser_InterpolatedString.cs (1)
380using var tempParser = new LanguageParser(tempLexer, oldTree: null, changes: null);
Parser\LanguageParser_Patterns.cs (1)
540LanguageParser @this, ref SyntaxToken open, SeparatedSyntaxListBuilder<T> list, SyntaxKind expectedKind, SyntaxKind closeKind)
Syntax\CSharpSyntaxTree.cs (2)
506using var parser = new InternalSyntax.LanguageParser(lexer, oldTree: null, changes: null, cancellationToken: cancellationToken); 572using var parser = new InternalSyntax.LanguageParser(lexer, oldTree?.GetRoot(), workingChanges);
Syntax\SyntaxFactory.cs (12)
1693using (var parser = MakeParser(lexer)) 1717using (var parser = MakeParser(lexer)) 1736using (var parser = MakeParser(lexer)) 1755using (var parser = MakeParser(lexer)) 1775using (var parser = MakeParser(lexer)) 1800using (var parser = MakeParser(lexer)) 1818using (var parser = MakeParser(lexer)) 1837using (var parser = MakeParser(lexer)) 1856using (var parser = MakeParser(lexer)) 1875using (var parser = MakeParser(lexer)) 1894using var parser = MakeParser(lexer); 1923private static InternalSyntax.LanguageParser MakeParser(InternalSyntax.Lexer lexer)