add source code positions to all elements representing source code
refactor MethodParser usage