ramya-rao-a / go-outline

Utility to extract JSON representation of declarations from a Go source file
MIT License
143 stars 57 forks source link

To differentiate var vs const from *ValueSpec #10

Closed piengeng closed 4 years ago

piengeng commented 4 years ago

*ValueSpec consists of token.CONST and token.VAR, needed so that can differentiate constant vs. variable.