1 instantiation of RegexTree
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
133
return 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)
74
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)
716
RegexTree
regexTree = rm.Tree;
1475
RegexTree
regexTree = rm.Tree;
RegexGenerator.Parser.cs (1)
263
internal 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)
103
public 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>
13
public static AnalysisResults Analyze(
RegexTree
regexTree)
172
internal AnalysisResults(
RegexTree
regexTree) => RegexTree = regexTree;
175
public
RegexTree
RegexTree { get; }