2 instantiations of ParserContext
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Legacy\HtmlMarkupParser.cs (1)
50
using var xmlContext = new
ParserContext
(sourceDocument, options, cancellationToken);
Language\Legacy\RazorParser.cs (1)
28
using var context = new
ParserContext
(source, Options, cancellationToken);
12 references to ParserContext
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Legacy\CSharpCodeParser.cs (3)
120
public CSharpCodeParser(
ParserContext
context)
125
public CSharpCodeParser(ImmutableArray<DirectiveDescriptor> directives,
ParserContext
context)
230
ParserContext
context,
Language\Legacy\HtmlMarkupParser.cs (3)
31
public HtmlMarkupParser(
ParserContext
context)
36
private HtmlMarkupParser(
ParserContext
context, bool parseAsXml)
50
using
var
xmlContext = new ParserContext(sourceDocument, options, cancellationToken);
Language\Legacy\ParserBase.cs (2)
8
internal abstract class ParserBase(
ParserContext
context)
10
public
ParserContext
Context { get; } = context;
Language\Legacy\ParserContext.ErrorScope.cs (2)
8
public readonly ref struct ErrorScope(
ParserContext
context)
10
private readonly
ParserContext
_context = context;
Language\Legacy\RazorParser.cs (1)
28
using
var
context = new ParserContext(source, Options, cancellationToken);
Language\Legacy\TokenizerBackedParser.cs (1)
47
protected TokenizerBackedParser(LanguageCharacteristics<TTokenizer> language,
ParserContext
context)