2025-07-08 10:46:31 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Language.Lua
|
|
|
|
|
{
|
|
|
|
|
public partial class BoolLiteral : Term
|
|
|
|
|
{
|
|
|
|
|
public override LuaValue Evaluate(LuaTable enviroment)
|
|
|
|
|
{
|
|
|
|
|
return LuaBoolean.From(bool.Parse(this.Text));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|