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