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()setInputFileName
public void setInputFileName(String inputFileName)getPreprocessor
public Obj getPreprocessor()setPreprocessor
public void setPreprocessor(Obj preprocessor)getTree
public Tree getTree()
public void setTree(Tree tree)
public Hashtable getClassTable()setClassTable
public void setClassTable(Hashtable classTable)getDVenv
public DVenv getDVenv()setDVenv
public void setDVenv(DVenv env)saveContext
public void saveContext()restoreContext
public void restoreContext()initializationPass
public void initializationPass()doParsingPass
public void doParsingPass()doMacroExpansionPass
public void doMacroExpansionPass()makeFileSignature
public Tree makeFileSignature()doTypeCheckingPass
public void doTypeCheckingPass()doCodeEmittingPass
public void doCodeEmittingPass()initGlobalProcessor
public FileInfo[] initGlobalProcessor(FileInfo allFileInfo[])globalProcessAfterParsingPass
public FileInfo[] globalProcessAfterParsingPass(FileInfo allFileInfo[])globalProcessAfterMacroExpansionPass
public FileInfo[] globalProcessAfterMacroExpansionPass(FileInfo allFileInfo[])globalProcessAfterTypeCheckingPass
public FileInfo[] globalProcessAfterTypeCheckingPass(FileInfo allFileInfo[])
All Packages Class Hierarchy This Package Previous Next Index