| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private ArrayList | |
| private final IntType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public StringBuilder | |
| public EnumType | asEnum()
Overrides com. |
| public boolean | |
| protected boolean | equalSemanticsImpl(final Type arg)
Overrides com. |
| protected boolean | |
| public EnumType. | |
| public EnumType. | |
| public int | |
| public Type | |
| protected int | |
| protected int | |
| 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 usedOverrides com.
Implementation must use |
| public boolean | |
| public void | visit(final TypeVisitor arg)
Overrides com. Type and all of its component types; for
example, the return type and argument types of a FunctionType.
|
| enums | back to summary |
|---|---|
| private ArrayList<EnumType. | |
| underlyingType | back to summary |
|---|---|
| private final IntType underlyingType | |
| EnumType | back to summary |
|---|---|
| public EnumType(final String name) | |
| EnumType | back to summary |
|---|---|
| public EnumType(final String name, final SizeThunk enumSizeInBytes, final ASTLocusTag astLocus) | |
| EnumType | back to summary |
|---|---|
| private EnumType(final EnumType o, final int cvAttributes, final ASTLocusTag astLocus) | |
| addEnum | back to summary |
|---|---|
| public void addEnum(final String name, final EnumType. | |
| appendEnums | back to summary |
|---|---|
| public StringBuilder appendEnums(final StringBuilder sb, final boolean cr) | |
| asEnum | back to summary |
|---|---|
| public EnumType asEnum() Overrides com. Doc from com. Casts this to an EnumType or returns null if not an EnumType.
| |
| containsEnumerate | back to summary |
|---|---|
| public boolean containsEnumerate(final String name) Does this enum type contain an enumerate with the given name? | |
| equalSemanticsImpl | back to summary |
|---|---|
| protected boolean equalSemanticsImpl(final Type arg) Overrides com.
| |
| equalsImpl | back to summary |
|---|---|
| protected boolean equalsImpl(final Type arg) Overrides com.
| |
| getEnum | back to summary |
|---|---|
| public EnumType. Fetch ith (0..getNumEnumerates() - 1) | |
| getEnum | back to summary |
|---|---|
| public EnumType. Fetch the enumerate with the given name. | |
| getNumEnumerates | back to summary |
|---|---|
| public int getNumEnumerates() Number of enumerates defined in this enum. | |
| getUnderlyingType | back to summary |
|---|---|
| public Type getUnderlyingType() | |
| hashCodeImpl | back to summary |
|---|---|
| protected int hashCodeImpl() Overrides com.
| |
| hashCodeSemanticsImpl | back to summary |
|---|---|
| protected int hashCodeSemanticsImpl() Overrides com.
| |
| newVariantImpl | back to summary |
|---|---|
| pack-priv Type newVariantImpl(final boolean newCVVariant, final int cvAttributes, final ASTLocusTag astLocus) Overrides com. Doc from com. Create a new variant of this type matching the given parameter
Implementation must use
| |
| removeEnumerate | back to summary |
|---|---|
| public boolean removeEnumerate(final String name) Remove the enumerate with the given name. Returns true if it was found and removed; false if it was not found. | |
| visit | back to summary |
|---|---|
| public void visit(final TypeVisitor arg) Overrides com. Doc from com. Traverse this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final ConstantDefinition. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. arg)Overrides java. |
| public boolean | equalSemantics(final TypeComparator.
Implements com. name.
|
| public String | |
| public String | |
| public ConstantDefinition. | |
| public int | |
| public int | hashCodeSemantics()
Implements com. name.
|
| public boolean | |
| public String |
| expr | back to summary |
|---|---|
| private final String expr | |
| name | back to summary |
|---|---|
| private final String name | |
| number | back to summary |
|---|---|
| private final ConstantDefinition. | |
| Enumerator | back to summary |
|---|---|
| public Enumerator(final String name, final long value) | |
| Enumerator | back to summary |
|---|---|
| public Enumerator(final String name, final ConstantDefinition. | |
| Enumerator | back to summary |
|---|---|
| public Enumerator(final String name, final String value) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object arg) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| equalSemantics | back to summary |
|---|---|
| public boolean equalSemantics(final TypeComparator. Implements com. Doc from com. Semantic equality test for Types exclusive its given
| |
| getExpr | back to summary |
|---|---|
| public String getExpr() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getNumber | back to summary |
|---|---|
| public ConstantDefinition. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hashCodeSemantics | back to summary |
|---|---|
| public int hashCodeSemantics() Implements com. Doc from com. Semantic hashcode for Types exclusive its given
| |
| hasNumber | back to summary |
|---|---|
| public boolean hasNumber() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |