org.openorb.pss.compiler
Class PsdlCompiler

java.lang.Object
  extended by org.openorb.pss.compiler.PsdlCompiler
All Implemented Interfaces:
org.openorb.compiler.CompilerHost, org.openorb.compiler.CompilerIF

public class PsdlCompiler
extends java.lang.Object
implements org.openorb.compiler.CompilerHost, org.openorb.compiler.CompilerIF

This class is a PSDL compiler.

Author:
Jerome Daniel

Constructor Summary
PsdlCompiler()
           
 
Method Summary
 void compile_file(org.openorb.compiler.CompileListEntry cle, org.openorb.compiler.CompilerProperties cp)
           
 org.openorb.compiler.CompilerProperties createEmptyProperties()
           
 void display_help()
          Display help to known how to use this compiler
 void display(java.lang.String s)
           
 void execute_compiler(org.openorb.compiler.CompilerHost ch, org.openorb.compiler.CompilerProperties cp)
           
 void includePSS(PsdlCompilerProperties pcp, PsdlParser p)
          Inport CosPersistentState
 void init_compiler(org.openorb.compiler.CompilerHost ch, org.openorb.compiler.CompilerProperties cp)
           
 void loadCosPPS(org.openorb.compiler.CompilerProperties cp)
          This function is used to load from the CosPSS configuration file some flags
static void main(java.lang.String[] args)
          Program entry point
 void scan_args(java.lang.String[] args, org.openorb.compiler.CompilerProperties cp)
          Scan command line arguments
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsdlCompiler

public PsdlCompiler()
Method Detail

display_help

public void display_help()
Display help to known how to use this compiler

Specified by:
display_help in interface org.openorb.compiler.CompilerIF

scan_args

public void scan_args(java.lang.String[] args,
                      org.openorb.compiler.CompilerProperties cp)
Scan command line arguments

Specified by:
scan_args in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

init_compiler

public void init_compiler(org.openorb.compiler.CompilerHost ch,
                          org.openorb.compiler.CompilerProperties cp)
Specified by:
init_compiler in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

compile_file

public void compile_file(org.openorb.compiler.CompileListEntry cle,
                         org.openorb.compiler.CompilerProperties cp)
                  throws org.openorb.compiler.parser.CompilationException
Specified by:
compile_file in interface org.openorb.compiler.CompilerIF
Throws:
org.openorb.compiler.parser.CompilationException
See Also:
CompilerIF

includePSS

public void includePSS(PsdlCompilerProperties pcp,
                       PsdlParser p)
Inport CosPersistentState


loadCosPPS

public void loadCosPPS(org.openorb.compiler.CompilerProperties cp)
This function is used to load from the CosPSS configuration file some flags


display

public void display(java.lang.String s)
Specified by:
display in interface org.openorb.compiler.CompilerHost
See Also:
CompilerHost.display(java.lang.String)

createEmptyProperties

public org.openorb.compiler.CompilerProperties createEmptyProperties()
Specified by:
createEmptyProperties in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF.createEmptyProperties()

execute_compiler

public void execute_compiler(org.openorb.compiler.CompilerHost ch,
                             org.openorb.compiler.CompilerProperties cp)
Specified by:
execute_compiler in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

main

public static void main(java.lang.String[] args)
Program entry point