18 references to RegexTree
Microsoft.CodeAnalysis.Features (18)
EmbeddedLanguages\RegularExpressions\LanguageServices\EmbeddedCompletionContext.cs (2)
22
public readonly
RegexTree
Tree;
31
RegexTree
tree,
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexBraceMatcher.cs (4)
56
private static BraceMatchingResult? GetMatchingBraces(
RegexTree
tree, int position)
76
private static BraceMatchingResult? FindCommentBraces(
RegexTree
tree, VirtualChar ch)
89
private static BraceMatchingResult? FindGroupingBraces(
RegexTree
tree, VirtualChar ch)
95
private static BraceMatchingResult? FindCharacterClassBraces(
RegexTree
tree, VirtualChar ch)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (3)
50
private static ImmutableArray<HighlightSpan> GetHighlights(
RegexTree
tree, int positionInDocument)
69
private static ImmutableArray<HighlightSpan> GetReferences(
RegexTree
tree, int position)
79
private static ImmutableArray<HighlightSpan> FindReferenceHighlights(
RegexTree
tree, VirtualChar ch)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
247
EmbeddedCompletionContext context,
RegexTree
tree, VirtualChar previousVirtualChar)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedLanguage.cs (1)
33
internal async Task<(
RegexTree
tree, SyntaxToken token)> TryGetTreeAndTokenAtPositionAsync(
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (2)
27
: AbstractLanguageDetector<RegexOptions,
RegexTree
, RegexLanguageDetector, RegexLanguageDetector.RegexInfo>(
162
protected override
RegexTree
? TryParse(VirtualCharSequence chars, RegexOptions options)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (5)
26
/// Produces a <see cref="
RegexTree
"/> from a sequence of <see cref="VirtualChar"/> characters.
128
public static
RegexTree
? TryParse(VirtualCharSequence text, RegexOptions options)
144
var
tree1 = new RegexParser(text, options,
150
var
tree2 = new RegexParser(
160
private
RegexTree
ParseTree()