GNU PROLOG with UTF8 support
Data Structures | Macros | Functions | Variables
atom.h File Reference
#include "pl_wchar.h"
Include dependency graph for atom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AtomProp
 
struct  AtomInf
 

Macros

#define OPTIM_1_CHAR_ATOM
 
#define LA   1 /* layout character */
 
#define SC   2 /* solo character */
 
#define QT   4 /* quote */
 
#define DQ   8 /* double quote */
 
#define BQ   16 /* back quote */
 
#define GR   32 /* graphic char */
 
#define PC   64 /* punctuation character */
 
#define DI   128 /* digit */
 
#define UL   256 /* underline */
 
#define CL   512 /* capital letter */
 
#define SL   1024 /* small letter */
 
#define CM   2048 /* comment character (%) */
 
#define EX   4096 /* extended character */
 
#define ATOM_NIL   256
 
#define IDENTIFIER_ATOM   0
 
#define GRAPHIC_ATOM   1
 
#define SOLO_ATOM   2
 
#define OTHER_ATOM   3
 
#define Is_Valid_Code(c)   1
 
#define Is_Valid_Byte(c)   ((PlULong) (c) < 256) /* 0 <= c < 256 */
 
#define Is_Valid_Atom(a)
 
#define ATOM_CHAR(c)   ((int) (unsigned char) (c))
 

Functions

void Pl_Init_Atom (void)
 
int Pl_Create_Allocate_Atom (char *name)
 
int Pl_Create_Atom (char *name)
 
WamWord FC Pl_Create_Atom_Tagged (char *name)
 
int Pl_Find_Atom (char *name)
 
int Pl_Gen_New_Atom (char *prefix)
 
int Pl_Find_Next_Atom (int last_atom)
 
int ATOM_CHAR32 (CHAR32_T c)
 

Variables

AtomInfpl_atom_tbl
 
PlULong pl_max_atom
 
int pl_nb_atom
 
int pl_atom_void
 
int pl_atom_curly_brackets
 
int pl_atom_false
 
int pl_atom_true
 
int pl_atom_end_of_file
 
char pl_char_conv []
 
int pl_char_type []
 
char pl_escape_symbol []
 
char pl_escape_char []
 
PlLong pl_def_max_atom
 

Macro Definition Documentation

#define ATOM_CHAR (   c)    ((int) (unsigned char) (c))
#define ATOM_NIL   256
#define BQ   16 /* back quote */
#define CL   512 /* capital letter */
#define CM   2048 /* comment character (%) */
#define DI   128 /* digit */
#define DQ   8 /* double quote */
#define EX   4096 /* extended character */
#define GR   32 /* graphic char */
#define GRAPHIC_ATOM   1
#define IDENTIFIER_ATOM   0
#define Is_Valid_Atom (   a)
Value:
((PlULong) (a) < pl_max_atom && \
pl_atom_tbl[(a)].name!=NULL)
static char name[32]
Definition: test_oc_defs.h:8
PlULong pl_max_atom
Definition: test_linedit.c:52
AtomInf * pl_atom_tbl
Definition: chkma.c:1044
uintptr_t PlULong
Definition: gprolog.h:90
#define Is_Valid_Byte (   c)    ((PlULong) (c) < 256) /* 0 <= c < 256 */
#define Is_Valid_Code (   c)    1
#define LA   1 /* layout character */
#define OPTIM_1_CHAR_ATOM
#define OTHER_ATOM   3
#define PC   64 /* punctuation character */
#define QT   4 /* quote */
#define SC   2 /* solo character */
#define SL   1024 /* small letter */
#define SOLO_ATOM   2
#define UL   256 /* underline */

Function Documentation

int ATOM_CHAR32 ( CHAR32_T  c)

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_Create_Allocate_Atom ( char *  name)

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_Create_Atom ( char *  name)

Here is the call graph for this function:

Here is the caller graph for this function:

WamWord FC Pl_Create_Atom_Tagged ( char *  name)

Here is the call graph for this function:

int Pl_Find_Atom ( char *  name)

Here is the call graph for this function:

int Pl_Find_Next_Atom ( int  last_atom)

Here is the caller graph for this function:

int Pl_Gen_New_Atom ( char *  prefix)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Init_Atom ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int pl_atom_curly_brackets
int pl_atom_end_of_file
int pl_atom_false
AtomInf* pl_atom_tbl
int pl_atom_true
int pl_atom_void
char pl_char_conv[]
int pl_char_type[]
PlLong pl_def_max_atom
char pl_escape_char[]
char pl_escape_symbol[]
PlULong pl_max_atom
int pl_nb_atom