CapersProject/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Interpreter/Expr/VarName.cs

20 lines
374 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Language.Lua
{
public partial class VarName : BaseExpr
{
public override LuaValue Evaluate(LuaTable enviroment)
{
return enviroment.GetValue(this.Name);
}
public override Term Simplify()
{
return this;
}
}
}