org.jacorb.idl

Class Module

Implemented Interfaces:
Scope

public class Module
extends Declaration
implements Scope

Note: a module's name is its package name!

Field Summary

Definitions
spec

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

Module(int num)
class constructor

Method Summary

void
accept(IDLTreeVisitor visitor)
Definitions
getDefinitions()
ScopeData
getScopeData()
String
originalModuleName()
void
parse()
empty parse
void
print(PrintWriter ps)
void
setEnclosingSymbol(IdlSymbol s)
void
setPackage(String s)
void
setScopeData(ScopeData data)
void
set_included(boolean i)
used by the lexer to mark this symbol as included from another IDL file

Methods inherited from class org.jacorb.idl.Declaration

accept

Methods inherited from class org.jacorb.idl.IdlSymbol

accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, getEnclosingSymbol, get_token, id, isEscaped, is_included, is_pseudo, name, new_num, omgPrefix, parse, print, printIdMethod, printImport, setEnclosingSymbol, setPackage, setPrintPhaseNames, set_name, set_pseudo, set_token

Field Details

spec

public Definitions spec

Constructor Details

Module

public Module(int num)
class constructor

Method Details

accept

public void accept(IDLTreeVisitor visitor)
Overrides:
accept in interface Declaration


getDefinitions

public Definitions getDefinitions()


getScopeData

public ScopeData getScopeData()
Specified by:
getScopeData in interface Scope


originalModuleName

public String originalModuleName()

Returns:
the original, unreplaced module name (needed to build a repositoryID that is untouched by the compiler option -i2jpackage


parse

public void parse()
empty parse
Overrides:
parse in interface IdlSymbol


print

public void print(PrintWriter ps)
Overrides:
print in interface IdlSymbol


setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)
Overrides:
setEnclosingSymbol in interface IdlSymbol


setPackage

public void setPackage(String s)
Overrides:
setPackage in interface IdlSymbol


setScopeData

public void setScopeData(ScopeData data)
Specified by:
setScopeData in interface Scope


set_included

public void set_included(boolean i)
used by the lexer to mark this symbol as included from another IDL file