All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----epp.Global
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.
public Global()
public void initGlobalProcessor()
public void globalProcessAfterParsingPass()
public void globalProcessAfterMacroExpansionPass()
public void globalProcessAfterTypeCheckingPass()
All Packages Class Hierarchy This Package Previous Next Index