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
+27
View File
@@ -30,12 +30,39 @@
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Script.Express
{
[EditorBrowsable( EditorBrowsableState.Never )]
public static class ExpNodeFlagHelper
{
public static bool IsInFlag( this ExpNodeFlag flag, long target )
{
return ( ( long )flag & target ) != 0;
}
public static bool IsInFlag( this ExpNodeFlag flag, ExpNodeFlag target )
{
return ( long )( flag & target ) != 0;
}
public static bool IsNotInFlag( this ExpNodeFlag flag, long target )
{
return ( ( long )flag & target ) == 0;
}
public static bool IsNotInFlag( this ExpNodeFlag flag, ExpNodeFlag target )
{
return ( long )( flag & target ) == 0;
}
}
[Flags]
public enum ExpNodeFlag : long
{