17 lines
391 B
C#
17 lines
391 B
C#
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;
|
|
}
|
|
}
|
|
}
|