mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
脚本节点新增对Char字面量的支持
This commit is contained in:
@@ -442,6 +442,8 @@ namespace Serein.Script
|
||||
return numberNode.Value; // 返回数值
|
||||
case StringNode stringNode:
|
||||
return stringNode.Value; // 返回字符串值
|
||||
case CharNode charNode:
|
||||
return charNode.Value; // 返回Char
|
||||
case IdentifierNode identifierNode:
|
||||
return context.GetVarValue(identifierNode.Name);
|
||||
//throw new SereinSciptException(identifierNode, "尝试使用值为null的变量");
|
||||
|
||||
Reference in New Issue
Block a user