leodido / go-urn

Parser for uniform resource names as seen on RFC 8141, RFC 2141, and RFC 7643
MIT License
87 stars 11 forks source link

Complete tree representation #3

Closed leodido closed 6 years ago

leodido commented 6 years ago

Since the rule recursion introduced here the Tree() method returns a non flatten tree.

Flatten it or label (someway) the root of the recursion?

leodido commented 6 years ago

If flatten re-enable the test.

Otherwise rewrite tree test cases.

leodido commented 6 years ago

About the ANLTR4 version, closing for now.