Exemplo n.º 1
0
        public virtual object IVarGet(uint iid)
        {
/*
 *          if (Test(FL.EXIVAR) || IsSpecialConst)
 *          {
 *              return ruby.GenericIVarGet(this, iid);
 *          }
 */
            if (ruby.verbose)
            {
                ruby.warning(String.Format("instance variable {0} not initialized",
                                           ruby.id2name(iid)));
            }
            return(null);
        }
Exemplo n.º 2
0
 internal override string Inspect(NetRuby ruby, uint key, RNode body)
 {
     if (body.body != null && (body.noex & (NOEX.PRIVATE)) != 0)
     {
         return(ruby.id2name(key));
     }
     return(null);
 }
Exemplo n.º 3
0
 internal virtual string Inspect(NetRuby ruby, uint key, RNode body)
 {
     if ((body.noex & (NOEX.PRIVATE | NOEX.PROTECTED)) == 0)
     {
         if (body.body != null)
         {
             return(ruby.id2name(key));
         }
     }
     return(null);
 }
Exemplo n.º 4
0
 // Hack, until we have real symbols
 internal string id2name(uint id)
 {
     return(ruby.id2name(id));
 }