1 instantiation of RegexTree
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (1)
177return new RegexTree(
34 references to RegexTree
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (6)
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (6)
109private (SyntaxToken, RegexTree, VirtualCharSequence) JustParseTree( 120var tree = RegexParser.TryParse(allChars, options); 124private (RegexTree, SourceText) TryParseTree( 187private static string TreeToText(SourceText text, RegexTree tree) 206private static XElement CreateDiagnosticsElement(SourceText text, RegexTree tree) 271private static void CheckInvariants(RegexTree tree, VirtualCharSequence allChars)
Microsoft.CodeAnalysis.Features (27)
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (1)
85var tree = detector.TryParseString(token, context.SemanticModel, cancellationToken);
EmbeddedLanguages\RegularExpressions\LanguageServices\EmbeddedCompletionContext.cs (2)
22public readonly RegexTree Tree; 31RegexTree tree,
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexBraceMatcher.cs (5)
51var tree = detector.TryParseString(token, semanticModel, cancellationToken); 56private static BraceMatchingResult? GetMatchingBraces(RegexTree tree, int position) 76private static BraceMatchingResult? FindCommentBraces(RegexTree tree, VirtualChar ch) 89private static BraceMatchingResult? FindGroupingBraces(RegexTree tree, VirtualChar ch) 95private static BraceMatchingResult? FindCharacterClassBraces(RegexTree tree, VirtualChar ch)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexClassifier.cs (1)
55var tree = detector.TryParseString(token, semanticModel, cancellationToken);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (4)
43var tree = detector.TryParseString(token, semanticModel, cancellationToken); 50private static ImmutableArray<HighlightSpan> GetHighlights(RegexTree tree, int positionInDocument) 69private static ImmutableArray<HighlightSpan> GetReferences(RegexTree tree, int position) 79private static ImmutableArray<HighlightSpan> FindReferenceHighlights(RegexTree tree, VirtualChar ch)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
247EmbeddedCompletionContext context, RegexTree tree, VirtualChar previousVirtualChar)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedLanguage.cs (2)
33internal async Task<(RegexTree tree, SyntaxToken token)> TryGetTreeAndTokenAtPositionAsync( 41var tree = detector.TryParseString(token, semanticModel, cancellationToken);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (2)
28: AbstractLanguageDetector<RegexOptions, RegexTree, RegexLanguageDetector, RegexLanguageDetector.RegexInfo>( 163protected override RegexTree? TryParse(VirtualCharSequence chars, RegexOptions options)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (5)
25/// Produces a <see cref="RegexTree"/> from a sequence of <see cref="VirtualChar"/> characters. 127public static RegexTree? TryParse(VirtualCharSequence text, RegexOptions options) 143var tree1 = new RegexParser(text, options, 149var tree2 = new RegexParser( 159private RegexTree ParseTree()
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (1)
60var tree = RegexParser.TryParse(sequence, RegexOptions.None);
NavigateTo\RegexPatternDetector.cs (1)
69public static (string? container, string name) SplitOnContainerDot(string pattern, RegexTree tree)
NavigateTo\RegexQueryCompiler.cs (2)
39var tree = RegexParser.TryParse(sequence, RegexOptions.None); 58public static RegexQuery? Compile(RegexTree tree)
Microsoft.CodeAnalysis.Features.UnitTests (1)
NavigateTo\RegexDetectionTests.cs (1)
18var tree = RegexParser.TryParse(sequence, RegexOptions.None);