org.jacorb.idl
Class ConstDecl

java.lang.Object
  extended by org.jacorb.idl.runtime.symbol
      extended by org.jacorb.idl.IdlSymbol
          extended by org.jacorb.idl.Declaration
              extended by org.jacorb.idl.ConstDecl

public class ConstDecl
extends Declaration


Field Summary
 ConstExpr const_expr
           
 ConstType const_type
           
 
Fields inherited from class org.jacorb.idl.IdlSymbol
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
 
Fields inherited from class org.jacorb.idl.runtime.symbol
parse_state, sym
 
Constructor Summary
ConstDecl(int num)
           
 
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.Declaration
accept
 
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
 

Field Detail

const_expr

public ConstExpr const_expr

const_type

public ConstType const_type
Constructor Detail

ConstDecl

public ConstDecl(int num)
Method Detail

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