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