regex interpreter now can build partial correct AST (i forget groups), but in bad shape. building an optimizer.

This commit is contained in:
Youmu Liu
2026-02-06 18:02:00 +08:00
parent 3a441b270c
commit ed7972f1da
5 changed files with 66 additions and 25 deletions
@@ -66,6 +66,7 @@ namespace StgSharp.RegularAnalysis.TextRegex
get;
set
{
field?.Parent = null;
field = value;
value.Parent = this;
}
@@ -76,6 +77,7 @@ namespace StgSharp.RegularAnalysis.TextRegex
get;
set
{
field?.Parent = null;
field = value;
value.Parent = this;
}