예제 #1
0
 public void RegisterInternalAddress(object obj, TyonAddress address)
 {
     if (address != null)
     {
         internal_address_to_object.Add(address, obj);
     }
 }
예제 #2
0
        public object ResolveInternalAddress(TyonAddress address)
        {
            object obj;

            TryResolveInternalAddress(address, out obj);
            return(obj);
        }
예제 #3
0
 public ILValue ResolveExternalAddress(TyonAddress address)
 {
     return(context.GetInstanceILMethodInvokation("ResolveExternalAddress", address.CreateILLiteral()));
 }
예제 #4
0
 public ILLocal ResolveInternalAddress(TyonAddress address)
 {
     return(internal_address_to_local.GetValue(address));
 }
예제 #5
0
 public TyonValue_InternalAddress(TyonAddress address, TyonDehydrater dehydrater) : this()
 {
     SetTyonAddress(address);
 }
예제 #6
0
 public bool TryResolveInternalAddress(TyonAddress address, out object obj)
 {
     return(internal_address_to_object.TryGetValue(address, out obj));
 }
예제 #7
0
 public object ResolveExternalAddress(TyonAddress address)
 {
     return(GetContext().ResolveExternalAddress(address));
 }
예제 #8
0
 public bool TryResolveExternalAddress(TyonAddress address, out object obj)
 {
     return(external_address_to_objects.TryGetValueByLeft(address, out obj));
 }
예제 #9
0
 public bool TryResolveExternalObject(object obj, out TyonAddress address)
 {
     return(external_address_to_objects.TryGetValueByRight(obj, out address));
 }
예제 #10
0
 public TyonValue_ExternalAddress(TyonAddress a, TyonDehydrater dehydrater) : this()
 {
     SetTyonAddress(a);
 }