Daily update on 20250411-013955 by Nitload Youmu. Additional Message : none

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-04-11 01:39:55 +08:00
parent a4b2e9a805
commit 2692495dc8
11 changed files with 225 additions and 12 deletions
@@ -75,6 +75,11 @@ namespace StgSharp.Script.Express
return FunctionDict.TryGetValue( name, out f! );
}
public override bool TryGetProcedure( string name, out ExpProcedureSource p )
{
return ProcedureDict.TryGetValue( name, out p! );
}
public override bool TryGetRule( string name, out ExpRuleSource r )
{
r = null!;
@@ -70,7 +70,7 @@ namespace StgSharp.Script.Express
Backslash, IndexOf, RightBracket, LeftBrace,
RightBrace, Pipe, LeftParen, RightParen, LeftAsterisk,
Assignment, DoublePipe, ExpSymbole, CommentSingleLine,
CommentStart, CommentEnd, ColonEqualColon, ColonNotEqualColon
CommentStart, CommentEnd, InstanceEqual, InstanceNotEqual
];
public static HashSet<string> DataTypes { get; } = [
@@ -346,8 +346,8 @@ namespace StgSharp.Script.Express
public const string CommentSingleLine = "--";
public const string CommentStart = "(*";
public const string CommentEnd = "*)";
public const string ColonEqualColon = ":=:";
public const string ColonNotEqualColon = ":<>:";
public const string InstanceEqual = ":=:";
public const string InstanceNotEqual = ":<>:";
#endregion
}