예제 #1
0
 public UnitImplementationScope CreateUnitImplementationScope(Scope InterfaceScope, Scope[] UsedUnits)
 {
     TreeConverter.base_scope[] arr = new TreeConverter.base_scope[UsedUnits.Length];
     for (int i = 0; i < arr.Length; i++)
     {
         arr[i] = UsedUnits[i].internal_scope;
     }
     TreeConverter.interface_scope isc1 = null;
     if (InterfaceScope != null)
     {
         isc1 = (TreeConverter.interface_scope)InterfaceScope.internal_scope;
     }
     return(new UnitImplementationScope(isc1, arr));
 }
예제 #2
0
 public UnitImplementationScope(TreeConverter.interface_scope isc, TreeConverter.base_scope[] bsa)
 {
     _sc = new TreeConverter.implementation_scope(isc, bsa);
 }
예제 #3
0
 public UnitInterfaceScope(TreeConverter.base_scope[] bsa)
 {
     _sc = new TreeConverter.interface_scope(bsa);
 }
예제 #4
0
		public UnitInterfaceScope(TreeConverter.base_scope[] bsa)
		{
			_sc=new TreeConverter.interface_scope(bsa);
		}