org.openorb.pss.compiler.ir

Class IdlFromIR

public class IdlFromIR extends Object

This class provides an import mechanism to get IDL descriptions from Interface Repository.

Version: $Revision: 1.6 $ $Date: 2004/02/10 21:19:14 $

Author: Jerome Daniel

Constructor Summary
IdlFromIR(PsdlCompilerProperties pcp, CompilerHost ch)
Constructor
Method Summary
booleancheckFromImportFromFile(String container_name)
This operation is used to import a container from an IDL file if a link has been provided.
voidgetDescriptionFromIR(String scope_name, IdlObject current_scope)
This method is called from the IDL parser to get an IR container description.
voidset_parser(IdlParser parser)
Set the parser

Constructor Detail

IdlFromIR

public IdlFromIR(PsdlCompilerProperties pcp, CompilerHost ch)
Constructor

Method Detail

checkFromImportFromFile

public boolean checkFromImportFromFile(String container_name)
This operation is used to import a container from an IDL file if a link has been provided. Only top level import are accepted and only one level container are accepted : import ::top // OK import top::foo // NOT OK import ::top::foo // NOT OK

getDescriptionFromIR

public void getDescriptionFromIR(String scope_name, IdlObject current_scope)
This method is called from the IDL parser to get an IR container description.

set_parser

public void set_parser(IdlParser parser)
Set the parser