ThaisaMirely / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

Position of method name in method call expression can not be determined #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. parse the following code:
fooObject.
doStuff(v1, 
v2)
2. parse the code
3. try to determine the line and char position of the method (not the scope)

What is the expected output? What do you see instead?
I need to be able to tell the exact position of the method name, which is 
possible by adding the length of the scope to the position of the scope (plus 
one for the dot) as long as they are both on the same line.
If they aren't there is no way of telling where it is because it is only stored 
as a string

What version of the product are you using? On what operating system?
version 1.0.8 of the JavaParser
on different unix based systems (ubuntu 11.04 and ArchLinux)

Please provide any additional information below.
-

Original issue reported on code.google.com by DFroehl...@gmx.at on 22 May 2011 at 11:30