public interface ICompositeType extends IBinding, IType
Modifier and Type | Field and Description |
---|---|
static int |
k_struct |
static int |
k_union |
EMPTY_BINDING_ARRAY
EMPTY_TYPE_ARRAY, TYPE_MATCHER
Modifier and Type | Method and Description |
---|---|
IField |
findField(String name)
Returns the field that matches name, or
null if there is no such field. |
IScope |
getCompositeScope()
Returns the IScope object that is associated with this composite type.
|
IField[] |
getFields()
Returns the fields for this type.
|
int |
getKey()
|
boolean |
isAnonymous()
Returns whether the type is anonymous or not.
|
getLinkage, getName, getNameCharArray, getOwner, getScope
clone, isSameType
static final int k_struct
static final int k_union
int getKey()
boolean isAnonymous()
struct Outer { struct {int a;}; // anonymous struct {int b;} c; // not anonymous }
IField[] getFields()
IField findField(String name)
null
if there is no such field.name
- IScope getCompositeScope()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.