16 lines
368 B (Stored with Git LFS)
C#
16 lines
368 B (Stored with Git LFS)
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Language.Lua
|
|
{
|
|
public partial class NameAccess : Access
|
|
{
|
|
public override LuaValue Evaluate(LuaValue baseValue, LuaTable enviroment)
|
|
{
|
|
LuaValue key = new LuaString(this.Name);
|
|
return LuaValue.GetKeyValue(baseValue, key);
|
|
}
|
|
}
|
|
}
|