LLVMTypeSequential.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 26 Jan 2016 23:45:52 +0000
changeset 52 64d32e0b879a
parent 27 b26354bbff25
permissions -rw-r--r--
Moved LLVMModuleTests to package jv:llvm_s/tests

"
    Copyright (C) 2015-now Jan Vrany

    This code is not an open-source (yet). You may use this code
    for your own experiments and projects, given that:

    * all modification to the code will be sent to the
      original author for inclusion in future releases
    * this is not used in any commercial software

    This license is provisional and may (will) change in
    a future.
"
"{ Package: 'jv:llvm_s' }"

"{ NameSpace: Smalltalk }"

LLVMType subclass:#LLVMTypeSequential
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'LLVM-S-Core-Types'
!

!LLVMTypeSequential class methodsFor:'documentation'!

copyright
"
    Copyright (C) 2015-now Jan Vrany

    This code is not an open-source (yet). You may use this code
    for your own experiments and projects, given that:

    * all modification to the code will be sent to the
      original author for inclusion in future releases
    * this is not used in any commercial software

    This license is provisional and may (will) change in
    a future.
"
! !

!LLVMTypeSequential class methodsFor:'queries'!

isAbstract
    "Return if this class is an abstract class.
     True is returned here for myself only; false for subclasses.
     Abstract subclasses must redefine again."

    ^ self == LLVMTypeSequential.
! !

!LLVMTypeSequential methodsFor:'accessing'!

elementType
    "Return the array/vector element type or the type a pointer points to"

    ^ LLVM GetElementType: self

    "Created: / 13-08-2015 / 19:02:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !