Create an adapter which uses only the last construct.

    If first argument is a string it will be the name.

def LastOf(*subcons):
    """
    Create an adapter which uses only the last construct.

    If first argument is a string it will be the name.

    """
    name = "seq"
    if isinstance(subcons[0], six.string_types):
        name = subcons[0]
        subcons = subcons[1:]
    return IndexingAdapter(Sequence(name, *subcons), -1)