All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.Global

java.lang.Object
   |
   +----epp.Global

public class Global
extends Object
The Globa.java file defines global processing methods that are called from the EPP main routine when EPP is invoked in global processing mode.

Note: This class is provided for the sake of creating javadocs. It does not exist in the actual EPP source code.

The default mode of the epp command is "seperate processing mode". However, when the -global option is specfied, it executes in "global processing mode." In global processing mode, all specified files are processed at once regardless of the time stamps of the source files. For example, assuming that files F1, F2, and F3 are to be processed, first the parsing pass of F1, F2, and F3 is executed, then the macro expansion pass of F1, F2, and F3, and then the type checking path and so on. And immediately after completion of each pass, "global processing methods" defined here will be called.

If EPP is invoked in "separate processing mode", these global processing methods will not be called. Furthermore, these methods are called only for "EPP global processors" of which instances are created only when doing global processing. They will not be called for EPP preprocessors that process files separately.

These global processing methods can globaly process all files that were specified as arguments, by accessing the instance variable self!allFileInfo or by modifying its value. For example, the methods can create class inheritance trees or implement global optimization tools.

See Also:
FileInfo

Constructor Index

 o Global()

Method Index

 o globalProcessAfterMacroExpansionPass()
Called when the macro expansion pass is complete.
 o globalProcessAfterParsingPass()
Called when the parsing pass is complete.
 o globalProcessAfterTypeCheckingPass()
Called when the type checking pass is complete.
 o initGlobalProcessor()
Called when the initialization pass is complete.

Constructors

 o Global
 public Global()

Methods

 o initGlobalProcessor
 public void initGlobalProcessor()
Called when the initialization pass is complete.

 o globalProcessAfterParsingPass
 public void globalProcessAfterParsingPass()
Called when the parsing pass is complete.

 o globalProcessAfterMacroExpansionPass
 public void globalProcessAfterMacroExpansionPass()
Called when the macro expansion pass is complete.

 o globalProcessAfterTypeCheckingPass
 public void globalProcessAfterTypeCheckingPass()
Called when the type checking pass is complete.


All Packages  Class Hierarchy  This Package  Previous  Next  Index