Daily update on 20250325-164701 by Nitload Youmu. Additional Message : Lineaar line and multi-linear line compile full function. String literal parsing improve.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-25 16:47:02 +08:00
parent ffd5825a05
commit 469cb88472
29 changed files with 414 additions and 273 deletions
+6 -13
View File
@@ -57,7 +57,8 @@ namespace StgSharp.Script.Express
if( TypeDict.TryGetValue( typeName, out ret ) ) {
return ret;
}
foreach( GeneratedExpSchema item in SchemaInclude.Values ) {
foreach( GeneratedExpSchema item in SchemaInclude.Values )
{
if( item.TypeDict.TryGetValue( typeName, out ret ) ) {
return ret;
}
@@ -75,9 +76,7 @@ namespace StgSharp.Script.Express
throw new NotImplementedException();
}
public override bool TryGetConst(
string name,
out ExpElementInstanceBase c )
public override bool TryGetConst( string name, out ExpElementInstance c )
{
return ConstDict.TryGetValue( name, out c );
}
@@ -87,9 +86,7 @@ namespace StgSharp.Script.Express
return EntityDict.TryGetValue( name, out e );
}
public override bool TryGetFunction(
string name,
out ExpFunctionSource f )
public override bool TryGetFunction( string name, out ExpFunctionSource f )
{
return FunctionDict.TryGetValue( name, out f );
}
@@ -99,16 +96,12 @@ namespace StgSharp.Script.Express
throw new NotImplementedException();
}
public override bool TryGetSchemaInclude(
string name,
out ExpSchema include )
public override bool TryGetSchemaInclude( string name, out ExpSchema include )
{
throw new NotImplementedException();
}
public override bool TryGetType(
string name,
out ExpTypeSource element )
public override bool TryGetType( string name, out ExpTypeSource element )
{
throw new NotImplementedException();
}