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