00001 /* File: symtab.H 00002 ** Author(s): Kostis F. Sagonas, Jiyang Xu, David S. Warren 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 00006 ** Copyright (C) ECRC, Germany, 1990 00007 ** 00008 ** XSB is free software; you can redistribute it and/or modify it under the 00009 ** terms of the GNU Library General Public License as published by the Free 00010 ** Software Foundation; either version 2 of the License, or (at your option) 00011 ** any later version. 00012 ** 00013 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY 00014 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00015 ** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for 00016 ** more details. 00017 ** 00018 ** You should have received a copy of the GNU Library General Public License 00019 ** along with XSB; if not, write to the Free Software Foundation, 00020 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 ** 00022 ** $Id: symtab.H,v 1.10 2004/06/04 19:52:20 dwarren Exp $ 00023 ** 00024 */ 00025 00026 00027 :- export sym_name/3, sym_offset/2, sym_propin/2, sym_prop/2, 00028 extract_symlist/3, sym_empty/1, sym_env/2, sym_category/2, 00029 sym_type/2, sym_insert/5, sym_scan/3, sym_gen/2, 00030 sym_count/2, sort_by_index/2, sym_complete/1, sym_index/2, 00031 sym_pass_thru/1, typ_prop/1, env_prop/1, dispose_symtab/1. 00032 :- export add_new_clause/2, clause_listify/2. 00033 00034 :- import memberchk/2, member/2 from basics. 00035 :- import log_ith/3 from basics. 00036 :- import error/1 from auxlry. 00037 :- import integer/1 from standard. 00038 :- import membercheck/2, member2/2, closetail/1 from listutil. 00039 :- import conget/2, conset/2 from gensym. 00040 :- import term_hash/3, parsort/4, term_set_arg/4 00041 from machine. 00042 :- import copy_term/2 from basics. 00043