Forum Post: RE: Organize Using

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
Correct, it removed all usings related to Proparse. Code includes things like: mobJavaFile = new java.io.File(mchFullPath). obParseUnit = new ParseUnit(mobJavaFile). obParseUnit:treeParser01(). mobNode = obParseUnit:getTopNode(). and define variable mobSymbol as class Symbol no-undo. if NodeTypes:getTypeName(ipobNode:getType()) = "ID" then mobSymbol = ipobNode:getSymbol(). put stream stOutput unformatted skip fill(" ",inCurrentIndent) NodeTypes:getTypeName(ipobNode:getType()) " " ipobNode:getText() . if lgShowProparseDirectives then put stream stOutput unformatted " " ipobNode:attrGetS("proparsedirective":U). if lgShowSourceLineNo or lgShowColumn then put stream stOutput unformatted " " string(ipobNode:getLine()). if lgShowColumn then put stream stOutput unformatted ":" string(ipobNode:getLine()). if lgShowSourceFileName then put stream stOutput unformatted " " ipobNode:getFilename(). if lgShowTableType then put stream stOutput unformatted " " ipobNode:attrGetS("storetype":U). if lgShowStatementHeadFlag and ipobNode:isStateHead() then put stream stOutput unformatted " statehead". if lgShowSecondaryKeyword then put stream stOutput unformatted " " ipobNode:getState2(). if lgShowSymbols and NodeTypes:getTypeName(ipobNode:getType()) = "ID" and valid-object(mobSymbol) then put stream stOutput unformatted " Reads: " mobSymbol:getNumReads() " Writes: " mobSymbol:getNumWrites().

Continue reading...
 
Status
Not open for further replies.
Back
Top