def get_post_match(child, args, index, child_dict):
    """
    matching function for post nodes
    Args:
        child: the matched child from which we check post tokens.
        args: list of incoming tokens.
        index: position in args list where comparison continues.
        child_dict: the dictionary that is going to be updated.
    Returns:
        True if a match is found else False.
    """
    post = child.post
    post_match = True
    while post:
        is_match, index, dic_entry = post.match(args, index)
        if not is_match:
            post_match = False
            break
        child_dict.update(dic_entry)
        post = post.post
    return post_match