示例#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();
 }