public class SwitchBody extends IdlSymbol
| Modifier and Type | Field and Description |
|---|---|
java.util.Vector |
caseListVector
holds case list
|
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_state, sym| Constructor and Description |
|---|
SwitchBody(int num) |
| Modifier and Type | Method and Description |
|---|---|
void |
parse()
do the parsing
|
void |
print(java.io.PrintWriter ps) |
void |
setEnclosingSymbol(IdlSymbol s) |
void |
setPackage(java.lang.String s) |
void |
setTypeSpec(TypeSpec s) |
void |
setUnion(UnionType ut)
pass a reference to the containing union through
to the case elements, which pass it on
|
accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNamespublic void setTypeSpec(TypeSpec s)
public void setUnion(UnionType ut)
public void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol in class IdlSymbolpublic void setPackage(java.lang.String s)
setPackage in class IdlSymbol