PIPS
word_attachment.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _newgen_struct_attachee_
 
struct  _newgen_struct_attachment_
 
struct  _newgen_struct_attachments_
 
struct  _newgen_struct_word_to_attachments_
 

Macros

#define _gen_word_attachment_start   91
 
#define _newgen_call_domain_defined_
 
#define CALL_NEWGEN_DOMAIN   (call_domain)
 
#define call_NEWGEN_DOMAIN   (call_domain)
 
#define _newgen_entity_domain_defined_
 newgen_call_domain_defined More...
 
#define ENTITY_NEWGEN_DOMAIN   (entity_domain)
 
#define entity_NEWGEN_DOMAIN   (entity_domain)
 
#define _newgen_loop_domain_defined_
 newgen_entity_domain_defined More...
 
#define LOOP_NEWGEN_DOMAIN   (loop_domain)
 
#define loop_NEWGEN_DOMAIN   (loop_domain)
 
#define _newgen_reference_domain_defined_
 newgen_loop_domain_defined More...
 
#define REFERENCE_NEWGEN_DOMAIN   (reference_domain)
 
#define reference_NEWGEN_DOMAIN   (reference_domain)
 
#define _newgen_void_star_domain_defined_
 newgen_reference_domain_defined More...
 
#define newgen_void_star(p)   (p) /**old hack compatible */
 
#define VOID_STAR_NEWGEN_EXTERNAL   (_gen_word_attachment_start+0)
 
#define VOID_STAR_NEWGEN_DOMAIN   (VOID_STAR_NEWGEN_EXTERNAL)
 
#define void_star_NEWGEN_DOMAIN   (VOID_STAR_NEWGEN_EXTERNAL)
 
#define attachee_domain   (_gen_word_attachment_start+1)
 newgen_void_star_domain_defined More...
 
#define _newgen_attachee_domain_defined_
 
#define ATTACHEE_NEWGEN_DOMAIN   (attachee_domain)
 
#define attachee_NEWGEN_DOMAIN   (attachee_domain)
 
#define attachment_domain   (_gen_word_attachment_start+2)
 newgen_attachee_domain_defined More...
 
#define _newgen_attachment_domain_defined_
 
#define ATTACHMENT_NEWGEN_DOMAIN   (attachment_domain)
 
#define attachment_NEWGEN_DOMAIN   (attachment_domain)
 
#define attachments_domain   (_gen_word_attachment_start+3)
 newgen_attachment_domain_defined More...
 
#define _newgen_attachments_domain_defined_
 
#define ATTACHMENTS_NEWGEN_DOMAIN   (attachments_domain)
 
#define attachments_NEWGEN_DOMAIN   (attachments_domain)
 
#define word_to_attachments_domain   (_gen_word_attachment_start+4)
 newgen_attachments_domain_defined More...
 
#define _newgen_word_to_attachments_domain_defined_
 
#define WORD_TO_ATTACHMENTS_NEWGEN_DOMAIN   (word_to_attachments_domain)
 
#define word_to_attachments_NEWGEN_DOMAIN   (word_to_attachments_domain)
 
#define ATTACHEE(x)   ((attachee)((x).p))
 newgen_word_to_attachments_domain_defined More...
 
#define attachee_CAST(x)   ATTACHEE(x)
 
#define ATTACHEE_CAST(x)   ATTACHEE(x)
 
#define ATTACHEE_(x)   ((x).e)
 
#define ATTACHEE_TYPE   attachee
 
#define attachee_TYPE   attachee
 
#define attachee_undefined   ((attachee)gen_chunk_undefined)
 
#define attachee_undefined_p(x)   ((x)==attachee_undefined)
 
#define gen_ATTACHEE_cons   gen_attachee_cons
 
#define attachee_domain_number(x)   ((x)->_type_)
 
#define attachee_tag(x)   ((x)->_attachee_tag__)
 
#define attachee_statement_line_number_p(x)   (attachee_tag(x)==is_attachee_statement_line_number)
 
#define attachee_statement_line_number_(x)   attachee_statement_line_number(x) /**old hack compatible */
 
#define attachee_statement_line_number(x)   ((x)->_attachee_union_._attachee_statement_line_number_)
 
#define attachee_reference_p(x)   (attachee_tag(x)==is_attachee_reference)
 
#define attachee_reference_(x)   attachee_reference(x) /**old hack compatible */
 
#define attachee_reference(x)   ((x)->_attachee_union_._attachee_reference_)
 
#define attachee_call_p(x)   (attachee_tag(x)==is_attachee_call)
 
#define attachee_call_(x)   attachee_call(x) /**old hack compatible */
 
#define attachee_call(x)   ((x)->_attachee_union_._attachee_call_)
 
#define attachee_declaration_p(x)   (attachee_tag(x)==is_attachee_declaration)
 
#define attachee_declaration_(x)   attachee_declaration(x) /**old hack compatible */
 
#define attachee_declaration(x)   ((x)->_attachee_union_._attachee_declaration_)
 
#define attachee_type_p(x)   (attachee_tag(x)==is_attachee_type)
 
#define attachee_type_(x)   attachee_type(x) /**old hack compatible */
 
#define attachee_type(x)   ((x)->_attachee_union_._attachee_type_)
 
#define attachee_loop_p(x)   (attachee_tag(x)==is_attachee_loop)
 
#define attachee_loop_(x)   attachee_loop(x) /**old hack compatible */
 
#define attachee_loop(x)   ((x)->_attachee_union_._attachee_loop_)
 
#define attachee_module_head_p(x)   (attachee_tag(x)==is_attachee_module_head)
 
#define attachee_module_head_(x)   attachee_module_head(x) /**old hack compatible */
 
#define attachee_module_head(x)   ((x)->_attachee_union_._attachee_module_head_)
 
#define attachee_complementary_sections_p(x)   (attachee_tag(x)==is_attachee_complementary_sections)
 
#define attachee_complementary_sections_(x)   attachee_complementary_sections(x) /**old hack compatible */
 
#define attachee_complementary_sections(x)   ((x)->_attachee_union_._attachee_complementary_sections_.u)
 
#define attachee_complexities_p(x)   (attachee_tag(x)==is_attachee_complexities)
 
#define attachee_complexities_(x)   attachee_complexities(x) /**old hack compatible */
 
#define attachee_complexities(x)   ((x)->_attachee_union_._attachee_complexities_.u)
 
#define attachee_continuation_conditions_p(x)   (attachee_tag(x)==is_attachee_continuation_conditions)
 
#define attachee_continuation_conditions_(x)   attachee_continuation_conditions(x) /**old hack compatible */
 
#define attachee_continuation_conditions(x)   ((x)->_attachee_union_._attachee_continuation_conditions_.u)
 
#define attachee_cumulated_effects_p(x)   (attachee_tag(x)==is_attachee_cumulated_effects)
 
#define attachee_cumulated_effects_(x)   attachee_cumulated_effects(x) /**old hack compatible */
 
#define attachee_cumulated_effects(x)   ((x)->_attachee_union_._attachee_cumulated_effects_.u)
 
#define attachee_out_regions_p(x)   (attachee_tag(x)==is_attachee_out_regions)
 
#define attachee_out_regions_(x)   attachee_out_regions(x) /**old hack compatible */
 
#define attachee_out_regions(x)   ((x)->_attachee_union_._attachee_out_regions_.u)
 
#define attachee_preconditions_p(x)   (attachee_tag(x)==is_attachee_preconditions)
 
#define attachee_preconditions_(x)   attachee_preconditions(x) /**old hack compatible */
 
#define attachee_preconditions(x)   ((x)->_attachee_union_._attachee_preconditions_.u)
 
#define attachee_privatized_regions_p(x)   (attachee_tag(x)==is_attachee_privatized_regions)
 
#define attachee_privatized_regions_(x)   attachee_privatized_regions(x) /**old hack compatible */
 
#define attachee_privatized_regions(x)   ((x)->_attachee_union_._attachee_privatized_regions_.u)
 
#define attachee_proper_effects_p(x)   (attachee_tag(x)==is_attachee_proper_effects)
 
#define attachee_proper_effects_(x)   attachee_proper_effects(x) /**old hack compatible */
 
#define attachee_proper_effects(x)   ((x)->_attachee_union_._attachee_proper_effects_.u)
 
#define attachee_proper_regions_p(x)   (attachee_tag(x)==is_attachee_proper_regions)
 
#define attachee_proper_regions_(x)   attachee_proper_regions(x) /**old hack compatible */
 
#define attachee_proper_regions(x)   ((x)->_attachee_union_._attachee_proper_regions_.u)
 
#define attachee_regions_p(x)   (attachee_tag(x)==is_attachee_regions)
 
#define attachee_regions_(x)   attachee_regions(x) /**old hack compatible */
 
