org.jacorb.idl
Class ConstDecl
java.lang.Object
org.jacorb.idl.runtime.symbol
org.jacorb.idl.IdlSymbol
org.jacorb.idl.Declaration
org.jacorb.idl.ConstDecl
public class ConstDecl
- extends Declaration
Method Summary |
static void |
init()
|
static java.lang.String |
namedValue(ScopedName sn)
|
void |
parse()
empty parse |
void |
print(java.io.PrintWriter ps)
prints a constant declaration outside of an enclosing interface
into a separate interface |
void |
printContained(java.io.PrintWriter ps)
prints a constant declaration as part of an enclosing
interface |
void |
setPackage(java.lang.String s)
|
Methods inherited from class org.jacorb.idl.IdlSymbol |
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, setEnclosingSymbol, setPrintPhaseNames |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
const_expr
public ConstExpr const_expr
const_type
public ConstType const_type
ConstDecl
public ConstDecl(int num)
init
public static void init()
namedValue
public static java.lang.String namedValue(ScopedName sn)
setPackage
public void setPackage(java.lang.String s)
- Overrides:
setPackage
in class IdlSymbol
parse
public void parse()
- Description copied from class:
IdlSymbol
- empty parse
- Overrides:
parse
in class IdlSymbol
printContained
public void printContained(java.io.PrintWriter ps)
- prints a constant declaration as part of an enclosing
interface
print
public void print(java.io.PrintWriter ps)
- prints a constant declaration outside of an enclosing interface
into a separate interface
- Overrides:
print
in class IdlSymbol