Skip to content

Conversation

googleberg
Copy link
Contributor

This change means that BaseToken satisfies the Token interface.

The recent addition of the String() function to the Token interface means that any custom BaseToken derivatives no longer satisfy the Token interface. Rather than forcing them all to implement their own String() function, put the CommonToken String function (plus GetText and SetText) into the BaseToken.

This change means that BaseToken satisfies the Token interface.

Signed-off-by: Jerry Berg <107155935+googleberg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants