| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgov.llnl.babel.symbols.ASTNodegov.llnl.babel.symbols.SymbolIDgov.llnl.babel.symbols.Symbolgov.llnl.babel.symbols.Structpublic class Structextends SymbolStruct contains a list of named types.
Nested Class Summary | |
static class | |
Field Summary |
Fields inherited from class gov.llnl.babel.symbols.Symbol | |
CLASS, ENUM, INTERFACE, PACKAGE, SCOPE, STRUCT, d_context, s_type | |
Constructor Summary | |
Method Summary | |
int | |
int | |
void |
|
Set | |
Set | |
List |
|
Set | |
boolean | |
boolean |
|
boolean |
|
Methods inherited from class gov.llnl.babel.symbols.Symbol | |
addMetadata, freeze, getAllSymbolReferences, getAttribute, getAttributes, getBasicArrayRefs, getComment, getDepth, getMetadata, getSymbolID, getSymbolReferences, getSymbolType, getSymbolTypeString, getUserSpecified, hasAttribute, isClass, isInterface, isPackage, isStruct, minimumDepth, removeAttribute, setAttribute, setAttribute, setComment, setUserSpecified | |
Methods inherited from class gov.llnl.babel.symbols.SymbolID | |
compareTo, equals, fromXML, getFullName, getShortName, getShortName, getSymbolName, getVersion, hashCode, setFromXML | |
Methods inherited from class gov.llnl.babel.symbols.ASTNode | |
checkFrozen, clone, freeze, protectCollection, protectList, protectMap, protectSet | |
public int addItem(String name,
Type type)Insert a new type and name into the struct
- Returns:
- new number of items in the struct
public Set getAllSymbolReferences()
- Overrides:
- getAllSymbolReferences in interface Symbol
public Set getSymbolReferences()
- Overrides:
- getSymbolReferences in interface Symbol
public boolean hasArrayReference()
public boolean hasType(int type)
public boolean hasTypeEmbedded(int type)