#define attachee_regions(x)   ((x)->_attachee_union_._attachee_regions_.u)
 
#define attachee_static_control_p(x)   (attachee_tag(x)==is_attachee_static_control)
 
#define attachee_static_control_(x)   attachee_static_control(x) /**old hack compatible */
 
#define attachee_static_control(x)   ((x)->_attachee_union_._attachee_static_control_.u)
 
#define attachee_transformers_p(x)   (attachee_tag(x)==is_attachee_transformers)
 
#define attachee_transformers_(x)   attachee_transformers(x) /**old hack compatible */
 
#define attachee_transformers(x)   ((x)->_attachee_union_._attachee_transformers_.u)
 
#define attachee_decoration_p(x)   (attachee_tag(x)==is_attachee_decoration)
 
#define attachee_decoration_(x)   attachee_decoration(x) /**old hack compatible */
 
#define attachee_decoration(x)   ((x)->_attachee_union_._attachee_decoration_.u)
 
#define attachee_comment_p(x)   (attachee_tag(x)==is_attachee_comment)
 
#define attachee_comment_(x)   attachee_comment(x) /**old hack compatible */
 
#define attachee_comment(x)   ((x)->_attachee_union_._attachee_comment_.u)
 
#define ATTACHMENT(x)   ((attachment)((x).p))
 ATTACHMENT. More...
 
#define attachment_CAST(x)   ATTACHMENT(x)
 
#define ATTACHMENT_CAST(x)   ATTACHMENT(x)
 
#define ATTACHMENT_(x)   ((x).e)
 
#define ATTACHMENT_TYPE   attachment
 
#define attachment_TYPE   attachment
 
#define attachment_undefined   ((attachment)gen_chunk_undefined)
 
#define attachment_undefined_p(x)   ((x)==attachment_undefined)
 
#define gen_ATTACHMENT_cons   gen_attachment_cons
 
#define attachment_domain_number(x)   ((x)->_type_)
 
#define attachment_attachee_(x)   attachment_attachee(x) /**old hack compatible */
 
#define attachment_attachee(x)   ((x)->_attachment_attachee_)
 
#define attachment_begin_(x)   attachment_begin(x) /**old hack compatible */
 
#define attachment_begin(x)   ((x)->_attachment_begin_)
 
#define attachment_end_(x)   attachment_end(x) /**old hack compatible */
 
#define attachment_end(x)   ((x)->_attachment_end_)
 
#define ATTACHMENTS(x)   ((attachments)((x).p))
 ATTACHMENTS. More...
 
#define attachments_CAST(x)   ATTACHMENTS(x)
 
#define ATTACHMENTS_CAST(x)   ATTACHMENTS(x)
 
#define ATTACHMENTS_(x)   ((x).e)
 
#define ATTACHMENTS_TYPE   attachments
 
#define attachments_TYPE   attachments
 
#define attachments_undefined   ((attachments)gen_chunk_undefined)
 
#define attachments_undefined_p(x)   ((x)==attachments_undefined)
 
#define gen_ATTACHMENTS_cons   gen_attachments_cons
 
#define attachments_domain_number(x)   ((x)->_type_)
 
#define attachments_attachment(x)   ((x)->_attachments_holder_)
 
#define WORD_TO_ATTACHMENTS(x)   ((word_to_attachments)((x).p))
 WORD_TO_ATTACHMENTS. More...
 
#define word_to_attachments_CAST(x)   WORD_TO_ATTACHMENTS(x)
 
#define WORD_TO_ATTACHMENTS_CAST(x)   WORD_TO_ATTACHMENTS(x)
 
#define WORD_TO_ATTACHMENTS_(x)   ((x).e)
 
#define WORD_TO_ATTACHMENTS_TYPE   word_to_attachments
 
#define word_to_attachments_TYPE   word_to_attachments
 
#define word_to_attachments_undefined   ((word_to_attachments)gen_chunk_undefined)
 
#define word_to_attachments_undefined_p(x)   ((x)==word_to_attachments_undefined)
 
#define gen_WORD_TO_ATTACHMENTS_cons   gen_word_to_attachments_cons
 
#define word_to_attachments_domain_number(x)   ((x)->_type_)
 
#define word_to_attachments_hash_table(x)   ((x)->_word_to_attachments_holder_)
 
#define word_to_attachments_key_type   void_star
 
#define word_to_attachments_value_type   attachments
 
#define WORD_TO_ATTACHMENTS_MAP(k, v, c, f)   FUNCTION_MAP(word_to_attachments,p,p,k,v,c,f)
 
#define WORD_TO_ATTACHMENTS_FOREACH(k, v, f)   FUNCTION_FOREACH(word_to_attachments,p,p,k,v,f)
 
#define word_attachment_spec   "\--NEWGEN-START 91\n\import call from \"ri.newgen\";\n\import entity from \"ri.newgen\";\n\import loop from \"ri.newgen\";\n\import reference from \"ri.newgen\";\n\external void_star;\n\attachee = statement_line_number:int + persistant reference:reference + persistant call:call + persistant declaration:entity + type:string + persistant loop:loop + persistant module_head:entity + complementary_sections:unit + complexities:unit + continuation_conditions:unit + cumulated_effects:unit + out_regions:unit + preconditions:unit + privatized_regions:unit + proper_effects:unit + proper_regions:unit + regions:unit + static_control:unit + transformers:unit + decoration:unit + comment:unit;\n\attachment = attachee:attachee x begin:int x end:int;\n\attachments = attachment:attachment*;\n\word_to_attachments = word_pointer:void_star -> attachments:attachments;\n\"
 

Typedefs

typedef struct _newgen_struct_call_call
 
typedef struct _newgen_struct_entity_entity
 
typedef struct _newgen_struct_loop_loop
 
typedef struct _newgen_struct_reference_reference
 
typedef struct _newgen_struct_attachee_attachee
 
typedef struct _newgen_struct_attachment_attachment
 
typedef struct _newgen_struct_attachments_attachments
 
typedef struct _newgen_struct_word_to_attachments_word_to_attachments
 

Enumerations

enum  attachee_utype {
  is_attachee_statement_line_number , is_attachee_reference , is_attachee_call , is_attachee_declaration ,
  is_attachee_type , is_attachee_loop , is_attachee_module_head , is_attachee_complementary_sections ,
  is_attachee_complexities , is_attachee_continuation_conditions , is_attachee_cumulated_effects , is_attachee_out_regions ,
  is_attachee_preconditions , is_attachee_privatized_regions , is_attachee_proper_effects , is_attachee_proper_regions ,
  is_attachee_regions , is_attachee_static_control , is_attachee_transformers , is_attachee_decoration ,
  is_attachee_comment
}
 

Functions

attachee copy_attachee (attachee)
 ATTACHEE. More...
 
void free_attachee (attachee)
 
attachee check_attachee (attachee)
 
bool attachee_consistent_p (attachee)
 
bool attachee_defined_p (attachee)
 
list gen_attachee_cons (attachee, list)
 
void attachee_assign_contents (attachee, attachee)
 
void attachee_non_recursive_free (attachee)
 
void write_attachee (FILE *, attachee)
 
attachee read_attachee (FILE *)
 
string attachee_tag_as_string (enum attachee_utype)
 
attachee make_attachee (enum attachee_utype, void *)
 
attachee make_attachee_statement_line_number (intptr_t)
 
attachee make_attachee_reference (reference)
 
attachee make_attachee_call (call)
 
attachee make_attachee_declaration (entity)
 
attachee make_attachee_type (string)
 
attachee make_attachee_loop (loop)
 
attachee make_attachee_module_head (entity)
 
attachee make_attachee_complementary_sections (void)
 
attachee make_attachee_complexities (void)
 
attachee make_attachee_continuation_conditions (void)
 
attachee make_attachee_cumulated_effects (void)
 
attachee make_attachee_out_regions (void)
 
attachee make_attachee_preconditions (void)
 
attachee make_attachee_privatized_regions (void)
 
attachee make_attachee_proper_effects (void)
 
attachee make_attachee_proper_regions (void)
 
attachee make_attachee_regions (void)
 
attachee make_attachee_static_control (void)
 
attachee make_attachee_transformers (void)
 
attachee make_attachee_decoration (void)
 
attachee make_attachee_comment (void)
 
attachment copy_attachment (attachment)
 ATTACHMENT. More...
 
void free_attachment (attachment)
 
attachment check_attachment (attachment)
 
bool attachment_consistent_p (attachment)
 
bool attachment_defined_p (attachment)
 
list gen_attachment_cons (attachment, list)
 
void attachment_assign_contents (attachment, attachment)
 
void attachment_non_recursive_free (attachment)
 
void write_attachment (FILE *, attachment)
 
attachment read_attachment (FILE *)
 
attachment make_attachment (attachee, intptr_t, intptr_t)
 
