public class BitType extends IntType implements Cloneable
relaxedEqSem
Constructor and Description |
---|
BitType(IntType underlyingType,
int sizeInBits,
int lsbOffset,
int cvAttributes) |
Modifier and Type | Method and Description |
---|---|
BitType |
asBit()
Casts this to a BitType or returns null if not a BitType.
|
protected boolean |
equalSemanticsImpl(Type arg) |
protected boolean |
equalsImpl(Type arg) |
int |
getOffset()
Offset from the least-significant bit (LSB) of the LSB of this
type
|
int |
getSizeInBits()
Size in bits of this type.
|
protected int |
hashCodeImpl() |
protected int |
hashCodeSemanticsImpl() |
void |
visit(TypeVisitor arg)
Visit this type and all of the component types of this one; for
example, the return type and argument types of a FunctionType.
|
asInt, isPrimitiveUnsigned, isUnsigned, setTypedefName, toString
isPrimitive
arrayDimension, asArray, asCompound, asDouble, asEnum, asFloat, asFunction, asPointer, asVoid, clearCache, clone, equals, equalSemantics, getBaseElementType, getCName, getCName, getCVAttributes, getCVAttributesString, getCVVariant, getDebugString, getName, getName, getSize, getSize, getTargetType, hashCode, hashCodeSemantics, hasName, hasTypedefName, isAnonymous, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isVoid, isVolatile, pointerDepth, setName
public BitType(IntType underlyingType, int sizeInBits, int lsbOffset, int cvAttributes)
protected int hashCodeImpl()
hashCodeImpl
in class IntType
protected boolean equalsImpl(Type arg)
equalsImpl
in class IntType
protected int hashCodeSemanticsImpl()
hashCodeSemanticsImpl
in class IntType
protected boolean equalSemanticsImpl(Type arg)
equalSemanticsImpl
in class IntType
public BitType asBit()
Type
public int getSizeInBits()
public int getOffset()
public void visit(TypeVisitor arg)
Type