Tokens equal, if they have equal text and types.
Source
bool operator==(Token token) => (token.text == this.text)
&& (token.type == this.type);
Tokens equal, if they have equal text and types.
bool operator==(Token token) => (token.text == this.text)
&& (token.type == this.type);