Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
@@ -88,7 +88,14 @@ namespace StgSharp.Script.Express
}
public class ExpBoolNode : ExpElementInstance
public interface IExpBooleanSyntax
{
bool Value { get; }
}
public class ExpBoolNode : ExpElementInstance, IExpBooleanSyntax
{
private readonly bool _value;
@@ -152,7 +159,7 @@ namespace StgSharp.Script.Express
}
public class ExpLogicValueNode : ExpElementInstance
public class ExpLogicValueNode : ExpElementInstance, IExpBooleanSyntax
{
private readonly ExpLogic _value;
@@ -166,7 +173,7 @@ namespace StgSharp.Script.Express
CodeConvertTemplate = isLiteral ? value.ToString() : source.Value;
}
public ExpLogic Value => _value;
public ExpLogic LogicValue => _value;
public override IExpElementSource EqualityTypeConvert
{
@@ -177,5 +184,7 @@ namespace StgSharp.Script.Express
public override string TypeName => EqualityTypeConvert.Name;
bool IExpBooleanSyntax.Value => _value.ToBoolean();
}
}