Пример #1
0
        public TyonDehydrater(TyonContext c)
        {
            next_internal_address      = 1;
            object_to_tyon_addressable = new Dictionary <object, TyonAddressable>();

            context = c;
        }
Пример #2
0
        public TyonContext CreateContext(IEnumerable <object> external_objects)
        {
            TyonContext context = CreateContext();

            context.RegisterExternalObjects(external_objects);
            return(context);
        }
Пример #3
0
 public TyonCompiler(TyonHydrationMode m, TyonContext c) : base(m, c)
 {
     object_to_local           = new Dictionary <TyonObject, ILLocal>();
     internal_address_to_local = new Dictionary <TyonAddress, ILLocal>();
 }
Пример #4
0
        public TyonHydraterBase(TyonHydrationMode m, TyonContext c)
        {
            mode = m;

            context = c;
        }
Пример #5
0
 public TyonHydrater(TyonHydrationMode m, TyonContext c) : base(m, c)
 {
     deferred_process_list      = new DeferredProcessList();
     internal_address_to_object = new Dictionary <TyonAddress, object>();
 }