org.prorefactor.refactor.source
Class CompileUnit

java.lang.Object
  extended by org.prorefactor.treeparser.ParseUnit
      extended by org.prorefactor.refactor.source.CompileUnit

Deprecated.

public class CompileUnit
extends ParseUnit

A ParseUnit subclass, extended with source file features like the ListingParser.


Field Summary
protected  SourceFilePool sourceFilePool
          Deprecated.  
 
Fields inherited from class org.prorefactor.treeparser.ParseUnit
CONNECTED, DEFAULT, DISCONNECTED, file, pub, refpack, style
 
Constructor Summary
CompileUnit(java.io.File file)
          Deprecated. Constructor with default values.
CompileUnit(java.io.File file, SourceFilePool pool, int style)
          Deprecated. Constructor with specified SourceFilePool and connection style.
 
Method Summary
 void enableParserListing()
          Deprecated.  
 void fullMonty()
          Deprecated. Just calls ParseUnit.treeParser01(), which now does all that this did.
 ListingParser getListingParser()
          Deprecated.  
 IncludeExpansion getTokenTree()
          Deprecated.  
 void loadMacroTree()
          Deprecated. Runs the listing parser.
 
Methods inherited from class org.prorefactor.treeparser.ParseUnit
getFile, getFileIndex, getMacroGraph, getMacroSourceArray, getPUB, getRootScope, getTopNode, loadOrBuildPUB, parse, setPUB, setRootScope, setTopNode, treeParser, treeParser01, treeParser01
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceFilePool

protected SourceFilePool sourceFilePool
Deprecated. 
Constructor Detail

CompileUnit

public CompileUnit(java.io.File file)
Deprecated. 
Constructor with default values.

Parameters:
file - The compile unit's source file - usually a ".p" or ".w".

CompileUnit

public CompileUnit(java.io.File file,
                   SourceFilePool pool,
                   int style)
Deprecated. 
Constructor with specified SourceFilePool and connection style.

Parameters:
file - The compile unit's source file - usually a ".p" or ".w".
pool - Will create a new one if null.
style - A bitset, use bitwise OR to combine flags. ex: CompileUnit.DEFAULT
Method Detail

enableParserListing

public void enableParserListing()
Deprecated. 

fullMonty

public void fullMonty()
               throws RefactorException
Deprecated. 
Just calls ParseUnit.treeParser01(), which now does all that this did.

Throws:
RefactorException

getListingParser

public ListingParser getListingParser()
Deprecated. 

getTokenTree

public IncludeExpansion getTokenTree()
                              throws java.io.IOException,
                                     RefactorException
Deprecated. 
Throws:
java.io.IOException
RefactorException

loadMacroTree

public void loadMacroTree()
                   throws RefactorException,
                          java.io.IOException
Deprecated. 
Runs the listing parser.

Throws:
RefactorException
java.io.IOException


Copyright © 2008 Joanju Software. All Rights Reserved.