attachments copy_attachments (attachments)
 ATTACHMENTS. More...
 
void free_attachments (attachments)
 
attachments check_attachments (attachments)
 
bool attachments_consistent_p (attachments)
 
bool attachments_defined_p (attachments)
 
list gen_attachments_cons (attachments, list)
 
void attachments_assign_contents (attachments, attachments)
 
void attachments_non_recursive_free (attachments)
 
void write_attachments (FILE *, attachments)
 
attachments read_attachments (FILE *)
 
attachments make_attachments (list)
 
word_to_attachments copy_word_to_attachments (word_to_attachments)
 WORD_TO_ATTACHMENTS. More...
 
void free_word_to_attachments (word_to_attachments)
 
word_to_attachments check_word_to_attachments (word_to_attachments)
 
bool word_to_attachments_consistent_p (word_to_attachments)
 
bool word_to_attachments_defined_p (word_to_attachments)
 
list gen_word_to_attachments_cons (word_to_attachments, list)
 
void word_to_attachments_assign_contents (word_to_attachments, word_to_attachments)
 
void word_to_attachments_non_recursive_free (word_to_attachments)
 
void write_word_to_attachments (FILE *, word_to_attachments)
 
word_to_attachments read_word_to_attachments (FILE *)
 
word_to_attachments make_word_to_attachments (void)
 
attachments apply_word_to_attachments (word_to_attachments, void_star)
 
void update_word_to_attachments (word_to_attachments, void_star, attachments)
 
void extend_word_to_attachments (word_to_attachments, void_star, attachments)
 
attachments delete_word_to_attachments (word_to_attachments, void_star)
 
bool bound_word_to_attachments_p (word_to_attachments, void_star)
 

Macro Definition Documentation

◆ _gen_word_attachment_start

#define _gen_word_attachment_start   91

Definition at line 3 of file word_attachment.h.

◆ _newgen_attachee_domain_defined_

#define _newgen_attachee_domain_defined_

Definition at line 48 of file word_attachment.h.

◆ _newgen_attachment_domain_defined_

#define _newgen_attachment_domain_defined_

Definition at line 56 of file word_attachment.h.

◆ _newgen_attachments_domain_defined_

#define _newgen_attachments_domain_defined_

Definition at line 64 of file word_attachment.h.

◆ _newgen_call_domain_defined_

#define _newgen_call_domain_defined_

Definition at line 11 of file word_attachment.h.

◆ _newgen_entity_domain_defined_

#define _newgen_entity_domain_defined_

newgen_call_domain_defined

Definition at line 18 of file word_attachment.h.

◆ _newgen_loop_domain_defined_

#define _newgen_loop_domain_defined_

newgen_entity_domain_defined

Definition at line 25 of file word_attachment.h.

◆ _newgen_reference_domain_defined_

#define _newgen_reference_domain_defined_

newgen_loop_domain_defined

Definition at line 32 of file word_attachment.h.

◆ _newgen_void_star_domain_defined_

#define _newgen_void_star_domain_defined_

newgen_reference_domain_defined

Definition at line 39 of file word_attachment.h.

◆ _newgen_word_to_attachments_domain_defined_

#define _newgen_word_to_attachments_domain_defined_

Definition at line 72 of file word_attachment.h.

◆ ATTACHEE

#define ATTACHEE (   x)    ((attachee)((x).p))

newgen_word_to_attachments_domain_defined

ATTACHEE

Definition at line 81 of file word_attachment.h.

◆ ATTACHEE_

#define ATTACHEE_ (   x)    ((x).e)

Definition at line 84 of file word_attachment.h.

◆ attachee_call

#define attachee_call (   x)    ((x)->_attachee_union_._attachee_call_)

Definition at line 186 of file word_attachment.h.

◆ attachee_call_

#define attachee_call_ (   x)    attachee_call(x) /**old hack compatible */

Definition at line 185 of file word_attachment.h.

◆ attachee_call_p

#define attachee_call_p (   x)    (attachee_tag(x)==is_attachee_call)

Definition at line 184 of file word_attachment.h.

◆ attachee_CAST

#define attachee_CAST (   x)    ATTACHEE(x)

Definition at line 82 of file word_attachment.h.

◆ ATTACHEE_CAST

#define ATTACHEE_CAST (   x)    ATTACHEE(x)

Definition at line 83 of file word_attachment.h.

◆ attachee_comment

#define attachee_comment (   x)    ((x)->_attachee_union_._attachee_comment_.u)

Definition at line 240 of file word_attachment.h.

◆ attachee_comment_

#define attachee_comment_ (   x)    attachee_comment(x) /**old hack compatible */

Definition at line 239 of file word_attachment.h.

◆ attachee_comment_p

#define attachee_comment_p (   x)    (attachee_tag(x)==is_attachee_comment)

Definition at line 238 of file word_attachment.h.

◆ attachee_complementary_sections

#define attachee_complementary_sections (   x)    ((x)->_attachee_union_._attachee_complementary_sections_.u)

Definition at line 201 of file word_attachment.h.

◆ attachee_complementary_sections_

#define attachee_complementary_sections_ (   x)    attachee_complementary_sections(x) /**old hack compatible */

Definition at line 200 of file word_attachment.h.

◆ attachee_complementary_sections_p

#define attachee_complementary_sections_p (   x)    (attachee_tag(x)==is_attachee_complementary_sections)

Definition at line 199 of file word_attachment.h.

◆ attachee_complexities

#define attachee_complexities (   x)    ((x)->_attachee_union_._attachee_complexities_.u)

Definition at line 204 of file word_attachment.h.

◆ attachee_complexities_

#define attachee_complexities_ (   x)    attachee_complexities(x) /**old hack compatible */

Definition at line 203 of file word_attachment.h.

◆ attachee_complexities_p

#define attachee_complexities_p (   x)    (attachee_tag(x)==is_attachee_complexities)

Definition at line 202 of file word_attachment.h.

◆ attachee_continuation_conditions

#define attachee_continuation_conditions (   x)    ((x)->_attachee_union_._attachee_continuation_conditions_.u)

Definition at line 207 of file word_attachment.h.

◆ attachee_continuation_conditions_

#define attachee_continuation_conditions_ (   x)    attachee_continuation_conditions(x) /**old hack compatible */

Definition at line 206 of file word_attachment.h.

◆ attachee_continuation_conditions_p

#define attachee_continuation_conditions_p (   x)    (attachee_tag(x)==is_attachee_continuation_conditions)

Definition at line 205 of file word_attachment.h.

◆ attachee_cumulated_effects

#define attachee_cumulated_effects (   x)    ((x)->_attachee_union_._attachee_cumulated_effects_.u)

Definition at line 210 of file word_attachment.h.

◆ attachee_cumulated_effects_

#define attachee_cumulated_effects_ (   x)    attachee_cumulated_effects(x) /**old hack compatible */

Definition at line 209 of file word_attachment.h.

◆ attachee_cumulated_effects_p

#define attachee_cumulated_effects_p (   x)    (attachee_tag(x)==is_attachee_cumulated_effects)

Definition at line 208 of file word_attachment.h.

◆ attachee_declaration

#define attachee_declaration (   x)    ((x)->_attachee_union_._attachee_declaration_)

Definition at line 189 of file word_attachment.h.

◆ attachee_declaration_

#define attachee_declaration_ (   x)    attachee_declaration(x) /**old hack compatible */

Definition at line 188 of file word_attachment.h.

◆ attachee_declaration_p

#define attachee_declaration_p (   x)    (attachee_tag(x)==is_attachee_declaration)

Definition at line 187 of file word_attachment.h.

◆ attachee_decoration

#define attachee_decoration (   x)    ((x)->_attachee_union_._attachee_decoration_.u)

Definition at line 237 of file word_attachment.h.

◆ attachee_decoration_

#define attachee_decoration_ (   x)    attachee_decoration(x) /**old hack compatible */

Definition at line 236 of file word_attachment.h.

◆ attachee_decoration_p

#define attachee_decoration_p (   x)    (attachee_tag(x)==is_attachee_decoration)

Definition at line 235 of file word_attachment.h.

◆ attachee_domain

#define attachee_domain   (_gen_word_attachment_start+1)

newgen_void_star_domain_defined

Definition at line 46 of file word_attachment.h.

◆ attachee_domain_number

#define attachee_domain_number (   x)    ((x)->_type_)

Definition at line 176 of file word_attachment.h.

◆ attachee_loop

#define attachee_loop (   x)    ((x)->_attachee_union_._attachee_loop_)

Definition at line 195 of file word_attachment.h.

◆ attachee_loop_

#define attachee_loop_ (   x)    attachee_loop(x) /**old hack compatible */

Definition at line 194 of file word_attachment.h.

◆ attachee_loop_p

