public class BitType extends IntType implements Cloneable
relaxedEqSem| Constructor and Description |
|---|
BitType(IntType underlyingType,
int sizeInBits,
int lsbOffset,
int cvAttributes,
ASTLocusTag astLocus) |
| 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)
Traverse this
Type and all of its component types; for
example, the return type and argument types of a FunctionType. |
asInt, getCName, isUnsigned, setTypedefName, toStringisPrimitivearrayDimension, asArray, asCompound, asDouble, asEnum, asFloat, asFunction, asPointer, asVoid, clearCache, clone, equals, equalSemantics, getASTLocusTag, getBaseElementType, getCName, getCVAttributes, getCVAttributesString, getDebugString, getName, getName, getSize, getSize, getTargetType, hashCode, hashCodeSemantics, isAnon, isArray, isBaseTypeConst, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isTypedef, isVoid, isVolatile, newCVVariant, pointerDepthpublic BitType(IntType underlyingType, int sizeInBits, int lsbOffset, int cvAttributes, ASTLocusTag astLocus)
protected int hashCodeImpl()
hashCodeImpl in class IntTypeprotected boolean equalsImpl(Type arg)
equalsImpl in class IntTypeprotected int hashCodeSemanticsImpl()
hashCodeSemanticsImpl in class IntTypeprotected boolean equalSemanticsImpl(Type arg)
equalSemanticsImpl in class IntTypepublic BitType asBit()
Typepublic int getSizeInBits()
public int getOffset()
public void visit(TypeVisitor arg)
TypeType and all of its component types; for
example, the return type and argument types of a FunctionType.