Export the ending line number for structural elements

Fixes #12
Merge pull request #75 from JDGrimes/issue-12

Export the ending line number for structural elements