![]() |
YAP 7.1.0
|
%! More...
%!
class write_term/2 |
write_term(+ T, + Opts)
defined in the ISO standard
Displays term T on the current output stream, according to the following options:
true
, quote atoms if this would be necessary for the atom to be recognized as an atom by YAP's parser The default value is false
true
, ignore operator declarations when writing the term The default value is false
true
, output terms of the form $VAR(N)
, where N is an integer, as a sequence of capital letters The default value is false
true
, use portray/1
to portray bound terms The default value is false
true
, use portray/1
to portray bound terms The default value is false
Depth
is a positive integer, use Depth
as the maximum depth to portray a term The default is 0
, that is, unlimited depthPriority
is a positive integer smaller than 1200
, give the context priority The default is 1200
class write_term/3 |
write_term(+ S, + T, + Opts)
defined in the ISO standard
Displays term T on the current output stream, according to the same options used by write_term/3
class write/2 |
class write_canonical/1 |
class write_canonical/2 |
class writeq/2 |
class display/1 |
#define PAR | ( | x, | |
y, | |||
z | |||
) | { x, y, z } |
Definition at line 274 of file writeterm.c.
#define strncat | ( | X, | |
Y, | |||
Z | |||
) | strcat(X, Y) |
Definition at line 84 of file writeterm.c.
#define strncpy | ( | X, | |
Y, | |||
Z | |||
) | strcpy(X, Y) |
Definition at line 87 of file writeterm.c.
#define SYSTEM_STAT stat |
Definition at line 147 of file writeterm.c.
void Yap_InitWriteTPreds | ( | void | ) |
Definition at line 730 of file writeterm.c.
char * Yap_TermToBuffer | ( | Term | t, |
int | flags | ||
) |
Definition at line 711 of file writeterm.c.
bool Yap_WriteTerm | ( | int | output_stream, |
Term | t, | ||
Term opts | USES_REGS | ||
) |
Definition at line 283 of file writeterm.c.
Macros | |
#define | strncat(X, Y, Z) strcat(X, Y) |
#define | strncpy(X, Y, Z) strcpy(X, Y) |
#define | SYSTEM_STAT stat |
#define | PAR(x, y, z) { x, y, z } |
Functions | |
bool | Yap_WriteTerm (int output_stream, Term t, Term opts USES_REGS) |
char * | Yap_TermToBuffer (Term t, int flags) |
void | Yap_InitWriteTPreds (void) |