Example #1
0
 public override Instance Eval(NameContext context)
 {
     var inst = context.GetFieldUpwards(this.Name);
     if (inst == null)
         throw new Exception(string.Format("undefined '{0}'", this.Name));
     return inst;
 }