public class Case extends IdlSymbol
Modifier and Type | Field and Description |
---|---|
SymbolList |
case_label_list
the labels for this case
|
ElementSpec |
element_spec
this case's element's type's spec
|
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
parse_state, sym
Constructor and Description |
---|
Case(int num) |
Modifier and Type | Method and Description |
---|---|
void |
parse()
empty parse
|
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, setPrintPhaseNames
public SymbolList case_label_list
public ElementSpec element_spec
public void setPackage(java.lang.String s)
setPackage
in class IdlSymbol
public void setUnion(UnionType ut)
public void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol
in class IdlSymbol
public void setTypeSpec(TypeSpec s)
public void parse()
IdlSymbol