Exemple #1
0
 public ArrayType(long length, LType elementType)
 {
     Length      = length;
     ElementType = elementType;
 }
Exemple #2
0
 public override bool StructurallyEquals(LType other) =>
 other is VoidType;
Exemple #3
0
 public override bool StructurallyEquals(LType other) =>
 other is ArrayType a &&
Exemple #4
0
 public override bool StructurallyEquals(LType other) =>
 other is FloatType a &&
Exemple #5
0
 public override bool StructurallyEquals(LType other) =>
 other is NamedType a &&
Exemple #6
0
 public PointerType(LType elementType, int addressSpace)
 {
     ElementType  = elementType;
     AddressSpace = addressSpace;
 }
Exemple #7
0
 public override bool StructurallyEquals(LType other) =>
 other is PointerType a &&
Exemple #8
0
 public override bool StructurallyEquals(LType other) =>
 other is LiteralStructureType a &&
Exemple #9
0
 public abstract bool StructurallyEquals(LType other);
Exemple #10
0
 public override bool StructurallyEquals(LType other) =>
 other is OpaqueStructureType;
Exemple #11
0
 public VectorType(int length, LType elementType)
 {
     Length      = length;
     ElementType = elementType;
 }
Exemple #12
0
 public override bool StructurallyEquals(LType other) =>
 other is VectorType a &&
Exemple #13
0
 public override bool StructurallyEquals(LType other) =>
 other is FunctionType a &&
Exemple #14
0
 public FunctionType(LType returnType, IEnumerable <LType> parameterTypes)
 {
     ReturnType     = returnType;
     ParameterTypes = parameterTypes.ToArray();
 }