mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
新增了脚本节点对于集合对象[]下标/key取值的语法支持。修复了加载项目文件时无法加载脚本节点变量名称的问题
This commit is contained in:
@@ -11,9 +11,11 @@ namespace Serein.Script.Node
|
||||
/// </summary>
|
||||
public class CollectionIndexNode : ASTNode
|
||||
{
|
||||
public ASTNode TargetValue { get; }
|
||||
public ASTNode IndexValue { get; }
|
||||
public CollectionIndexNode(ASTNode indexValue)
|
||||
public CollectionIndexNode(ASTNode collectionValue,ASTNode indexValue)
|
||||
{
|
||||
this.TargetValue = collectionValue;
|
||||
this.IndexValue = indexValue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user