예제 #1
0
파일: Class.cs 프로젝트: emtees/old-code
 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;
 }
예제 #2
0
파일: NETRuby.cs 프로젝트: emtees/old-code
 static public void ReadonlySetter(object val, uint i, GlobalEntry gb, NetRuby rb)
 {
     throw new eNameError("can't set variable " + rb.id2name(i));
 }
예제 #3
0
파일: Class.cs 프로젝트: emtees/old-code
 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;
 }
예제 #4
0
파일: NETRuby.cs 프로젝트: emtees/old-code
 static private object undef_getter(uint i, GlobalEntry gb, NetRuby rb)
 {
     rb.warning("global variable `" + rb.id2name(i) + "' not initialized");
     return null;
 }