PIPS
|
Go to the source code of this file.
Data Structures | |
struct | _newgen_struct_property_ |
Typedefs | |
typedef struct _newgen_struct_property_ * | property |
Enumerations | |
enum | property_utype { is_property_int , is_property_bool , is_property_string } |
Functions | |
property | copy_property (property) |
PROPERTY. More... | |
void | free_property (property) |
property | check_property (property) |
bool | property_consistent_p (property) |
bool | property_defined_p (property) |
list | gen_property_cons (property, list) |
void | property_assign_contents (property, property) |
void | property_non_recursive_free (property) |
void | write_property (FILE *, property) |
property | read_property (FILE *) |
string | property_tag_as_string (enum property_utype) |
property | make_property (enum property_utype, void *) |
property | make_property_int (intptr_t) |
property | make_property_bool (bool) |
property | make_property_string (string) |
#define _gen_property_start 26 |
Definition at line 3 of file property.h.
#define _newgen_property_domain_defined_ |
Definition at line 12 of file property.h.
#define gen_PROPERTY_cons gen_property_cons |
Definition at line 34 of file property.h.
Definition at line 23 of file property.h.
Definition at line 68 of file property.h.
#define property_bool_ | ( | x | ) | property_bool(x) /**old hack compatible */ |
Definition at line 67 of file property.h.
#define property_bool_p | ( | x | ) | (property_tag(x)==is_property_bool) |
Definition at line 66 of file property.h.
Definition at line 21 of file property.h.
Definition at line 22 of file property.h.
#define property_domain (_gen_property_start+0) |
Definition at line 10 of file property.h.
Definition at line 61 of file property.h.
Definition at line 65 of file property.h.
#define property_int_ | ( | x | ) | property_int(x) /**old hack compatible */ |
Definition at line 64 of file property.h.
#define property_int_p | ( | x | ) | (property_tag(x)==is_property_int) |
Definition at line 63 of file property.h.
#define PROPERTY_NEWGEN_DOMAIN (property_domain) |
Definition at line 13 of file property.h.
#define property_NEWGEN_DOMAIN (property_domain) |
Definition at line 14 of file property.h.
#define property_spec "\--NEWGEN-START 26\n\property = int:int + bool:bool + string:string;\n\" |
Definition at line 73 of file property.h.
Definition at line 71 of file property.h.
#define property_string_ | ( | x | ) | property_string(x) /**old hack compatible */ |
Definition at line 70 of file property.h.
#define property_string_p | ( | x | ) | (property_tag(x)==is_property_string) |
Definition at line 69 of file property.h.
Definition at line 62 of file property.h.
#define PROPERTY_TYPE property |
Definition at line 24 of file property.h.
#define property_TYPE property |
Definition at line 25 of file property.h.
#define property_undefined ((property)gen_chunk_undefined) |
Definition at line 26 of file property.h.
#define property_undefined_p | ( | x | ) | ((x)==property_undefined) |
Definition at line 27 of file property.h.
typedef struct _newgen_struct_property_* property |
Definition at line 15 of file property.h.
enum property_utype |
Enumerator | |
---|---|
is_property_int | |
is_property_bool | |
is_property_string |
Definition at line 40 of file property.h.
Definition at line 22 of file property.c.
References gen_check(), and property_domain.
Referenced by property_assign_contents(), and property_consistent_p().
PROPERTY.
Definition at line 16 of file property.c.
References gen_copy_tree().
Referenced by push_property().
void free_property | ( | property | p | ) |
Definition at line 19 of file property.c.
References gen_free().
Definition at line 32 of file property.c.
References gen_typed_cons(), and PROPERTY_NEWGEN_DOMAIN.
property make_property | ( | enum | property_utype, |
void * | val | ||
) |
Definition at line 60 of file property.c.
References gen_alloc(), GEN_CHECK_ALLOC, and property_domain.
Referenced by make_property_bool(), make_property_int(), and make_property_string().
Definition at line 66 of file property.c.
References intptr_t, is_property_bool, and make_property().
Definition at line 63 of file property.c.
References intptr_t, is_property_int, and make_property().
Definition at line 69 of file property.c.
References intptr_t, is_property_string, and make_property().
Definition at line 35 of file property.c.
References check_property(), message_assert, and property_defined_p().
Definition at line 25 of file property.c.
References check_property(), and gen_consistent_p().
Definition at line 29 of file property.c.
References gen_defined_p().
Referenced by property_assign_contents().
void property_non_recursive_free | ( | property | p | ) |
Definition at line 42 of file property.c.
References free().
string property_tag_as_string | ( | enum | property_utype | ) |
Definition at line 52 of file property.c.
References is_property_bool, is_property_int, is_property_string, and string_undefined.
property read_property | ( | FILE * | f | ) |
Definition at line 49 of file property.c.
References f(), and gen_read().
void write_property | ( | FILE * | f, |
property | p | ||
) |
Definition at line 46 of file property.c.
References f(), and gen_write().