def get_localprotocoldecl_children(node_):
    check_module_node_type(node_)
    return util.filter_node_types(node_.getChildren(), constants.LOCAL_PROTOCOL_DECL_NODE_TYPE)
def get_importmember_children(node_):
    check_module_node_type(node_)
    return util.filter_node_types(node_.getChildren(), constants.IMPORT_MEMBER_NODE_TYPE)
def get_payloadtypedecl_children(node_):
    check_module_node_type(node_)
    return util.filter_node_types(node_.getChildren(), constants.PAYLOAD_DECL_NODE_TYPE)
def get_importmember_children(node_):
    check_module_node_type(node_)
    return util.filter_node_types(node_.getChildren(),
                                  constants.IMPORT_MEMBER_NODE_TYPE)