#define attachee_loop_p (   x)    (attachee_tag(x)==is_attachee_loop)

Definition at line 193 of file word_attachment.h.

◆ attachee_module_head

#define attachee_module_head (   x)    ((x)->_attachee_union_._attachee_module_head_)

Definition at line 198 of file word_attachment.h.

◆ attachee_module_head_

#define attachee_module_head_ (   x)    attachee_module_head(x) /**old hack compatible */

Definition at line 197 of file word_attachment.h.

◆ attachee_module_head_p

#define attachee_module_head_p (   x)    (attachee_tag(x)==is_attachee_module_head)

Definition at line 196 of file word_attachment.h.

◆ ATTACHEE_NEWGEN_DOMAIN

#define ATTACHEE_NEWGEN_DOMAIN   (attachee_domain)

Definition at line 49 of file word_attachment.h.

◆ attachee_NEWGEN_DOMAIN

#define attachee_NEWGEN_DOMAIN   (attachee_domain)

Definition at line 50 of file word_attachment.h.

◆ attachee_out_regions

#define attachee_out_regions (   x)    ((x)->_attachee_union_._attachee_out_regions_.u)

Definition at line 213 of file word_attachment.h.

◆ attachee_out_regions_

#define attachee_out_regions_ (   x)    attachee_out_regions(x) /**old hack compatible */

Definition at line 212 of file word_attachment.h.

◆ attachee_out_regions_p

#define attachee_out_regions_p (   x)    (attachee_tag(x)==is_attachee_out_regions)

Definition at line 211 of file word_attachment.h.

◆ attachee_preconditions

#define attachee_preconditions (   x)    ((x)->_attachee_union_._attachee_preconditions_.u)

Definition at line 216 of file word_attachment.h.

◆ attachee_preconditions_

#define attachee_preconditions_ (   x)    attachee_preconditions(x) /**old hack compatible */

Definition at line 215 of file word_attachment.h.

◆ attachee_preconditions_p

#define attachee_preconditions_p (   x)    (attachee_tag(x)==is_attachee_preconditions)

Definition at line 214 of file word_attachment.h.

◆ attachee_privatized_regions

#define attachee_privatized_regions (   x)    ((x)->_attachee_union_._attachee_privatized_regions_.u)

Definition at line 219 of file word_attachment.h.

◆ attachee_privatized_regions_

#define attachee_privatized_regions_ (   x)    attachee_privatized_regions(x) /**old hack compatible */

Definition at line 218 of file word_attachment.h.

◆ attachee_privatized_regions_p

#define attachee_privatized_regions_p (   x)    (attachee_tag(x)==is_attachee_privatized_regions)

Definition at line 217 of file word_attachment.h.

◆ attachee_proper_effects

#define attachee_proper_effects (   x)    ((x)->_attachee_union_._attachee_proper_effects_.u)

Definition at line 222 of file word_attachment.h.

◆ attachee_proper_effects_

#define attachee_proper_effects_ (   x)    attachee_proper_effects(x) /**old hack compatible */

Definition at line 221 of file word_attachment.h.

◆ attachee_proper_effects_p

#define attachee_proper_effects_p (   x)    (attachee_tag(x)==is_attachee_proper_effects)

Definition at line 220 of file word_attachment.h.

◆ attachee_proper_regions

#define attachee_proper_regions (   x)    ((x)->_attachee_union_._attachee_proper_regions_.u)

Definition at line 225 of file word_attachment.h.

◆ attachee_proper_regions_

#define attachee_proper_regions_ (   x)    attachee_proper_regions(x) /**old hack compatible */

Definition at line 224 of file word_attachment.h.

◆ attachee_proper_regions_p

#define attachee_proper_regions_p (   x)    (attachee_tag(x)==is_attachee_proper_regions)

Definition at line 223 of file word_attachment.h.

◆ attachee_reference

#define attachee_reference (   x)    ((x)->_attachee_union_._attachee_reference_)

Definition at line 183 of file word_attachment.h.

◆ attachee_reference_

#define attachee_reference_ (   x)    attachee_reference(x) /**old hack compatible */

Definition at line 182 of file word_attachment.h.

◆ attachee_reference_p

#define attachee_reference_p (   x)    (attachee_tag(x)==is_attachee_reference)

Definition at line 181 of file word_attachment.h.

◆ attachee_regions

#define attachee_regions (   x)    ((x)->_attachee_union_._attachee_regions_.u)

Definition at line 228 of file word_attachment.h.

◆ attachee_regions_

#define attachee_regions_ (   x)    attachee_regions(x) /**old hack compatible */

Definition at line 227 of file word_attachment.h.

◆ attachee_regions_p

#define attachee_regions_p (   x)    (attachee_tag(x)==is_attachee_regions)

Definition at line 226 of file word_attachment.h.

◆ attachee_statement_line_number

#define attachee_statement_line_number (   x)    ((x)->_attachee_union_._attachee_statement_line_number_)

Definition at line 180 of file word_attachment.h.

◆ attachee_statement_line_number_

#define attachee_statement_line_number_ (   x)    attachee_statement_line_number(x) /**old hack compatible */

Definition at line 179 of file word_attachment.h.

◆ attachee_statement_line_number_p

#define attachee_statement_line_number_p (   x)    (attachee_tag(x)==is_attachee_statement_line_number)

Definition at line 178 of file word_attachment.h.

◆ attachee_static_control

#define attachee_static_control (   x)    ((x)->_attachee_union_._attachee_static_control_.u)

Definition at line 231 of file word_attachment.h.

◆ attachee_static_control_

#define attachee_static_control_ (   x)    attachee_static_control(x) /**old hack compatible */

Definition at line 230 of file word_attachment.h.

◆ attachee_static_control_p

#define attachee_static_control_p (   x)    (attachee_tag(x)==is_attachee_static_control)

Definition at line 229 of file word_attachment.h.

◆ attachee_tag

#define attachee_tag (   x)    ((x)->_attachee_tag__)

Definition at line 177 of file word_attachment.h.

◆ attachee_transformers

#define attachee_transformers (   x)    ((x)->_attachee_union_._attachee_transformers_.u)

Definition at line 234 of file word_attachment.h.

◆ attachee_transformers_

#define attachee_transformers_ (   x)    attachee_transformers(x) /**old hack compatible */

Definition at line 233 of file word_attachment.h.

◆ attachee_transformers_p

#define attachee_transformers_p (   x)    (attachee_tag(x)==is_attachee_transformers)

Definition at line 232 of file word_attachment.h.

◆ ATTACHEE_TYPE

#define ATTACHEE_TYPE   attachee

Definition at line 85 of file word_attachment.h.

◆ attachee_TYPE

#define attachee_TYPE   attachee

Definition at line 86 of file word_attachment.h.

◆ attachee_type

#define attachee_type (   x)    ((x)->_attachee_union_._attachee_type_)

Definition at line 192 of file word_attachment.h.

◆ attachee_type_

#define attachee_type_ (   x)    attachee_type(x) /**old hack compatible */

Definition at line 191 of file word_attachment.h.

◆ attachee_type_p

#define attachee_type_p (   x)    (attachee_tag(x)==is_attachee_type)

Definition at line 190 of file word_attachment.h.

◆ attachee_undefined

#define attachee_undefined   ((attachee)gen_chunk_undefined)

Definition at line 87 of file word_attachment.h.

◆ attachee_undefined_p

#define attachee_undefined_p (   x)    ((x)==attachee_undefined)

Definition at line 88 of file word_attachment.h.

◆ ATTACHMENT

#define ATTACHMENT (   x)    ((attachment)((x).p))

ATTACHMENT.

Definition at line 244 of file word_attachment.h.

◆ ATTACHMENT_

#define ATTACHMENT_ (   x)    ((x).e)

Definition at line 247 of file word_attachment.h.

◆ attachment_attachee

#define attachment_attachee (   x)    ((x)->_attachment_attachee_)

Definition at line 275 of file word_attachment.h.

◆ attachment_attachee_

#define attachment_attachee_ (   x)    attachment_attachee(x) /**old hack compatible */

Definition at line 274 of file word_attachment.h.

◆ attachment_begin

#define attachment_begin (   x)    ((x)->_attachment_begin_)

Definition at line 277 of file word_attachment.h.

◆ attachment_begin_

#define attachment_begin_ (   x)    attachment_begin(x) /**old hack compatible */

Definition at line 276 of file word_attachment.h.

◆ attachment_CAST

#define attachment_CAST (   x)    ATTACHMENT(x)

Definition at line 245 of file word_attachment.h.

◆ ATTACHMENT_CAST

#define ATTACHMENT_CAST (   x)    ATTACHMENT(x)

Definition at line 246 of file word_attachment.h.

◆ attachment_domain

#define attachment_domain   (_gen_word_attachment_start+2)

newgen_attachee_domain_defined

