matches

Returns true when a dialect pattern with role starts at this token.