class Dentaku::TokenMatcher

def matches_token?(token)

def matches_token?(token)
  return false if token.nil?
  (category_match(token.category) && value_match(token.value)) ^ @invert
end