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