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
+3 -8
View File
@@ -51,8 +51,7 @@ namespace StgSharp.Script
ReadOnlySpan<char> subSpan = sourceSpan.Slice( startIndex );
int start = 0;
while( start < subSpan.Length && char.IsWhiteSpace(
subSpan[ start ] ) ) {
while( start < subSpan.Length && char.IsWhiteSpace( subSpan[ start ] ) ) {
start++;
}
int end = subSpan.Length - 1;
@@ -67,10 +66,7 @@ namespace StgSharp.Script
return new string( subSpan.Slice( start, finalLength ) );
}
public static string SliceAndTrim(
this string line,
int startIndex,
int length )
public static string SliceAndTrim( this string line, int startIndex, int length )
{
if( line == null ) {
throw new ArgumentNullException( nameof( line ) );
@@ -88,8 +84,7 @@ namespace StgSharp.Script
ReadOnlySpan<char> subSpan = sourceSpan.Slice( startIndex, length );
int start = 0;
while( start < subSpan.Length && char.IsWhiteSpace(
subSpan[ start ] ) ) {
while( start < subSpan.Length && char.IsWhiteSpace( subSpan[ start ] ) ) {
start++;
}
int end = subSpan.Length - 1;