Expose position information

For the moment I have only exposed position information for class member declarations. The background to this pull request is that in a project I am working on I need method position information.