Daily update on 20250304-070522 by Nitload Youmu. Additional Message : None

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-04 07:05:23 +08:00
parent 825e68853c
commit 5d4f516a28
40 changed files with 299 additions and 233 deletions
@@ -95,15 +95,14 @@ namespace StgSharp.Script.Express
_operandsNode.Push( node );
}
public AbstractSyntaxTree<ExpNode, IExpElementSource> CloseAndDispose(
)
public AbstractSyntaxTree<ExpNode, IExpElementSource> CloseAndDispose()
{
if( _operandsToken.Count != 0 ) {
// convert rest to AST
}
return new AbstractSyntaxTree<ExpNode, IExpElementSource>();
}
/*
public ExpNode GenerateNode( Token t )
{
switch( t.Flag ) {
@@ -131,10 +130,9 @@ namespace StgSharp.Script.Express
break;
}
}
/**/
public int GetNextOperandCache(
out Token? token,
out ExpNode? node )
public int GetNextOperandCache( out Token? token, out ExpNode? node )
{
if( _operandsNode.Count != 0 ) {
node = _operandsNode.Pop();