|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.treeparser.ParseUnit com.joanju.cgs.AnalystParseUnit
public class AnalystParseUnit
Extends ParseUnit for use in Analyst.
Field Summary |
---|
Fields inherited from class org.prorefactor.treeparser.ParseUnit |
---|
CONNECTED, DEFAULT, DISCONNECTED, file, pub, refpack, style |
Method Summary | |
---|---|
static AnalystParseUnit |
create(int cuid)
Creator loads the PUB without checking any time stamps. |
java.util.ArrayList<FilePosition> |
fetchSourceStack(int nodeNum)
Fetch the source file (include) stack for a node in the CU. |
int |
getCuid()
|
MacroRef[] |
getMacroRefs()
Gets the local copy of getMacroSourceArray(). |
JPNode[] |
getNodeArray()
Gets the local copy of TreeUtils.nodeArray(getTopNode()). |
java.lang.String[] |
getRelFileIndex()
Similar to a ParseUnit fileIndex, but has relative paths in the entries. |
void |
writeSourceStack(java.lang.StringBuilder out,
int nodenum)
Write XML sourcestack for a node. |
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 |
Method Detail |
---|
public static AnalystParseUnit create(int cuid) throws RefactorException, java.sql.SQLException, java.io.IOException
java.io.IOException
RefactorException
java.sql.SQLException
public java.util.ArrayList<FilePosition> fetchSourceStack(int nodeNum) throws RefactorException, java.io.IOException
RefactorException
java.io.IOException
public int getCuid()
public JPNode[] getNodeArray()
public MacroRef[] getMacroRefs()
public java.lang.String[] getRelFileIndex()
public void writeSourceStack(java.lang.StringBuilder out, int nodenum) 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 |