Daily update on 20250323-151439 by Nitload Youmu. Additional Message : none

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-23 15:14:39 +08:00
parent 528d0c5462
commit 148b0fed4a
29 changed files with 313 additions and 178 deletions
@@ -36,7 +36,7 @@ using System.Threading.Tasks;
namespace StgSharp.Script.Express
{
public static partial class ExpCompile
public static partial class ExpressCompile
{
public static ExpTypeSource ExpInt
@@ -34,23 +34,23 @@ using System.Collections.Frozen;
using System.Collections.Generic;
using System.Linq;
using static StgSharp.Script.Express.ExpCompile;
using static StgSharp.Script.Express.ExpressCompile;
namespace StgSharp.Script.Express
{
internal partial class ExpSchema_Nitload : ExpSchema
internal partial class ExpSchema_Builtin : ExpSchema
{
private static readonly ExpSchema_Nitload _onlyInstance = new ExpSchema_Nitload(
private static readonly ExpSchema_Builtin _onlyInstance = new ExpSchema_Builtin(
);
private ExpSchema_Nitload()
private ExpSchema_Builtin()
: base()
{
Name = "Nitload";
}
internal static ExpSchema_Nitload Only
internal static ExpSchema_Builtin Only
{
get => _onlyInstance;
}
@@ -1,6 +1,6 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// file="ExpCompile.cs"
// file="ExpressCompile.cs"
// Project: StgSharp
// AuthorGroup: Nitload Space
// Copyright (c) Nitload Space. All rights reserved.
@@ -42,7 +42,7 @@ using System.Text;
namespace StgSharp.Script.Express
{
public static partial class ExpCompile
public static partial class ExpressCompile
{
private static string[] _operatorsWithLetter;
@@ -82,7 +82,7 @@ namespace StgSharp.Script.Express
_compileStringCache = new StringPool();
_multiplexer = new ConcurrentStringHashMultiplexer();
ExpSchema_Nitload.Only.Init();
ExpSchema_Builtin.Only.Init();
PoolKeywords();
InitPrecedence();
@@ -99,18 +99,18 @@ namespace StgSharp.Script.Express
KeyWord.Not,
];
ExpSchema_Nitload.Only
ExpSchema_Builtin.Only
.TryGetType(
PoolString( KeyWord.Integer ),
out ExpTypeSource? _expInt );
ExpInt = _expInt;
ExpSchema_Nitload.Only
ExpSchema_Builtin.Only
.TryGetType(
PoolString( KeyWord.Real ),
out ExpTypeSource? _expReal );
ExpReal = _expReal;
ExpSchema_Nitload.Only
ExpSchema_Builtin.Only
.TryGetType(
PoolString( KeyWord.Boolean ),
out ExpTypeSource? _expBool );
@@ -37,7 +37,7 @@ using System.Threading.Tasks;
namespace StgSharp.Script.Express
{
public static partial class ExpCompile
public static partial class ExpressCompile
{
public static bool TryGetOperatorPrecedence(
@@ -37,7 +37,7 @@ using System.Threading.Tasks;
namespace StgSharp.Script.Express
{
public static partial class ExpCompile
public static partial class ExpressCompile
{
private static HashSet<string> _keywordSet;