added ability to set anchors/ref in parser or  to get it
Merge pull request #2 from edpauto/access-to-anchors

added ability to set anchors/ref in parser or  to get it