1 instantiation of RegexTree
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
133return new RegexTree(root, captureCount, parser._capnamelist?.ToArray(), parser._capnames!, sparseMapping, options, parser._hasIgnoreCaseBackreferenceNodes ? culture : null);
9 references to RegexTree
System.Text.RegularExpressions.Generator (9)
RegexGenerator.cs (1)
74RegexTree 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)
716RegexTree regexTree = rm.Tree; 1475RegexTree regexTree = rm.Tree;
RegexGenerator.Parser.cs (1)
263internal sealed record RegexMethod(RegexType DeclaringType, bool IsProperty, Location DiagnosticLocation, string MemberName, string Modifiers, bool NullableRegex, string Pattern, RegexOptions Options, int? MatchTimeout, RegexTree Tree, AnalysisResults Analysis, CompilationData CompilationData)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
103public static RegexTree Parse(string pattern, RegexOptions options, CultureInfo culture)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexTreeAnalyzer.cs (4)
9/// <summary>Analyzes a <see cref="RegexTree"/> of <see cref="RegexNode"/>s to produce data on the tree structure, in particular in support of code generation.</summary> 13public static AnalysisResults Analyze(RegexTree regexTree) 172internal AnalysisResults(RegexTree regexTree) => RegexTree = regexTree; 175public RegexTree RegexTree { get; }