|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.prorefactor.treeparser.ParseUnit
org.prorefactor.refactor.source.CompileUnit
public class CompileUnit
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 |
|---|
protected SourceFilePool sourceFilePool
| Constructor Detail |
|---|
public CompileUnit(java.io.File file)
file - The compile unit's source file - usually a ".p" or ".w".
public CompileUnit(java.io.File file,
SourceFilePool pool,
int style)
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 |
|---|
public void enableParserListing()
public void fullMonty()
throws RefactorException
RefactorExceptionpublic ListingParser getListingParser()
public IncludeExpansion getTokenTree()
throws java.io.IOException,
RefactorException
java.io.IOException
RefactorException
public void loadMacroTree()
throws RefactorException,
java.io.IOException
RefactorException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||