Exemple #1
0
 internal fc_result(uint key, RObjectBase kl, RObjectBase value, fc_result pv)
 {
     name  = key;
     path  = null;
     klass = kl;
     track = value;
     prev  = pv;
 }
Exemple #2
0
 internal override void AttachSingleton(RObjectBase obj)
 {
     if (iv_tbl == null)
     {
         iv_tbl = new st_table();
     }
     iv_tbl[ruby.intern("__attached__")] = obj;
 }
Exemple #3
0
 internal RObjectBase(RObjectBase o)
     : base(o)
 {
     klass.AttachSingleton(this);
     if (o.iv_tbl != null)
     {
         iv_tbl = (st_table)o.iv_tbl.Clone();
     }
 }
Exemple #4
0
 internal virtual void AttachSingleton(RObjectBase obj)
 {
     // overriden by RSingletonClass
 }
Exemple #5
0
 internal virtual void AttachSingleton(RObjectBase obj)
 {
     // overriden by RSingletonClass
 }
Exemple #6
0
 internal RObjectBase(RObjectBase o)
     : base(o)
 {
     klass.AttachSingleton(this);
     if (o.iv_tbl != null)
     {
         iv_tbl = (st_table)o.iv_tbl.Clone();
     }
 }
Exemple #7
0
 internal bool end(RObjectBase o)
 {
     return(o == track);
 }
Exemple #8
0
 internal bool end(RObjectBase o) { return (o == track); }
Exemple #9
0
 internal fc_result(uint key, RObjectBase kl, RObjectBase value, fc_result pv)
 {
     name = key;
     path = null;
     klass = kl;
     track = value;
     prev = pv;
 }
Exemple #10
0
 internal override void AttachSingleton(RObjectBase obj)
 {
     if (iv_tbl == null)
     {
         iv_tbl = new st_table();
     }
     iv_tbl[ruby.intern("__attached__")] = obj;
 }