begin regex ir opt

This commit is contained in:
Youmu Liu
2026-06-23 20:08:33 +08:00
parent 7e5e4d1f7a
commit 2b05d626c7
10 changed files with 210 additions and 194 deletions
@@ -33,15 +33,15 @@ using System.Threading.Tasks;
namespace StgSharp.RegularAnalysis.Text
{
public partial class RegexInterpreter
public partial class RegexAnalyzer
{
internal static string GetSourceCode(
IEnumerable<RegexHIR> irs
IEnumerable<RegexIR> irs
)
{
StringBuilder sb = new StringBuilder();
foreach (RegexHIR ir in irs) {
foreach (RegexIR ir in irs) {
ScanAndMarkIROptimization(ir);
}
return sb.ToString();