Definition at line 54 of file word_attachment.h.

◆ attachment_domain_number

#define attachment_domain_number (   x)    ((x)->_type_)

Definition at line 273 of file word_attachment.h.

◆ attachment_end

#define attachment_end (   x)    ((x)->_attachment_end_)

Definition at line 279 of file word_attachment.h.

◆ attachment_end_

#define attachment_end_ (   x)    attachment_end(x) /**old hack compatible */

Definition at line 278 of file word_attachment.h.

◆ ATTACHMENT_NEWGEN_DOMAIN

#define ATTACHMENT_NEWGEN_DOMAIN   (attachment_domain)

Definition at line 57 of file word_attachment.h.

◆ attachment_NEWGEN_DOMAIN

#define attachment_NEWGEN_DOMAIN   (attachment_domain)

Definition at line 58 of file word_attachment.h.

◆ ATTACHMENT_TYPE

#define ATTACHMENT_TYPE   attachment

Definition at line 248 of file word_attachment.h.

◆ attachment_TYPE

#define attachment_TYPE   attachment

Definition at line 249 of file word_attachment.h.

◆ attachment_undefined

#define attachment_undefined   ((attachment)gen_chunk_undefined)

Definition at line 250 of file word_attachment.h.

◆ attachment_undefined_p

#define attachment_undefined_p (   x)    ((x)==attachment_undefined)

Definition at line 251 of file word_attachment.h.

◆ ATTACHMENTS

#define ATTACHMENTS (   x)    ((attachments)((x).p))

ATTACHMENTS.

Definition at line 283 of file word_attachment.h.

◆ ATTACHMENTS_

#define ATTACHMENTS_ (   x)    ((x).e)

Definition at line 286 of file word_attachment.h.

◆ attachments_attachment

#define attachments_attachment (   x)    ((x)->_attachments_holder_)

Definition at line 311 of file word_attachment.h.

◆ attachments_CAST

#define attachments_CAST (   x)    ATTACHMENTS(x)

Definition at line 284 of file word_attachment.h.

◆ ATTACHMENTS_CAST

#define ATTACHMENTS_CAST (   x)    ATTACHMENTS(x)

Definition at line 285 of file word_attachment.h.

◆ attachments_domain

#define attachments_domain   (_gen_word_attachment_start+3)

newgen_attachment_domain_defined

Definition at line 62 of file word_attachment.h.

◆ attachments_domain_number

#define attachments_domain_number (   x)    ((x)->_type_)

Definition at line 310 of file word_attachment.h.

◆ ATTACHMENTS_NEWGEN_DOMAIN

#define ATTACHMENTS_NEWGEN_DOMAIN   (attachments_domain)

Definition at line 65 of file word_attachment.h.

◆ attachments_NEWGEN_DOMAIN

#define attachments_NEWGEN_DOMAIN   (attachments_domain)

Definition at line 66 of file word_attachment.h.

◆ ATTACHMENTS_TYPE

#define ATTACHMENTS_TYPE   attachments

Definition at line 287 of file word_attachment.h.

◆ attachments_TYPE

#define attachments_TYPE   attachments

Definition at line 288 of file word_attachment.h.

◆ attachments_undefined

#define attachments_undefined   ((attachments)gen_chunk_undefined)

Definition at line 289 of file word_attachment.h.

◆ attachments_undefined_p

#define attachments_undefined_p (   x)    ((x)==attachments_undefined)

Definition at line 290 of file word_attachment.h.

◆ CALL_NEWGEN_DOMAIN

#define CALL_NEWGEN_DOMAIN   (call_domain)

Definition at line 12 of file word_attachment.h.

◆ call_NEWGEN_DOMAIN

#define call_NEWGEN_DOMAIN   (call_domain)

Definition at line 13 of file word_attachment.h.

◆ ENTITY_NEWGEN_DOMAIN

#define ENTITY_NEWGEN_DOMAIN   (entity_domain)

Definition at line 19 of file word_attachment.h.

◆ entity_NEWGEN_DOMAIN

#define entity_NEWGEN_DOMAIN   (entity_domain)

Definition at line 20 of file word_attachment.h.

◆ gen_ATTACHEE_cons

#define gen_ATTACHEE_cons   gen_attachee_cons

Definition at line 95 of file word_attachment.h.

◆ gen_ATTACHMENT_cons

#define gen_ATTACHMENT_cons   gen_attachment_cons

Definition at line 258 of file word_attachment.h.

◆ gen_ATTACHMENTS_cons

#define gen_ATTACHMENTS_cons   gen_attachments_cons

Definition at line 297 of file word_attachment.h.

◆ gen_WORD_TO_ATTACHMENTS_cons

#define gen_WORD_TO_ATTACHMENTS_cons   gen_word_to_attachments_cons

Definition at line 329 of file word_attachment.h.

◆ LOOP_NEWGEN_DOMAIN

#define LOOP_NEWGEN_DOMAIN   (loop_domain)

Definition at line 26 of file word_attachment.h.

◆ loop_NEWGEN_DOMAIN

#define loop_NEWGEN_DOMAIN   (loop_domain)

Definition at line 27 of file word_attachment.h.

◆ newgen_void_star

#define newgen_void_star (   p)    (p) /**old hack compatible */

Definition at line 40 of file word_attachment.h.

◆ REFERENCE_NEWGEN_DOMAIN

#define REFERENCE_NEWGEN_DOMAIN   (reference_domain)

Definition at line 33 of file word_attachment.h.

◆ reference_NEWGEN_DOMAIN

#define reference_NEWGEN_DOMAIN   (reference_domain)

Definition at line 34 of file word_attachment.h.

◆ VOID_STAR_NEWGEN_DOMAIN

#define VOID_STAR_NEWGEN_DOMAIN   (VOID_STAR_NEWGEN_EXTERNAL)

Definition at line 42 of file word_attachment.h.

◆ void_star_NEWGEN_DOMAIN

#define void_star_NEWGEN_DOMAIN   (VOID_STAR_NEWGEN_EXTERNAL)

Definition at line 43 of file word_attachment.h.

◆ VOID_STAR_NEWGEN_EXTERNAL

#define VOID_STAR_NEWGEN_EXTERNAL   (_gen_word_attachment_start+0)

Definition at line 41 of file word_attachment.h.

◆ word_attachment_spec

#define word_attachment_spec   "\--NEWGEN-START 91\n\import call from \"ri.newgen\";\n\import entity from \"ri.newgen\";\n\import loop from \"ri.newgen\";\n\import reference from \"ri.newgen\";\n\external void_star;\n\attachee = statement_line_number:int + persistant reference:reference + persistant call:call + persistant declaration:entity + type:string + persistant loop:loop + persistant module_head:entity + complementary_sections:unit + complexities:unit + continuation_conditions:unit + cumulated_effects:unit + out_regions:unit + preconditions:unit + privatized_regions:unit + proper_effects:unit + proper_regions:unit + regions:unit + static_control:unit + transformers:unit + decoration:unit + comment:unit;\n\attachment = attachee:attachee x begin:int x end:int;\n\attachments = attachment:attachment*;\n\word_to_attachments = word_pointer:void_star -> attachments:attachments;\n\"

Definition at line 354 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS

#define WORD_TO_ATTACHMENTS (   x)    ((word_to_attachments)((x).p))

WORD_TO_ATTACHMENTS.

Definition at line 315 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_

#define WORD_TO_ATTACHMENTS_ (   x)    ((x).e)

Definition at line 318 of file word_attachment.h.

◆ word_to_attachments_CAST

#define word_to_attachments_CAST (   x)    WORD_TO_ATTACHMENTS(x)

Definition at line 316 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_CAST

#define WORD_TO_ATTACHMENTS_CAST (   x)    WORD_TO_ATTACHMENTS(x)

Definition at line 317 of file word_attachment.h.

◆ word_to_attachments_domain

#define word_to_attachments_domain   (_gen_word_attachment_start+4)

newgen_attachments_domain_defined

Definition at line 70 of file word_attachment.h.

◆ word_to_attachments_domain_number

#define word_to_attachments_domain_number (   x)    ((x)->_type_)

Definition at line 342 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_FOREACH

#define WORD_TO_ATTACHMENTS_FOREACH (   k,
  v,
  f 
)    FUNCTION_FOREACH(word_to_attachments,p,p,k,v,f)

Definition at line 347 of file word_attachment.h.

◆ word_to_attachments_hash_table

#define word_to_attachments_hash_table (   x)    ((x)->_word_to_attachments_holder_)

Definition at line 343 of file word_attachment.h.

◆ word_to_attachments_key_type

#define word_to_attachments_key_type   void_star

Definition at line 344 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_MAP

#define WORD_TO_ATTACHMENTS_MAP (   k,
  v,
  c,
  f 
)    FUNCTION_MAP(word_to_attachments,p,p,k,v,c,f)

