Daily update on 20250420-041137 by Nitload Youmu. Additional Message : Change: pipeline nodes use port to connect instead of connctors, this make send to multi-ports and recieve from multi-ports possible.

Remove: Some types in Pipeline namepace removed sueto no need for connectors

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-04-20 04:11:37 +08:00
parent c29993fd84
commit b618fdf7b5
72 changed files with 1343 additions and 602 deletions
@@ -45,7 +45,7 @@ namespace StgSharp.Script.Express
private bool AppendToken_CaseOf( Token t )
{
Token op;
ExpNode root;
ExpSyntaxNode root;
switch( t.Value )
{
case ExpKeyword.Case:
@@ -108,19 +108,20 @@ namespace StgSharp.Script.Express
Begin = t;
}
public Dictionary<ExpNode, ExpNode> Cases { get; } = new Dictionary<ExpNode, ExpNode>();
public Dictionary<ExpSyntaxNode, ExpSyntaxNode> Cases { get; } = new Dictionary<ExpSyntaxNode, ExpSyntaxNode>(
);
public ExpNode CaseExpression { get; set; }
public ExpSyntaxNode CaseExpression { get; set; }
public ExpNode DefaultCase { get; set; }
public ExpSyntaxNode DefaultCase { get; set; }
public ExpNode CurrentCase { get; set; }
public ExpSyntaxNode CurrentCase { get; set; }
public string CurrentState { get; set; }
public Token Begin { get; init; }
public void CloseCurrentCase( ExpNode root )
public void CloseCurrentCase( ExpSyntaxNode root )
{
Cases.Add( CurrentCase, root );
}