mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
重写脚本解释器的实现,提高其可读性。
This commit is contained in:
15
Serein.Script/Node/ExpressionNode.cs
Normal file
15
Serein.Script/Node/ExpressionNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Serein.Script.Node
|
||||
{
|
||||
public class ExpressionNode : ASTNode
|
||||
{
|
||||
/// <summary>
|
||||
/// 对象成员(嵌套获取)
|
||||
/// </summary>
|
||||
public ASTNode Value { get; }
|
||||
|
||||
public ExpressionNode(ASTNode value)
|
||||
{
|
||||
this.Value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user