Definition at line 346 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_NEWGEN_DOMAIN

#define WORD_TO_ATTACHMENTS_NEWGEN_DOMAIN   (word_to_attachments_domain)

Definition at line 73 of file word_attachment.h.

◆ word_to_attachments_NEWGEN_DOMAIN

#define word_to_attachments_NEWGEN_DOMAIN   (word_to_attachments_domain)

Definition at line 74 of file word_attachment.h.

◆ WORD_TO_ATTACHMENTS_TYPE

#define WORD_TO_ATTACHMENTS_TYPE   word_to_attachments

Definition at line 319 of file word_attachment.h.

◆ word_to_attachments_TYPE

#define word_to_attachments_TYPE   word_to_attachments

Definition at line 320 of file word_attachment.h.

◆ word_to_attachments_undefined

#define word_to_attachments_undefined   ((word_to_attachments)gen_chunk_undefined)

Definition at line 321 of file word_attachment.h.

◆ word_to_attachments_undefined_p

#define word_to_attachments_undefined_p (   x)    ((x)==word_to_attachments_undefined)

Definition at line 322 of file word_attachment.h.

◆ word_to_attachments_value_type

#define word_to_attachments_value_type   attachments

Definition at line 345 of file word_attachment.h.

Typedef Documentation

◆ attachee

Definition at line 51 of file word_attachment.h.

◆ attachment

Definition at line 59 of file word_attachment.h.

◆ attachments

Definition at line 67 of file word_attachment.h.

◆ call

typedef struct _newgen_struct_call_* call

Definition at line 14 of file word_attachment.h.

◆ entity

typedef struct _newgen_struct_entity_* entity

Definition at line 21 of file word_attachment.h.

◆ loop

typedef struct _newgen_struct_loop_* loop

Definition at line 28 of file word_attachment.h.

◆ reference

Definition at line 35 of file word_attachment.h.

◆ word_to_attachments

Definition at line 75 of file word_attachment.h.

Enumeration Type Documentation

◆ attachee_utype

Enumerator
is_attachee_statement_line_number 
is_attachee_reference 
is_attachee_call 
is_attachee_declaration 
is_attachee_type 
is_attachee_loop 
is_attachee_module_head 
is_attachee_complementary_sections 
is_attachee_complexities 
is_attachee_continuation_conditions 
is_attachee_cumulated_effects 
is_attachee_out_regions 
is_attachee_preconditions 
is_attachee_privatized_regions 
is_attachee_proper_effects 
is_attachee_proper_regions 
is_attachee_regions 
is_attachee_static_control 
is_attachee_transformers 
is_attachee_decoration 
is_attachee_comment 

Definition at line 101 of file word_attachment.h.

101  {
123 };
@ is_attachee_regions
@ is_attachee_preconditions
@ is_attachee_statement_line_number
@ is_attachee_transformers
@ is_attachee_module_head
@ is_attachee_call
@ is_attachee_privatized_regions
@ is_attachee_loop
@ is_attachee_comment
@ is_attachee_continuation_conditions
@ is_attachee_complementary_sections
@ is_attachee_declaration
@ is_attachee_cumulated_effects
@ is_attachee_decoration
@ is_attachee_type
@ is_attachee_proper_effects
@ is_attachee_static_control
@ is_attachee_reference
@ is_attachee_proper_regions
@ is_attachee_complexities
@ is_attachee_out_regions

Function Documentation

◆ apply_word_to_attachments()

attachments apply_word_to_attachments ( word_to_attachments  f,
void_star  k 
)

Definition at line 272 of file word_attachment.c.

272  {
274 }
#define HASH_GET(start, image, h, k)
Definition: newgen_map.h:30
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
Definition: offsets.c:15
#define intptr_t
Definition: stdint.in.h:294
#define word_to_attachments_hash_table(x)

References f(), HASH_GET, intptr_t, and word_to_attachments_hash_table.

+ Here is the call graph for this function:

◆ attachee_assign_contents()

void attachee_assign_contents ( attachee  r,
attachee  v 
)

Definition at line 37 of file word_attachment.c.

