1 instantiation of RegexTree
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexParser.cs (1)
133return new RegexTree(root, captureCount, parser._capnamelist?.ToArray(), parser._capnames!, sparseMapping, options, parser._hasIgnoreCaseBackreferenceNodes ? culture : null);
23 references to RegexTree
System.Text.RegularExpressions (23)
System\Text\RegularExpressions\Regex.cs (6)
76RegexTree tree = Init(pattern, RegexOptions.None, s_defaultMatchTimeout, ref culture); 96RegexTree tree = Init(pattern, options, matchTimeout, ref culture); 120private RegexTree Init(string pattern, RegexOptions options, TimeSpan matchTimeout, [NotNull] ref CultureInfo? culture) 128RegexTree tree = RegexParser.Parse(pattern, options, culture); 218private static RegexRunnerFactory? Compile(string pattern, RegexTree regexTree, RegexOptions options, bool hasTimeout) => 253RegexTree tree = RegexParser.Parse(pattern, options, (options & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture);
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (2)
45internal void GenerateRegexType(string pattern, RegexOptions options, string name, bool isPublic, RegexTree tree, RegexInterpreterCode code, TimeSpan matchTimeout) 103RegexTree tree,
System\Text\RegularExpressions\RegexCompiler.cs (3)
116/// <summary>The <see cref="RegexTree"/> written for the expression.</summary> 117protected RegexTree? _regexTree; 137internal static RegexRunnerFactory? Compile(string pattern, RegexTree regexTree, RegexOptions options, bool hasTimeout) =>
System\Text\RegularExpressions\RegexInterpreter.cs (1)
11internal sealed class RegexInterpreterFactory(RegexTree tree) : RegexRunnerFactory
System\Text\RegularExpressions\RegexLWCGCompiler.cs (1)
35public RegexRunnerFactory? FactoryInstanceFromCode(string pattern, RegexTree regexTree, RegexOptions options, bool hasTimeout)
System\Text\RegularExpressions\RegexParser.cs (1)
103public static RegexTree Parse(string pattern, RegexOptions options, CultureInfo culture)
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; }
System\Text\RegularExpressions\RegexWriter.cs (4)
22private readonly RegexTree _tree; 36private RegexWriter(RegexTree tree, Span<int> emittedSpan, Span<int> intStackSpan) 56/// It takes a <see cref="RegexTree"/> and creates a corresponding <see cref="RegexInterpreterCode"/>. 58public static RegexInterpreterCode Write(RegexTree tree)
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (1)
15public SymbolicRegexRunnerFactory(RegexTree regexTree, RegexOptions options, TimeSpan matchTimeout)