脚本节点新增对Char字面量的支持

This commit is contained in:
fengjiayi
2025-05-31 00:20:29 +08:00
parent 8c6cb0a9c6
commit cc0b084c84
8 changed files with 159 additions and 76 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Script.Node
{
internal class CharNode : ASTNode
{
public char Value { get; }
public CharNode(string value)
{
Value = char.Parse(value);
}
}
}