Daily update on 20250323-151439 by Nitload Youmu. Additional Message : none
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -58,37 +58,7 @@ namespace StgSharp
|
||||
{
|
||||
try {
|
||||
StgSharp.Init();
|
||||
|
||||
CompileStack<ExpNode, IExpElementSource> stack = new CompileStack<ExpNode, IExpElementSource>(
|
||||
);
|
||||
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
stack.PushOperand(
|
||||
new Token( $"{i}", 0, 0, TokenFlag.Number ) );
|
||||
}
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
stack.PushOperator(
|
||||
new Token( $"op_{i}", 0, 0, TokenFlag.Member ) );
|
||||
}
|
||||
stack.IncreaseDepth( 0 );
|
||||
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
stack.PushOperand(
|
||||
new Token( $"{i}", 0, 0, TokenFlag.Number ) );
|
||||
}
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
stack.PushOperator(
|
||||
new Token( $"op_{i}", 0, 0, TokenFlag.Member ) );
|
||||
}
|
||||
|
||||
while( stack.TryPopOperand(
|
||||
out bool isNode, out Token t, out ExpNode n ) ) {
|
||||
Console.WriteLine( t.Value );
|
||||
}
|
||||
while( stack.TryPopOperator( out Token op ) ) {
|
||||
Console.WriteLine( op.Value );
|
||||
}
|
||||
|
||||
ExpLinearExpressionTest();
|
||||
return;
|
||||
}
|
||||
catch( Exception ex ) {
|
||||
|
||||
Reference in New Issue
Block a user