BAM
Abstract Machine for Bottom-Up Evaluation with the Push Method
Typedefs | Enumerations | Functions
argtype.h File Reference

Enumeration type for types of predicate arguments. More...

#include "../base/ver.h"
#include "../base/str.h"
#include "../base/check.h"

Go to the source code of this file.

Typedefs

typedef enum argtype_enum argtype_t
 

Enumerations

enum  argtype_enum {
  ARGTYPE_NULL,
  ARGTYPE_INT,
  ARGTYPE_ATOM,
  ARGTYPE_STR,
  ARGTYPE_ATOM_STR
}
 

Functions

str_t argtype_name (argtype_t argtype)
 

Detailed Description

Enumeration type for types of predicate arguments.

Typedef Documentation

typedef enum argtype_enum argtype_t

Enumeration type for argument types of database predicates.

Enumeration Type Documentation

Enumeration type for argument types of database predicates.

Enumerator
ARGTYPE_NULL 

Argument type is undefined or unknown

ARGTYPE_INT 

Argument is an integer, e.g. 123

ARGTYPE_ATOM 

Argument is a identifier with lowercase letter

ARGTYPE_STR 

Argument is a string, e.g. 'abc'

ARGTYPE_ATOM_STR 

Argument is atom or string, e.g. abc or 'abc'