matchesAny method

bool matchesAny (
  1. List<TokenType> types
)

Return true if this token has any one of the given types.

Implementation

bool matchesAny(List<TokenType> types);