All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----epp.FileInfo
FileInfo
is a data structure used when in global processing
mode. It holds the abstract syntax tree of the file processed, the
EPP preprocessor used for processing, and execution environment.
The instance variable allFileInfo
of the EPP global
processor holds an array of FileInfo
.
Using the getTree
method, you can access abstract syntax trees
of all files processed.
And using the setTree
method, you can update an abstract
syntax treee.
Using these features, you can implement tools such as global optimization tools.
Other methods are usually not of significance to plug-in programmers.
public FileInfo(String inputFileName, Obj preprocessor, Hashtable classTable, DVenv env)
public String getInputFileName()
public void setInputFileName(String inputFileName)
public Obj getPreprocessor()
public void setPreprocessor(Obj preprocessor)
public Tree getTree()
public void setTree(Tree tree)
public Hashtable getClassTable()
public void setClassTable(Hashtable classTable)
public DVenv getDVenv()
public void setDVenv(DVenv env)
public void saveContext()
public void restoreContext()
public void initializationPass()
public void doParsingPass()
public void doMacroExpansionPass()
public Tree makeFileSignature()
public void doTypeCheckingPass()
public void doCodeEmittingPass()
public FileInfo[] initGlobalProcessor(FileInfo allFileInfo[])
public FileInfo[] globalProcessAfterParsingPass(FileInfo allFileInfo[])
public FileInfo[] globalProcessAfterMacroExpansionPass(FileInfo allFileInfo[])
public FileInfo[] globalProcessAfterTypeCheckingPass(FileInfo allFileInfo[])
All Packages Class Hierarchy This Package Previous Next Index