daily update on 20250210 by nitload youmu

This commit is contained in:
Nitload
2025-02-10 12:48:02 +08:00
parent ae94c265ae
commit c23b640cae
70 changed files with 2135 additions and 805 deletions
@@ -46,30 +46,28 @@ namespace StgSharp.Script.Express
public class ExpInvalidCharException : Exception
{
public ExpInvalidCharException(char c) :
base($"An unknown char {c} occurred.")
{
}
public ExpInvalidCharException( char c )
: base( $"An unknown char {c} occurred." ) { }
}
public class ExpInvalidTokenException : Exception
{
public ExpInvalidTokenException(int index) :
base($"Cannot read a token from line at {index}")
{
}
public ExpInvalidTokenException( int index )
: base( $"Cannot read a token from line at {index}" ) { }
}
public class ExpInvalidTypeDeclareEndingExceptions : Exception
{
public ExpInvalidTypeDeclareEndingExceptions(
string declaredName,
string endedName )
: base(
$"The datatype is declared with name {declaredName} " +
$"but ended with {endedName}" ) { }
$"The datatype is declared with name {declaredName} " + $"but ended with {endedName}" ) { }
}