def get_alias_name(node_):
    if has_alias(node_):
        return role_get_name(get_alias_child(node_))
    else:
        return None
def get_subject(node_):
    return role_get_name(get_subject_child(node_))
def get_role(node_):
    return role_get_name(get_role_child(node_))
def get_role_name(node_):
    return role_get_name(get_role_child(node_))
def get_parameter(node_):
    if has_parameter_child(node_):
        return role_get_name(get_parameter_child(node_))
    else:
        return None
Example #6
0
def get_alias_name(node_):
    if has_alias(node_):
        return role_get_name(get_alias_child(node_))
    else:
        return None
def get_arg(node_):
    return role_get_name(get_arg_child(node_))
def get_destinations(node_):
    dests = []
    for child in get_destination_children(node_):
        dests.append(role_get_name(child))
    return dests
def get_source(node_):
    return role_get_name(get_source_child(node_))
def get_destinations(node_):
    dests = []
    for child in get_destination_children(node_):
        dests.append(role_get_name(child))
    return dests
def get_source(node_):
    return role_get_name(get_source_child(node_))