- swipl
- library
- error.pl
- debug.pl
- apply.pl -- Apply predicates on a list
- lists.pl -- List Manipulation
- broadcast.pl -- Event service
- shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
- option.pl -- Option list processing
- thread_pool.pl -- Resource bounded thread management
- gensym.pl -- Generate unique symbols
- settings.pl -- Setting management
- arithmetic.pl -- Extensible arithmetic
- main.pl -- Provide entry point for scripts
- readutil.pl -- Read utilities
- operators.pl -- Manage operators
- pairs.pl -- Operations on key-value lists
- prolog_source.pl -- Examine Prolog source-files
- quasi_quotations.pl
- url.pl -- Analysing and constructing URL
- www_browser.pl -- Open a URL in the users browser
- prolog_colour.pl -- Prolog syntax colouring support.
- record.pl
- prolog_xref.pl -- Prolog cross-referencer data collection
- called_by/4
- called_by/2
- meta_goal/2
- hook/1
- xref_source/1
- xref_source/2
- xref_clean/1
- xref_current_source/1
- xref_done/2
- xref_called/3
- xref_called/4
- xref_called/5
- xref_defined/3
- xref_definition_line/2
- xref_exported/2
- xref_module/2
- xref_uses_file/3
- xref_op/2
- xref_prolog_flag/4
- xref_comment/3
- xref_comment/4
- xref_object_comment/4
- xref_object_signature/3
- xref_mode/3
- xref_option/2
- xref_meta/3
- xref_meta/2
- xref_meta_src/3
- xref_hook/1
- xref_public_list/3
- xref_public_list/4
- xref_public_list/6
- xref_public_list/7
- xref_source_file/3
- xref_source_file/4
- occurs.pl -- Finding and counting sub-terms
- ordsets.pl
- assoc.pl -- Binary associations
- ugraphs.pl -- Graph manipulation library
- solution_sequences.pl -- Modify solution sequences
- atom.pl
- prolog_pack.pl
- git.pl -- Run GIT commands
- ctypes.pl -- Character code classification
- utf8.pl
- base64.pl -- Base64 encoding and decoding
- persistency.pl -- Provide persistent dynamic predicates
- pure_input.pl -- Pure Input from files and streams
- nb_set.pl
- aggregate.pl -- Aggregation operators on backtrackable predicates
- csv.pl -- Process CSV (Comma-Separated Values) data
- iostream.pl -- Utilities to deal with streams
- dialect.pl -- Support multiple Prolog dialects
- apply_macros.pl -- Goal expansion rules to avoid meta-calling
- yall.pl -- Lambda expressions
- prolog_code.pl -- Utilities for reasoning about code
- dif.pl -- The dif/2 constraint
- thread.pl -- High level thread primitives
- predicate_options.pl -- Access and analyse predicate options
- rbtrees.pl -- Red black trees
- nb_rbtrees.pl
- sandbox.pl
- prolog_format.pl
- random.pl -- Random numbers
- pprint.pl -- Pretty Print Prolog terms
- modules.pl -- Module utility predicates
- lazy_lists.pl -- Lazy list handling
- edinburgh.pl
- prolog_clause.pl
- prolog_breakpoints.pl
- dicts.pl -- Dict utilities
- date.pl -- Process dates and times
- backcomp.pl -- Backward compatibility
- listing.pl -- List programs and pretty print clauses
- quintus.pl -- Quintus compatibility
- prolog_profile.pl
- prolog_metainference.pl -- Infer meta-predicate properties
- ansi_term.pl -- Print decorated text to ANSI consoles
- oset.pl
- check.pl
- wfs.pl -- Well Founded Semantics interface
- base32.pl
- charsio.pl -- I/O on Lists of Character Codes
- codesio.pl -- I/O on Lists of Character Codes
- coinduction.pl
- heaps.pl
- sort.pl
- statistics.pl -- Get information about resource usage
- terms.pl -- Term manipulation
- varnumbers.pl -- Utilities for numbered terms
- when.pl
- strings.pl -- String utilities
- system.pl -- System utilities
- prolog_history.pl -- Per-directory persistent commandline history
- prolog_config.pl
- prolog_stack.pl -- Examine the Prolog stack
- prolog_codewalk.pl -- Prolog code walker
- threadutil.pl -- Interactive thread utilities
- explain.pl
- edit.pl
- make.pl -- Reload modified source files
- optparse.pl -- command line parsing
- streams.pl -- Manage Prolog streams
- fastrw.pl
- files.pl
- hashtable.pl
- help.pl
- increval.pl
- tables.pl -- XSB interface to tables
- intercept.pl
- macros.pl
- prolog_debug.pl -- User level debugging tools
- portray_text.pl
- prolog_autoload.pl
- prolog_coverage.pl
- prolog_jiti.pl
- prolog_trace.pl
- prolog_versions.pl
- prolog_wrap.pl -- Wrapping predicates
- qsave.pl
- zip.pl -- Access resource ZIP archives
- shell.pl -- Elementary shell commands
- rwlocks.pl
- tableutil.pl
- tty.pl
- writef.pl
- exceptions.pl -- Exception classification
- library
- xref_called(?Source, ?Called, ?By) is nondet
- xref_called(?Source, ?Called, ?By, ?Cond) is nondet
- xref_called(?Source, ?Called, ?By, ?Cond, ?Line) is nondet
- True when By is called from Called in Source. Note that
xref_called/3 and xref_called/4 use distinct/2 to return only
distinct
Called-Bypairs. The xref_called/5 version may return duplicateCalled-Byif Called is called from multiple clauses in By, but at most one call per clause.- Arguments:
-
By - is a head term or one of the reserved terms '<directive>'(Line)or'<public>'(Line), indicating the call is from an (often initialization/1) directive or there is a public/1 directive that claims the predicate is called from in some untractable way.Cond - is the (accumulated) condition as defined by :- if(Cond)under which the calling code is compiled.Line - is the start line of the calling clause.