org.jacorb.idl
Class Module
java.lang.Object
org.jacorb.idl.runtime.symbol
org.jacorb.idl.IdlSymbol
org.jacorb.idl.Declaration
org.jacorb.idl.Module
- All Implemented Interfaces:
- Scope
- public class Module
- extends Declaration
- implements Scope
Note: a module's name is its package name!
Constructor Summary |
Module(int num)
|
Methods inherited from class org.jacorb.idl.IdlSymbol |
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spec
public Definitions spec
Module
public Module(int num)
setScopeData
public void setScopeData(ScopeData data)
- Specified by:
setScopeData
in interface Scope
getScopeData
public ScopeData getScopeData()
- Specified by:
getScopeData
in interface Scope
setPackage
public void setPackage(java.lang.String s)
- Overrides:
setPackage
in class IdlSymbol
set_included
public void set_included(boolean i)
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
- Overrides:
setEnclosingSymbol
in class IdlSymbol
parse
public void parse()
- Description copied from class:
IdlSymbol
- empty parse
- Overrides:
parse
in class IdlSymbol
print
public void print(java.io.PrintWriter ps)
- Overrides:
print
in class IdlSymbol
originalModuleName
public java.lang.String originalModuleName()
- Returns:
- the original, unreplaced module name
(needed to build a repositoryID that is untouched by
the compiler option -i2jpackage
getDefinitions
public Definitions getDefinitions()
accept
public void accept(IDLTreeVisitor visitor)
- Description copied from class:
IdlSymbol
- let the visitor pattern do its work...
- Overrides:
accept
in class Declaration