org.jacorb.idl
Class NameTable

java.lang.Object
  extended by org.jacorb.idl.NameTable

public class NameTable
extends Object


Field Summary
static Map parsed_interfaces
           
 
Constructor Summary
NameTable()
           
 
Method Summary
static void define(String name, IDLTypes kind)
          define a name.
static void inheritFrom(String name, SymbolList ancestors)
          copy names declared in an ancestor interface to the local scope
static void init()
           
static boolean isDefined(String name)
          check whether name is already defined
static boolean isDefined(String name, IDLTypes kind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parsed_interfaces

public static final Map parsed_interfaces
Constructor Detail

NameTable

public NameTable()
Method Detail

init

public static void init()

define

public static void define(String name,
                          IDLTypes kind)
                   throws NameAlreadyDefined
define a name. If it has already been defined in this scope, an exception is thrown

Parameters:
name - The name to be defined
kind - the type of name, e.g. "type"
Throws:
NameAlreadyDefined - if the name is already defined

inheritFrom

public static void inheritFrom(String name,
                               SymbolList ancestors)
                        throws NameAlreadyDefined
copy names declared in an ancestor interface to the local scope

Throws:
NameAlreadyDefined

isDefined

public static boolean isDefined(String name)
check whether name is already defined


isDefined

public static boolean isDefined(String name,
                                IDLTypes kind)


Copyright © 2012 JacORB. All Rights Reserved.