예제 #1
0
 public Node eval(Environment env)
 {
     if(this.isSymbol())
     {
         id = new Ident(this.getName());
         return id.eval(this, env);
     }
     return this;
 }
예제 #2
0
        }                                                         // BuiltIn

        public virtual Node eval(Environment e)
        {
            if (this.isSymbol())
            {
                Ident id = new Ident(this.getName());
                return(id.eval(this, e));
            }
            return(this);
        }
예제 #3
0
 public virtual Node eval(Environment env)
 {
     if (this is Ident)
     {
         iden = new Ident(this.getName());
         return(iden.eval(this, env));
     }
     return(this);
 }