Are there any examples of a refactor using the new pure Java interface? It looks like all the test cases that do refactoring are commented out, and the Javadoc at http://www.oehive.org/node/1514 is too mixed between the old and new APIs for me to be clear on how to do it.
The entire src/org/prorefactor/refactor/tfnames/ folder seems to be missing from the current trunk in Subversion, yet it is included in the most recent binaries at http://www.joanju.com/proparse/ I was interested in adding support for setting useDbQualifier to true to TFNamesRefactor, as we need to add DB prefixes on quite a chunk of code.
Is some sort of major re-organization in progress or something?
I have OpenEdge 10.1b and want to to use prolint where do I get Proparse.dll?
I downloaded the Release 73 but I can not find the files of Proparse that goi with it
hi @all
i have a question about using proparse in an eclipse plugin. i wanna use proparse to create a codeformatter. because of that i need an AST. The AST provided by the openedge architct isnt satisfing, because i cant read the preprocessor statements. that's why i switched to proparse.
now the problem:
proparse checks the file references for included files. is there a simple way to tell proparse not to check such paths, it would be ok that i only get yep this is an include statement?
here my code:
File f = new File(currentUnit.getFileName());
hi, i have the following problem ...
This indicates a character that cannot bthe current file I/O code page: Windows-1252
Try using a different encoding from the for example: -Dfile.encoding="ISO8859_1"
i have set the JAVA_TOOL_OPTIONS environment variable to -Dfile.encoding=Cp850
but it seems the .net version of proparse is not using it.
any help, here? where can i set the endcoding else?
cheers, toni.
Hello,
I'm trying to port a parsing tool from the old proparse.p api to the new .NET api, but I don't understand how I can call the query method on a JPNode. The javadocs say it returns a generic type (java.util.ArrayList) and (as far as I know) generics are not supported in ABL yet.
Thanks in advance!
Jan
DEFINE INPUT PARAMETER icFileName AS CHARACTER NO-UNDO.
USING org.prorefactor.refactor.* FROM assembly.
USING org.prorefactor.treeparser.* FROM assembly.
USING org.prorefactor.core.* FROM assembly.
DEFINE VARIABLE prSession AS CLASS RefactorSession.
I just posted a new build to www.joanju.com/proparse/ with support for reserved keywords as names for class members. Get it while it's hot!
I posted proparse build 1075 to http://www.joanju.com/proparse/ . This build adds support for ABL 10.2B syntax, and also fixes some bugs in supporting earlier class-based syntax. I've also released a new version of AutoDox2, which includes these updates.
Is there a way to get an "absolute" linenumber as opposed to the "relative" linenumber from parserGetNodeLine?
In stead of "line 3 in include something.i" I would like to have line 103 since the include was coded on line 100 of the .p
Is this posible?
I posted proparse.jar build 1049 to http://www.joanju.com/proparse/ . This build adds early (alpha) support for 10.1C and 10.2A syntax.