37  {
38  check_attachee(r);
39  check_attachee(v);
40  message_assert("defined references to domain attachee",
42  memcpy(r, v, sizeof(struct _newgen_struct_attachee_));
43 }
bool attachee_defined_p(attachee p)
attachee check_attachee(attachee p)
#define message_assert(msg, ex)
Definition: newgen_assert.h:47

References attachee_defined_p(), check_attachee(), and message_assert.

+ Here is the call graph for this function:

◆ attachee_consistent_p()

bool attachee_consistent_p ( attachee  p)

Definition at line 27 of file word_attachment.c.

27  {
28  check_attachee(p);
29  return gen_consistent_p((gen_chunk*) p);
30 }
int gen_consistent_p(gen_chunk *obj)
GEN_CONSISTENT_P dynamically checks the type correctness of OBJ.
Definition: genClib.c:2398
A gen_chunk is used to store every object.
Definition: genC.h:58

References check_attachee(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ attachee_defined_p()

bool attachee_defined_p ( attachee  p)

Definition at line 31 of file word_attachment.c.

31  {
32  return gen_defined_p((gen_chunk*) p);
33 }
int gen_defined_p(gen_chunk *obj)
Definition: genClib.c:2438

References gen_defined_p().

Referenced by attachee_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ attachee_non_recursive_free()

void attachee_non_recursive_free ( attachee  p)

Definition at line 44 of file word_attachment.c.

44  {
45  // should clear up contents...
46  free(p);
47 }
void free(void *)

References free().

+ Here is the call graph for this function:

◆ attachee_tag_as_string()

string attachee_tag_as_string ( enum  attachee_utype)

Definition at line 54 of file word_attachment.c.

54  {
55  switch (tag) {
56  case is_attachee_statement_line_number: return "statement_line_number";
57  case is_attachee_reference: return "reference";
58  case is_attachee_call: return "call";
59  case is_attachee_declaration: return "declaration";
60  case is_attachee_type: return "type";
61  case is_attachee_loop: return "loop";
62  case is_attachee_module_head: return "module_head";
63  case is_attachee_complementary_sections: return "complementary_sections";
64  case is_attachee_complexities: return "complexities";
65  case is_attachee_continuation_conditions: return "continuation_conditions";
66  case is_attachee_cumulated_effects: return "cumulated_effects";
67  case is_attachee_out_regions: return "out_regions";
68  case is_attachee_preconditions: return "preconditions";
69  case is_attachee_privatized_regions: return "privatized_regions";
70  case is_attachee_proper_effects: return "proper_effects";
71  case is_attachee_proper_regions: return "proper_regions";
72  case is_attachee_regions: return "regions";
73  case is_attachee_static_control: return "static_control";
74  case is_attachee_transformers: return "transformers";
75  case is_attachee_decoration: return "decoration";
76  case is_attachee_comment: return "comment";
77  default: return string_undefined;
78  }
79 }
int tag
TAG.
Definition: newgen_types.h:92
#define string_undefined
Definition: newgen_types.h:40

References is_attachee_call, is_attachee_comment, is_attachee_complementary_sections, is_attachee_complexities, is_attachee_continuation_conditions, is_attachee_cumulated_effects, is_attachee_declaration, is_attachee_decoration, is_attachee_loop, is_attachee_module_head, is_attachee_out_regions, is_attachee_preconditions, is_attachee_privatized_regions, is_attachee_proper_effects, is_attachee_proper_regions, is_attachee_reference, is_attachee_regions, is_attachee_statement_line_number, is_attachee_static_control, is_attachee_transformers, is_attachee_type, and string_undefined.

◆ attachment_assign_contents()

void attachment_assign_contents ( attachment  r,
attachment  v 
)

Definition at line 168 of file word_attachment.c.

168  {
169  check_attachment(r);
170  check_attachment(v);
171  message_assert("defined references to domain attachment",
173  memcpy(r, v, sizeof(struct _newgen_struct_attachment_));
174 }
bool attachment_defined_p(attachment p)
attachment check_attachment(attachment p)

References attachment_defined_p(), check_attachment(), and message_assert.

+ Here is the call graph for this function:

◆ attachment_consistent_p()

bool attachment_consistent_p ( attachment  p)

Definition at line 158 of file word_attachment.c.

158  {
159  check_attachment(p);
160  return gen_consistent_p((gen_chunk*) p);
161 }

References check_attachment(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ attachment_defined_p()

bool attachment_defined_p ( attachment  p)

Definition at line 162 of file word_attachment.c.

162  {
163  return gen_defined_p((gen_chunk*) p);
164 }

References gen_defined_p().

Referenced by attachment_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ attachment_non_recursive_free()

void attachment_non_recursive_free ( attachment  p)

Definition at line 175 of file word_attachment.c.

175  {
176  // should clear up contents...
177  free(p);
178 }

References free().

+ Here is the call graph for this function:

◆ attachments_assign_contents()

void attachments_assign_contents ( attachments  r,
attachments  v 
)

Definition at line 210 of file word_attachment.c.

210  {
213  message_assert("defined references to domain attachments",
215  memcpy(r, v, sizeof(struct _newgen_struct_attachments_));
216 }
bool attachments_defined_p(attachments p)
attachments check_attachments(attachments p)

References attachments_defined_p(), check_attachments(), and message_assert.

+ Here is the call graph for this function:

◆ attachments_consistent_p()

bool attachments_consistent_p ( attachments  p)

Definition at line 200 of file word_attachment.c.

200  {
202  return gen_consistent_p((gen_chunk*) p);
203 }

References check_attachments(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ attachments_defined_p()

bool attachments_defined_p ( attachments  p)

Definition at line 204 of file word_attachment.c.

204  {
205  return gen_defined_p((gen_chunk*) p);
206 }

References gen_defined_p().

Referenced by attachments_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ attachments_non_recursive_free()

void attachments_non_recursive_free ( attachments  p)

Definition at line 217 of file word_attachment.c.

217  {
218  // should clear up contents...
219  free(p);
220 }

References free().

+ Here is the call graph for this function:

◆ bound_word_to_attachments_p()

bool bound_word_to_attachments_p ( word_to_attachments  f,
void_star  k 
)

Definition at line 284 of file word_attachment.c.

284  {
286 }
#define HASH_BOUND_P(start, image, h, k)
Definition: newgen_map.h:32

References f(), HASH_BOUND_P, intptr_t, and word_to_attachments_hash_table.

+ Here is the call graph for this function:

◆ check_attachee()

attachee check_attachee ( attachee  p)

Definition at line 24 of file word_attachment.c.

24  {
26 }
gen_chunk * gen_check(gen_chunk *obj, int t)
GEN_CHECK checks that the gen_chunk received OBJ is of the appropriate TYPE.
Definition: genClib.c:2356
#define attachee_domain
newgen_void_star_domain_defined

References attachee_domain, and gen_check().

Referenced by attachee_assign_contents(), and attachee_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_attachment()

attachment check_attachment ( attachment  p)

Definition at line 155 of file word_attachment.c.

155  {
157 }
#define attachment_domain
newgen_attachee_domain_defined

References attachment_domain, and gen_check().

Referenced by attachment_assign_contents(), and attachment_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_attachments()

attachments check_attachments ( attachments  p)

Definition at line 197 of file word_attachment.c.

197  {
199 }
#define attachments_domain
newgen_attachment_domain_defined

References attachments_domain, and gen_check().

Referenced by attachments_assign_contents(), and attachments_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_word_to_attachments()

word_to_attachments check_word_to_attachments ( word_to_attachments  p)

Definition at line 239 of file word_attachment.c.

239  {
241 }
#define word_to_attachments_domain
newgen_attachments_domain_defined

References gen_check(), and word_to_attachments_domain.

Referenced by word_to_attachments_assign_contents(), and word_to_attachments_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copy_attachee()

attachee copy_attachee ( attachee  p)

ATTACHEE.

Definition at line 18 of file word_attachment.c.

18  {
19  return (attachee) gen_copy_tree((gen_chunk*) p);
20 }
gen_chunk * gen_copy_tree(gen_chunk *obj)
Definition: genClib.c:1429

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_attachment()

attachment copy_attachment ( attachment  p)

ATTACHMENT.

Definition at line 149 of file word_attachment.c.

149  {
150  return (attachment) gen_copy_tree((gen_chunk*) p);
151 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_attachments()

attachments copy_attachments ( attachments  p)

ATTACHMENTS.

Definition at line 191 of file word_attachment.c.

191  {
192  return (attachments) gen_copy_tree((gen_chunk*) p);
193 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_word_to_attachments()

word_to_attachments copy_word_to_attachments ( word_to_attachments  p)

WORD_TO_ATTACHMENTS.

Definition at line 233 of file word_attachment.c.

233  {
235 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ delete_word_to_attachments()

attachments delete_word_to_attachments ( word_to_attachments  f,
void_star  k 
)

Definition at line 281 of file word_attachment.c.

281  {
283 }
#define HASH_DELETE(start, image, h, k)
Definition: newgen_map.h:38

References f(), HASH_DELETE, intptr_t, and word_to_attachments_hash_table.

+ Here is the call graph for this function:

◆ extend_word_to_attachments()

void extend_word_to_attachments ( word_to_attachments  f,
void_star  k,
attachments  v 
)

Definition at line 278 of file word_attachment.c.

278  {
280 }
#define HASH_EXTEND(start, image, h, k, v)
Definition: newgen_map.h:36

References f(), HASH_EXTEND, intptr_t, and word_to_attachments_hash_table.

+ Here is the call graph for this function:

◆ free_attachee()

void free_attachee ( attachee  p)

Definition at line 21 of file word_attachment.c.

21  {
22  gen_free((gen_chunk*) p);
23 }
void gen_free(gen_chunk *obj)
version without shared_pointers.
Definition: genClib.c:992

References gen_free().

+ Here is the call graph for this function:

◆ free_attachment()

void free_attachment ( attachment  p)

Definition at line 152 of file word_attachment.c.

152  {
153  gen_free((gen_chunk*) p);
154 }

References gen_free().

+ Here is the call graph for this function:

◆ free_attachments()

void free_attachments ( attachments  p)

Definition at line 194 of file word_attachment.c.

194  {
195  gen_free((gen_chunk*) p);
196 }

References gen_free().

+ Here is the call graph for this function:

◆ free_word_to_attachments()

void free_word_to_attachments ( word_to_attachments  p)

Definition at line 236 of file word_attachment.c.

236  {
237  gen_free((gen_chunk*) p);
238 }

References gen_free().

+ Here is the call graph for this function:

◆ gen_attachee_cons()

list gen_attachee_cons ( attachee  p,
list  l 
)

Definition at line 34 of file word_attachment.c.

34  {
36 }
list gen_typed_cons(_int type, const void *item, const list next)
CONS a list with minimal type checking this cannot be done within the CONS macro because possible fun...
Definition: list.c:900
#define ATTACHEE_NEWGEN_DOMAIN

References ATTACHEE_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_attachment_cons()

list gen_attachment_cons ( attachment  p,
list  l 
)

Definition at line 165 of file word_attachment.c.

165  {
167 }
#define ATTACHMENT_NEWGEN_DOMAIN

References ATTACHMENT_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_attachments_cons()

list gen_attachments_cons ( attachments  p,
list  l 
)

Definition at line 207 of file word_attachment.c.

207  {
209 }
#define ATTACHMENTS_NEWGEN_DOMAIN

References ATTACHMENTS_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_word_to_attachments_cons()

list gen_word_to_attachments_cons ( word_to_attachments  p,
list  l 
)

Definition at line 249 of file word_attachment.c.

249  {
251 }
#define WORD_TO_ATTACHMENTS_NEWGEN_DOMAIN

References gen_typed_cons(), and WORD_TO_ATTACHMENTS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ make_attachee()

attachee make_attachee ( enum  attachee_utype,
void *  val 
)

Definition at line 80 of file word_attachment.c.

80  {
81  return (attachee) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, attachee_domain, tag, val);
82 }
#define GEN_CHECK_ALLOC
Definition: genC.h:307
gen_chunk * gen_alloc(int size, int gen_check_p, int dom,...)
allocates something in newgen.
Definition: genClib.c:298

References attachee_domain, gen_alloc(), and GEN_CHECK_ALLOC.

Referenced by attach_cumulated_effects_decoration_to_text(), attach_declaration_to_words(), attach_declaration_type_to_words(), attach_decoration_to_text(), attach_head_to_sentence(), attach_loop_to_sentence_up_to_end_of_text(), attach_preconditions_decoration_to_text(), attach_proper_effects_decoration_to_text(), attach_reference_to_word_list(), attach_regular_call_to_word(), attach_statement_information_to_text(), attach_transformers_decoration_to_text(), make_attachee_call(), make_attachee_comment(), make_attachee_complementary_sections(), make_attachee_complexities(), make_attachee_continuation_conditions(), make_attachee_cumulated_effects(), make_attachee_declaration(), make_attachee_decoration(), make_attachee_loop(), make_attachee_module_head(), make_attachee_out_regions(), make_attachee_preconditions(), make_attachee_privatized_regions(), make_attachee_proper_effects(), make_attachee_proper_regions(), make_attachee_reference(), make_attachee_regions(), make_attachee_statement_line_number(), make_attachee_static_control(), make_attachee_transformers(), and make_attachee_type().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_attachee_call()

attachee make_attachee_call ( call  _field_)

Definition at line 89 of file word_attachment.c.

89  {
90  return make_attachee(is_attachee_call, (void*)(intptr_t) _field_);
91 }
attachee make_attachee(enum attachee_utype tag, void *val)

References intptr_t, is_attachee_call, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_comment()

attachee make_attachee_comment ( void  )

Definition at line 143 of file word_attachment.c.

143  {
145 }
#define UU
Definition: newgen_types.h:98

References is_attachee_comment, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_complementary_sections()

attachee make_attachee_complementary_sections ( void  )

Definition at line 104 of file word_attachment.c.

104  {
106 }

References is_attachee_complementary_sections, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_complexities()

attachee make_attachee_complexities ( void  )

Definition at line 107 of file word_attachment.c.

107  {
109 }

References is_attachee_complexities, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_continuation_conditions()

attachee make_attachee_continuation_conditions ( void  )

Definition at line 110 of file word_attachment.c.

110  {
112 }

References is_attachee_continuation_conditions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_cumulated_effects()

attachee make_attachee_cumulated_effects ( void  )

Definition at line 113 of file word_attachment.c.

113  {
115 }

References is_attachee_cumulated_effects, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_declaration()

attachee make_attachee_declaration ( entity  _field_)

Definition at line 92 of file word_attachment.c.

92  {
93  return make_attachee(is_attachee_declaration, (void*)(intptr_t) _field_);
94 }

References intptr_t, is_attachee_declaration, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_decoration()

attachee make_attachee_decoration ( void  )

Definition at line 140 of file word_attachment.c.

140  {
142 }

References is_attachee_decoration, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_loop()

attachee make_attachee_loop ( loop  _field_)

Definition at line 98 of file word_attachment.c.

98  {
99  return make_attachee(is_attachee_loop, (void*)(intptr_t) _field_);
100 }

References intptr_t, is_attachee_loop, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_module_head()

attachee make_attachee_module_head ( entity  _field_)

Definition at line 101 of file word_attachment.c.

101  {
102  return make_attachee(is_attachee_module_head, (void*)(intptr_t) _field_);
103 }

References intptr_t, is_attachee_module_head, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_out_regions()

attachee make_attachee_out_regions ( void  )

Definition at line 116 of file word_attachment.c.

116  {
118 }

References is_attachee_out_regions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_preconditions()

attachee make_attachee_preconditions ( void  )

Definition at line 119 of file word_attachment.c.

119  {
121 }

References is_attachee_preconditions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_privatized_regions()

attachee make_attachee_privatized_regions ( void  )

Definition at line 122 of file word_attachment.c.

122  {
124 }

References is_attachee_privatized_regions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_proper_effects()

attachee make_attachee_proper_effects ( void  )

Definition at line 125 of file word_attachment.c.

125  {
127 }

References is_attachee_proper_effects, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_proper_regions()

attachee make_attachee_proper_regions ( void  )

Definition at line 128 of file word_attachment.c.

128  {
130 }

References is_attachee_proper_regions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_reference()

attachee make_attachee_reference ( reference  _field_)

Definition at line 86 of file word_attachment.c.

86  {
87  return make_attachee(is_attachee_reference, (void*)(intptr_t) _field_);
88 }

References intptr_t, is_attachee_reference, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_regions()

attachee make_attachee_regions ( void  )

Definition at line 131 of file word_attachment.c.

131  {
133 }

References is_attachee_regions, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_statement_line_number()

attachee make_attachee_statement_line_number ( intptr_t  _field_)

Definition at line 83 of file word_attachment.c.

83  {
85 }

References intptr_t, is_attachee_statement_line_number, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachee_static_control()

attachee make_attachee_static_control ( void  )

Definition at line 134 of file word_attachment.c.

134  {
136 }

References is_attachee_static_control, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_transformers()

attachee make_attachee_transformers ( void  )

Definition at line 137 of file word_attachment.c.

137  {
139 }

References is_attachee_transformers, make_attachee(), and UU.

+ Here is the call graph for this function:

◆ make_attachee_type()

attachee make_attachee_type ( string  _field_)

Definition at line 95 of file word_attachment.c.

95  {
96  return make_attachee(is_attachee_type, (void*)(intptr_t) _field_);
97 }

References intptr_t, is_attachee_type, and make_attachee().

+ Here is the call graph for this function:

◆ make_attachment()

attachment make_attachment ( attachee  a1,
intptr_t  a2,
intptr_t  a3 
)

Definition at line 185 of file word_attachment.c.

185  {
186  return (attachment) gen_alloc(4*sizeof(gen_chunk), GEN_CHECK_ALLOC, attachment_domain, a1, a2, a3);
187 }

References attachment_domain, gen_alloc(), and GEN_CHECK_ALLOC.

Referenced by attach_to_character_region().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_attachments()

attachments make_attachments ( list  a)

Definition at line 227 of file word_attachment.c.

227  {
229 }

References attachments_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_word_to_attachments()

word_to_attachments make_word_to_attachments ( void  )

Definition at line 269 of file word_attachment.c.

References gen_alloc(), GEN_CHECK_ALLOC, and word_to_attachments_domain.

+ Here is the call graph for this function:

◆ read_attachee()

attachee read_attachee ( FILE *  f)

Definition at line 51 of file word_attachment.c.

51  {
52  return (attachee) gen_read(f);
53 }
gen_chunk * gen_read(FILE *file)
GEN_READ reads any object from the FILE stream.
Definition: genClib.c:2323

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_attachment()

attachment read_attachment ( FILE *  f)

Definition at line 182 of file word_attachment.c.

182  {
183  return (attachment) gen_read(f);
184 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_attachments()

attachments read_attachments ( FILE *  f)

Definition at line 224 of file word_attachment.c.

224  {
225  return (attachments) gen_read(f);
226 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_word_to_attachments()

word_to_attachments read_word_to_attachments ( FILE *  f)

Definition at line 266 of file word_attachment.c.

266  {
267  return (word_to_attachments) gen_read(f);
268 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ update_word_to_attachments()

void update_word_to_attachments ( word_to_attachments  f,
void_star  k,
attachments  v 
)

Definition at line 275 of file word_attachment.c.

275  {
277 }
#define HASH_UPDATE(start, image, h, k, v)
Definition: newgen_map.h:34

References f(), HASH_UPDATE, intptr_t, and word_to_attachments_hash_table.

+ Here is the call graph for this function:

◆ word_to_attachments_assign_contents()

void word_to_attachments_assign_contents ( word_to_attachments  r,
word_to_attachments  v 
)

Definition at line 252 of file word_attachment.c.

252  {
255  message_assert("defined references to domain word_to_attachments",
257  memcpy(r, v, sizeof(struct _newgen_struct_word_to_attachments_));
258 }
word_to_attachments check_word_to_attachments(word_to_attachments p)
bool word_to_attachments_defined_p(word_to_attachments p)

References check_word_to_attachments(), message_assert, and word_to_attachments_defined_p().

+ Here is the call graph for this function:

◆ word_to_attachments_consistent_p()

bool word_to_attachments_consistent_p ( word_to_attachments  p)

Definition at line 242 of file word_attachment.c.

242  {
244  return gen_consistent_p((gen_chunk*) p);
245 }

References check_word_to_attachments(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ word_to_attachments_defined_p()

bool word_to_attachments_defined_p ( word_to_attachments  p)

Definition at line 246 of file word_attachment.c.

246  {
247  return gen_defined_p((gen_chunk*) p);
248 }

References gen_defined_p().

Referenced by word_to_attachments_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ word_to_attachments_non_recursive_free()

void word_to_attachments_non_recursive_free ( word_to_attachments  p)

Definition at line 259 of file word_attachment.c.

259  {
260  // should clear up contents...
261  free(p);
262 }

References free().

+ Here is the call graph for this function:

◆ write_attachee()

void write_attachee ( FILE *  f,
attachee  p 
)

Definition at line 48 of file word_attachment.c.

48  {
49  gen_write(f, (gen_chunk*) p);
50 }
void gen_write(FILE *fd, gen_chunk *obj)
GEN_WRITE writes the OBJect on the stream FD.
Definition: genClib.c:1745

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_attachment()

void write_attachment ( FILE *  f,
attachment  p 
)

Definition at line 179 of file word_attachment.c.

179  {
180  gen_write(f, (gen_chunk*) p);
181 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_attachments()

void write_attachments ( FILE *  f,
attachments  p 
)

Definition at line 221 of file word_attachment.c.

221  {
222  gen_write(f, (gen_chunk*) p);
223 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_word_to_attachments()

void write_word_to_attachments ( FILE *  f,
word_to_attachments  p 
)

Definition at line 263 of file word_attachment.c.

263  {
264  gen_write(f, (gen_chunk*) p);
265 }

References f(), and gen_write().

+ Here is the call graph for this function: