All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.FileInfo

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

public class FileInfo
extends Object
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.

See Also:
Global

Constructor Index

 o FileInfo(String, Obj, Hashtable, DVenv)

Method Index

 o doCodeEmittingPass()
 o doMacroExpansionPass()
 o doParsingPass()
 o doTypeCheckingPass()
 o getClassTable()
 o getDVenv()
 o getInputFileName()
 o getPreprocessor()
 o getTree()
Returns the abstract syntax tree of the current file.
 o globalProcessAfterMacroExpansionPass(FileInfo[])
 o globalProcessAfterParsingPass(FileInfo[])
 o globalProcessAfterTypeCheckingPass(FileInfo[])
 o initGlobalProcessor(FileInfo[])
 o initializationPass()
 o makeFileSignature()
 o restoreContext()
 o saveContext()
 o setClassTable(Hashtable)
 o setDVenv(DVenv)
 o setInputFileName(String)
 o setPreprocessor(Obj)
 o setTree(Tree)
Modifies the abstract syntax tree of the current file.

Constructors

 o FileInfo
 public FileInfo(String inputFileName,
                 Obj preprocessor,
                 Hashtable classTable,
                 DVenv env)

Methods

 o getInputFileName
 public String getInputFileName()
 o setInputFileName
 public void setInputFileName(String inputFileName)
 o getPreprocessor
 public Obj getPreprocessor()
 o setPreprocessor
 public void setPreprocessor(Obj preprocessor)
 o getTree
 public Tree getTree()
Returns the abstract syntax tree of the current file.

 o setTree
 public void setTree(Tree tree)
Modifies the abstract syntax tree of the current file.

 o getClassTable
 public Hashtable getClassTable()
 o setClassTable
 public void setClassTable(Hashtable classTable)
 o getDVenv
 public DVenv getDVenv()
 o setDVenv
 public void setDVenv(DVenv env)
 o saveContext
 public void saveContext()
 o restoreContext
 public void restoreContext()
 o initializationPass
 public void initializationPass()
 o doParsingPass
 public void doParsingPass()
 o doMacroExpansionPass
 public void doMacroExpansionPass()
 o makeFileSignature
 public Tree makeFileSignature()
 o doTypeCheckingPass
 public void doTypeCheckingPass()
 o doCodeEmittingPass
 public void doCodeEmittingPass()
 o initGlobalProcessor
 public FileInfo[] initGlobalProcessor(FileInfo allFileInfo[])
 o globalProcessAfterParsingPass
 public FileInfo[] globalProcessAfterParsingPass(FileInfo allFileInfo[])
 o globalProcessAfterMacroExpansionPass
 public FileInfo[] globalProcessAfterMacroExpansionPass(FileInfo allFileInfo[])
 o globalProcessAfterTypeCheckingPass
 public FileInfo[] globalProcessAfterTypeCheckingPass(FileInfo allFileInfo[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index