| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | IntType(final String name, final SizeThunk size, final boolean unsigned, final int cvAttributes, final ASTLocusTag astLocus)
|
| public | IntType(final String
the name name, final SizeThunk the size size, final boolean true if this instance is unsigned, not the typedef! unsigned, final int the cvAttributes for this instance, not for the typedef! cvAttributes, final boolean true if this instance is a typedef variant isTypedef, final boolean true if the typedef itself is unsigned typedefUnsigned, final ASTLocusTag the location in source code astLocus)Only for HeaderParser! |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public IntType | asInt()
Overrides com. |
| protected boolean | equalSemanticsImpl(final Type arg)
Implements abstract com. |
| protected boolean | |
| public String | getCName(final boolean includeCVAttrs)
Overrides com. |
| protected int | |
| protected int | hashCodeSemanticsImpl()
Implements abstract com. |
| public boolean | |
| pack-priv Type | newVariantImpl(final boolean
true if new variant is intended to have new cvAttributes newCVVariant, final int the cvAttributes to be used cvAttributes, final ASTLocusTag the astLocus)ASTLocusTag to be usedImplements abstract com.
Implementation must use |
| public boolean | setTypedefName(final String name)
Overrides com. name has a length.
|
| public String | toString()
Overrides com. |
| typedefUnsigned | back to summary |
|---|---|
| private boolean typedefUnsigned | |
| unsigned | back to summary |
|---|---|
| private final boolean unsigned | |
| IntType | back to summary |
|---|---|
| public IntType(final String name, final SizeThunk size, final boolean unsigned, final int cvAttributes) | |
| IntType | back to summary |
|---|---|
| public IntType(final String name, final SizeThunk size, final boolean unsigned, final int cvAttributes, final ASTLocusTag astLocus) | |
| IntType | back to summary |
|---|---|
| public IntType(final String name, final SizeThunk size, final boolean unsigned, final int cvAttributes, final boolean isTypedef, final boolean typedefUnsigned, final ASTLocusTag astLocus) Only for HeaderParser!
| |
| IntType | back to summary |
|---|---|
| pack-priv IntType(final IntType o, final int cvAttributes, final ASTLocusTag astLocus) | |
| asInt | back to summary |
|---|---|
| public IntType asInt() Overrides com. Doc from com. Casts this to an IntType or returns null if not an IntType.
| |
| equalSemanticsImpl | back to summary |
|---|---|
| protected boolean equalSemanticsImpl(final Type arg) Implements abstract com.
| |
| equalsImpl | back to summary |
|---|---|
| protected boolean equalsImpl(final Type arg) Implements abstract com.
| |
| getCName | back to summary |
|---|---|
| public String getCName(final boolean includeCVAttrs) Overrides com. Doc from com. Returns the name of this type, optionally including const/volatile attributes. The returned string is suitable for use as a type specifier for native C.
| |
| hashCodeImpl | back to summary |
|---|---|
| protected int hashCodeImpl() Implements abstract com.
| |
| hashCodeSemanticsImpl | back to summary |
|---|---|
| protected int hashCodeSemanticsImpl() Implements abstract com.
| |
| isUnsigned | back to summary |
|---|---|
| public boolean isUnsigned() Indicates whether this type is unsigned | |
| newVariantImpl | back to summary |
|---|---|
| pack-priv Type newVariantImpl(final boolean newCVVariant, final int cvAttributes, final ASTLocusTag astLocus) Implements abstract com. Doc from com. Create a new variant of this type matching the given parameter
Implementation must use
| |
| setTypedefName | back to summary |
|---|---|
| public boolean setTypedefName(final String name) Overrides com. Doc from com. Set the typedef name of this type and renders this type a typedef,
if given
Method issues
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from com. Returns a string representation of this type. The returned string is suitable for use as a type specifier for native C. It does contain an expanded description of structs/unions, hence may not be suitable for type declarations.
| |