コード例 #1
0
ファイル: AbstractOperation.cs プロジェクト: rauldoblem/Tac
 public BinaryPopulateScope(IPopulateScope <IFrontendType> left,
                            IPopulateScope <IFrontendType> right,
                            BinaryOperation.MakeBinaryType <IWeakTypeReference> make)
 {
     this.left  = left ?? throw new ArgumentNullException(nameof(left));
     this.right = right ?? throw new ArgumentNullException(nameof(right));
     this.make  = make ?? throw new ArgumentNullException(nameof(make));
 }
コード例 #2
0
ファイル: AbstractOperation.cs プロジェクト: rauldoblem/Tac
 public static IPopulateScope <IWeakTypeReference> PopulateScope(IPopulateScope <IConvertableFrontendType <IVerifiableType> > left,
                                                                 IPopulateScope <IConvertableFrontendType <IVerifiableType> > right,
                                                                 BinaryOperation.MakeBinaryType <IWeakTypeReference> make)
 {
     return(new BinaryPopulateScope(left,
                                    right,
                                    make));
 }
コード例 #3
0
ファイル: AbstractOperation.cs プロジェクト: rauldoblem/Tac
 public static IPopulateBoxes <IWeakTypeReference> PopulateBoxes(IPopulateBoxes <IConvertableFrontendType <IVerifiableType> > resolveReferance1,
                                                                 IPopulateBoxes <IConvertableFrontendType <IVerifiableType> > resolveReferance2,
                                                                 BinaryOperation.MakeBinaryType <IWeakTypeReference> make)
 {
     return(new BinaryResolveReferance(resolveReferance1,
                                       resolveReferance2,
                                       make));
 }
コード例 #4
0
ファイル: AbstractOperation.cs プロジェクト: rauldoblem/Tac
 public BinaryResolveReferance(
     IPopulateBoxes <IFrontendType> resolveReferance1,
     IPopulateBoxes <IFrontendType> resolveReferance2,
     BinaryOperation.MakeBinaryType <IWeakTypeReference> make)
 {
     left      = resolveReferance1 ?? throw new ArgumentNullException(nameof(resolveReferance1));
     right     = resolveReferance2 ?? throw new ArgumentNullException(nameof(resolveReferance2));
     this.make = make ?? throw new ArgumentNullException(nameof(make));
 }
コード例 #5
0
ファイル: AbstractOperation.cs プロジェクト: rauldoblem/Tac
 public BinaryTypeMaker(string symbol, BinaryOperation.MakeBinaryType <IWeakTypeReference> make
                        )
 {
     Symbol = symbol ?? throw new ArgumentNullException(nameof(symbol));
     Make   = make ?? throw new ArgumentNullException(nameof(make));
 }