1 instantiation of RegexTree
System.Text.RegularExpressions.Generator (1)
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
133
return new
RegexTree
(root, captureCount, parser._capnamelist?.ToArray(), parser._capnames!, sparseMapping, options, parser._hasIgnoreCaseBackreferenceNodes ? culture : null);
8 references to RegexTree
System.Text.RegularExpressions.Generator (8)
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
103
public static unsafe
RegexTree
Parse(string pattern, RegexOptions options, CultureInfo culture)
parent\src\System\Text\RegularExpressions\RegexTreeAnalyzer.cs (3)
13
public static AnalysisResults Analyze(
RegexTree
regexTree)
168
internal AnalysisResults(
RegexTree
regexTree) => RegexTree = regexTree;
171
public
RegexTree
RegexTree { get; }
RegexGenerator.cs (1)
83
RegexTree
regexTree = RegexParser.Parse(method.Pattern, method.Options | RegexOptions.Compiled, method.Culture); // make sure Compiled is included to get all optimizations applied to it
RegexGenerator.Emitter.cs (2)
841
RegexTree
regexTree = rm.Tree;
1616
RegexTree
regexTree = rm.Tree;
RegexGenerator.Parser.cs (1)
256
internal sealed record RegexMethod(RegexType DeclaringType, bool IsProperty, string MemberName, string Modifiers, bool NullableRegex, string Pattern, RegexOptions Options, int? MatchTimeout,
RegexTree
Tree, AnalysisResults Analysis, CompilationData CompilationData)