2025-07-08 10:46:31 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Language.Lua
|
|
|
|
|
{
|
|
|
|
|
public partial class LocalFunc : Statement
|
|
|
|
|
{
|
|
|
|
|
public override LuaValue Execute(LuaTable enviroment, out bool isBreak)
|
|
|
|
|
{
|
|
|
|
|
enviroment.SetNameValue(this.Name, this.Body.Evaluate(enviroment));
|
|
|
|
|
isBreak = false;
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|