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