org.jacorb.idl

Class ConstDecl

public class ConstDecl extends Declaration

Version: $Id: ConstDecl.java,v 1.31 2006/06/20 10:52:57 alphonse.bendt Exp $

Author: Gerald Brose

Field Summary
ConstExprconst_expr
ConstTypeconst_type
Constructor Summary
ConstDecl(int num)
Method Summary
static voidinit()
static StringnamedValue(ScopedName sn)
voidparse()
voidprint(PrintWriter ps)
prints a constant declaration outside of an enclosing interface into a separate interface
voidprintContained(PrintWriter ps)
prints a constant declaration as part of an enclosing interface
voidsetPackage(String s)

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 String namedValue(ScopedName sn)

parse

public void parse()

print

public void print(PrintWriter ps)
prints a constant declaration outside of an enclosing interface into a separate interface

printContained

public void printContained(PrintWriter ps)
prints a constant declaration as part of an enclosing interface

setPackage

public void setPackage(String s)