import re


def get_missing_name_tokens(wlst_path):
    """
    Get the unique list of unresolved name tokens, each token will only appear in the list once regardless
    of how many times it appears in the path.
    :param wlst_path: the path that may contain unresolved tokens
    :return: the list of unresolved tokens, or an empty list if not unresolved tokens were found
    """
    missing_name_tokens = dict()
    if '%' in wlst_path:
        p = re.compile("%[A-Z_]*%")
        tokens = p.findall(wlst_path)
        if tokens is not None:
            for token in tokens:
                missing_name_tokens[token[1:-1]] = True
    return missing_name_tokens.keys()