Created
January 3, 2023 04:27
-
-
Save TheRealMichaelWang/4687e95ee8bba5bd7ff3049cbac120f3 to your computer and use it in GitHub Desktop.
Buggy C Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ctype.h> | |
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef struct _nhp_array_char _nhp_array_char_t; | |
typedef struct _nhp_array__nhp_anonProcTypeNo0 _nhp_array__nhp_anonProcTypeNo0_t; | |
typedef struct _nhp_array__nhp_array_char _nhp_array__nhp_array_char_t; | |
typedef struct _nhp_enum_operand__ _nhp_enum_operand___t; | |
typedef enum _nhp_enum_operand___options { | |
_nhp_enum_operand__OPTION__nhp_record_binOp__, | |
_nhp_enum_operand__OPTION__nhp_record_constant__, | |
_nhp_enum_operand__OPTION__nhp_record_variable__, | |
_nhp_enum_operand__OPTION__nhp_record_derivative__ | |
} _nhp_enum_operand___options_t; | |
typedef struct _nhp_enum_io_writable__ _nhp_enum_io_writable___t; | |
typedef enum _nhp_enum_io_writable___options { | |
_nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__, | |
_nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__, | |
_nhp_enum_io_writable__OPTION__nhp_array_char, | |
_nhp_enum_io_writable__OPTION_char, | |
_nhp_enum_io_writable__OPTION_int, | |
_nhp_enum_io_writable__OPTION_dec, | |
_nhp_enum_io_writable__OPTION_bool, | |
_nhp_enum_io_writable__OPTION_nothing | |
} _nhp_enum_io_writable___options_t; | |
typedef struct _nhp_enum_parsing_token__ _nhp_enum_parsing_token___t; | |
typedef enum _nhp_enum_parsing_token___options { | |
_nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__, | |
_nhp_enum_parsing_token__OPTION_dec, | |
_nhp_enum_parsing_token__OPTION_char, | |
_nhp_enum_parsing_token__OPTION_nothing | |
} _nhp_enum_parsing_token___options_t; | |
typedef struct _nhp_interface_io_stringableObj__ _nhp_interface_io_stringableObj___t; | |
typedef struct _nhp_interface_io_writeableObj__ _nhp_interface_io_writeableObj___t; | |
typedef _nhp_enum_operand___t (*_nhp_anonProcTypeNo0_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo0_info _nhp_anonProcTypeNo0_info_t; | |
typedef void (*_nhp_anonProcTypeNo0_destructor_t)(_nhp_anonProcTypeNo0_info_t* to_free); | |
typedef _nhp_anonProcTypeNo0_info_t* (*_nhp_anonProcTypeNo0_copier_t)(_nhp_anonProcTypeNo0_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo0_info_t* (*_nhp_anonProcTypeNo0_record_copier_t)(_nhp_anonProcTypeNo0_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo0_info { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo1_t)(void* _nhp_capture, _nhp_array_char_t param0); | |
typedef struct _nhp_anonProcTypeNo1_info _nhp_anonProcTypeNo1_info_t; | |
typedef void (*_nhp_anonProcTypeNo1_destructor_t)(_nhp_anonProcTypeNo1_info_t* to_free); | |
typedef _nhp_anonProcTypeNo1_info_t* (*_nhp_anonProcTypeNo1_copier_t)(_nhp_anonProcTypeNo1_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo1_info_t* (*_nhp_anonProcTypeNo1_record_copier_t)(_nhp_anonProcTypeNo1_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo1_info { | |
_nhp_anonProcTypeNo1_t _nhp_this_anon; | |
_nhp_anonProcTypeNo1_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo1_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef int (*_nhp_anonProcTypeNo2_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo2_info _nhp_anonProcTypeNo2_info_t; | |
typedef void (*_nhp_anonProcTypeNo2_destructor_t)(_nhp_anonProcTypeNo2_info_t* to_free); | |
typedef _nhp_anonProcTypeNo2_info_t* (*_nhp_anonProcTypeNo2_copier_t)(_nhp_anonProcTypeNo2_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo2_info_t* (*_nhp_anonProcTypeNo2_record_copier_t)(_nhp_anonProcTypeNo2_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo2_info { | |
_nhp_anonProcTypeNo2_t _nhp_this_anon; | |
_nhp_anonProcTypeNo2_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo2_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo2_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo2_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef _nhp_array_char_t (*_nhp_anonProcTypeNo3_t)(void* _nhp_capture); | |
typedef struct _nhp_anonProcTypeNo3_info _nhp_anonProcTypeNo3_info_t; | |
typedef void (*_nhp_anonProcTypeNo3_destructor_t)(_nhp_anonProcTypeNo3_info_t* to_free); | |
typedef _nhp_anonProcTypeNo3_info_t* (*_nhp_anonProcTypeNo3_copier_t)(_nhp_anonProcTypeNo3_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo3_info_t* (*_nhp_anonProcTypeNo3_record_copier_t)(_nhp_anonProcTypeNo3_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo3_info { | |
_nhp_anonProcTypeNo3_t _nhp_this_anon; | |
_nhp_anonProcTypeNo3_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo3_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo4_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo4_info _nhp_anonProcTypeNo4_info_t; | |
typedef void (*_nhp_anonProcTypeNo4_destructor_t)(_nhp_anonProcTypeNo4_info_t* to_free); | |
typedef _nhp_anonProcTypeNo4_info_t* (*_nhp_anonProcTypeNo4_copier_t)(_nhp_anonProcTypeNo4_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo4_info_t* (*_nhp_anonProcTypeNo4_record_copier_t)(_nhp_anonProcTypeNo4_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo4_info { | |
_nhp_anonProcTypeNo4_t _nhp_this_anon; | |
_nhp_anonProcTypeNo4_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo4_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo4_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo4_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef int (*_nhp_anonProcTypeNo5_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo5_info _nhp_anonProcTypeNo5_info_t; | |
typedef void (*_nhp_anonProcTypeNo5_destructor_t)(_nhp_anonProcTypeNo5_info_t* to_free); | |
typedef _nhp_anonProcTypeNo5_info_t* (*_nhp_anonProcTypeNo5_copier_t)(_nhp_anonProcTypeNo5_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo5_info_t* (*_nhp_anonProcTypeNo5_record_copier_t)(_nhp_anonProcTypeNo5_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo5_info { | |
_nhp_anonProcTypeNo5_t _nhp_this_anon; | |
_nhp_anonProcTypeNo5_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo5_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo5_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo5_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo6_t)(void* _nhp_capture, double param0); | |
typedef struct _nhp_anonProcTypeNo6_info _nhp_anonProcTypeNo6_info_t; | |
typedef void (*_nhp_anonProcTypeNo6_destructor_t)(_nhp_anonProcTypeNo6_info_t* to_free); | |
typedef _nhp_anonProcTypeNo6_info_t* (*_nhp_anonProcTypeNo6_copier_t)(_nhp_anonProcTypeNo6_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo6_info_t* (*_nhp_anonProcTypeNo6_record_copier_t)(_nhp_anonProcTypeNo6_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo6_info { | |
_nhp_anonProcTypeNo6_t _nhp_this_anon; | |
_nhp_anonProcTypeNo6_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo6_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo6_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo6_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo7_t)(void* _nhp_capture, long param0); | |
typedef struct _nhp_anonProcTypeNo7_info _nhp_anonProcTypeNo7_info_t; | |
typedef void (*_nhp_anonProcTypeNo7_destructor_t)(_nhp_anonProcTypeNo7_info_t* to_free); | |
typedef _nhp_anonProcTypeNo7_info_t* (*_nhp_anonProcTypeNo7_copier_t)(_nhp_anonProcTypeNo7_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo7_info_t* (*_nhp_anonProcTypeNo7_record_copier_t)(_nhp_anonProcTypeNo7_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo7_info { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo8_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo8_info _nhp_anonProcTypeNo8_info_t; | |
typedef void (*_nhp_anonProcTypeNo8_destructor_t)(_nhp_anonProcTypeNo8_info_t* to_free); | |
typedef _nhp_anonProcTypeNo8_info_t* (*_nhp_anonProcTypeNo8_copier_t)(_nhp_anonProcTypeNo8_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo8_info_t* (*_nhp_anonProcTypeNo8_record_copier_t)(_nhp_anonProcTypeNo8_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo8_info { | |
_nhp_anonProcTypeNo8_t _nhp_this_anon; | |
_nhp_anonProcTypeNo8_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo8_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo8_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo8_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo9_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo9_info _nhp_anonProcTypeNo9_info_t; | |
typedef void (*_nhp_anonProcTypeNo9_destructor_t)(_nhp_anonProcTypeNo9_info_t* to_free); | |
typedef _nhp_anonProcTypeNo9_info_t* (*_nhp_anonProcTypeNo9_copier_t)(_nhp_anonProcTypeNo9_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo9_info_t* (*_nhp_anonProcTypeNo9_record_copier_t)(_nhp_anonProcTypeNo9_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo9_info { | |
_nhp_anonProcTypeNo9_t _nhp_this_anon; | |
_nhp_anonProcTypeNo9_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo9_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo9_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo9_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo10_t)(void* _nhp_capture, _nhp_enum_io_writable___t param0); | |
typedef struct _nhp_anonProcTypeNo10_info _nhp_anonProcTypeNo10_info_t; | |
typedef void (*_nhp_anonProcTypeNo10_destructor_t)(_nhp_anonProcTypeNo10_info_t* to_free); | |
typedef _nhp_anonProcTypeNo10_info_t* (*_nhp_anonProcTypeNo10_copier_t)(_nhp_anonProcTypeNo10_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo10_info_t* (*_nhp_anonProcTypeNo10_record_copier_t)(_nhp_anonProcTypeNo10_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo10_info { | |
_nhp_anonProcTypeNo10_t _nhp_this_anon; | |
_nhp_anonProcTypeNo10_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo10_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo11_t)(void* _nhp_capture, char param0); | |
typedef struct _nhp_anonProcTypeNo11_info _nhp_anonProcTypeNo11_info_t; | |
typedef void (*_nhp_anonProcTypeNo11_destructor_t)(_nhp_anonProcTypeNo11_info_t* to_free); | |
typedef _nhp_anonProcTypeNo11_info_t* (*_nhp_anonProcTypeNo11_copier_t)(_nhp_anonProcTypeNo11_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo11_info_t* (*_nhp_anonProcTypeNo11_record_copier_t)(_nhp_anonProcTypeNo11_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo11_info { | |
_nhp_anonProcTypeNo11_t _nhp_this_anon; | |
_nhp_anonProcTypeNo11_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo11_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo12_t)(void* _nhp_capture, void* param0, void* param1, long param2); | |
typedef struct _nhp_anonProcTypeNo12_info _nhp_anonProcTypeNo12_info_t; | |
typedef void (*_nhp_anonProcTypeNo12_destructor_t)(_nhp_anonProcTypeNo12_info_t* to_free); | |
typedef _nhp_anonProcTypeNo12_info_t* (*_nhp_anonProcTypeNo12_copier_t)(_nhp_anonProcTypeNo12_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo12_info_t* (*_nhp_anonProcTypeNo12_record_copier_t)(_nhp_anonProcTypeNo12_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo12_info { | |
_nhp_anonProcTypeNo12_t _nhp_this_anon; | |
_nhp_anonProcTypeNo12_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo12_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo12_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo12_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo13_t)(void* _nhp_capture, _nhp_enum_operand___t param0, _nhp_enum_operand___t param1, long param2, long param3); | |
typedef struct _nhp_anonProcTypeNo13_info _nhp_anonProcTypeNo13_info_t; | |
typedef void (*_nhp_anonProcTypeNo13_destructor_t)(_nhp_anonProcTypeNo13_info_t* to_free); | |
typedef _nhp_anonProcTypeNo13_info_t* (*_nhp_anonProcTypeNo13_copier_t)(_nhp_anonProcTypeNo13_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo13_info_t* (*_nhp_anonProcTypeNo13_record_copier_t)(_nhp_anonProcTypeNo13_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo13_info { | |
_nhp_anonProcTypeNo13_t _nhp_this_anon; | |
_nhp_anonProcTypeNo13_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo13_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo13_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo13_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef int (*_nhp_anonProcTypeNo14_t)(void* _nhp_capture, char param0); | |
typedef struct _nhp_anonProcTypeNo14_info _nhp_anonProcTypeNo14_info_t; | |
typedef void (*_nhp_anonProcTypeNo14_destructor_t)(_nhp_anonProcTypeNo14_info_t* to_free); | |
typedef _nhp_anonProcTypeNo14_info_t* (*_nhp_anonProcTypeNo14_copier_t)(_nhp_anonProcTypeNo14_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo14_info_t* (*_nhp_anonProcTypeNo14_record_copier_t)(_nhp_anonProcTypeNo14_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo14_info { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo15_t)(void* _nhp_capture); | |
typedef struct _nhp_anonProcTypeNo15_info _nhp_anonProcTypeNo15_info_t; | |
typedef void (*_nhp_anonProcTypeNo15_destructor_t)(_nhp_anonProcTypeNo15_info_t* to_free); | |
typedef _nhp_anonProcTypeNo15_info_t* (*_nhp_anonProcTypeNo15_copier_t)(_nhp_anonProcTypeNo15_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo15_info_t* (*_nhp_anonProcTypeNo15_record_copier_t)(_nhp_anonProcTypeNo15_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo15_info { | |
_nhp_anonProcTypeNo15_t _nhp_this_anon; | |
_nhp_anonProcTypeNo15_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo15_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void* (*_nhp_anonProcTypeNo16_t)(void* _nhp_capture); | |
typedef struct _nhp_anonProcTypeNo16_info _nhp_anonProcTypeNo16_info_t; | |
typedef void (*_nhp_anonProcTypeNo16_destructor_t)(_nhp_anonProcTypeNo16_info_t* to_free); | |
typedef _nhp_anonProcTypeNo16_info_t* (*_nhp_anonProcTypeNo16_copier_t)(_nhp_anonProcTypeNo16_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo16_info_t* (*_nhp_anonProcTypeNo16_record_copier_t)(_nhp_anonProcTypeNo16_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo16_info { | |
_nhp_anonProcTypeNo16_t _nhp_this_anon; | |
_nhp_anonProcTypeNo16_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo16_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo16_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo16_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo17_t)(void* _nhp_capture, long param0); | |
typedef struct _nhp_anonProcTypeNo17_info _nhp_anonProcTypeNo17_info_t; | |
typedef void (*_nhp_anonProcTypeNo17_destructor_t)(_nhp_anonProcTypeNo17_info_t* to_free); | |
typedef _nhp_anonProcTypeNo17_info_t* (*_nhp_anonProcTypeNo17_copier_t)(_nhp_anonProcTypeNo17_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo17_info_t* (*_nhp_anonProcTypeNo17_record_copier_t)(_nhp_anonProcTypeNo17_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo17_info { | |
_nhp_anonProcTypeNo17_t _nhp_this_anon; | |
_nhp_anonProcTypeNo17_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo17_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo17_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo17_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo18_t)(void* _nhp_capture, long param0, char param1); | |
typedef struct _nhp_anonProcTypeNo18_info _nhp_anonProcTypeNo18_info_t; | |
typedef void (*_nhp_anonProcTypeNo18_destructor_t)(_nhp_anonProcTypeNo18_info_t* to_free); | |
typedef _nhp_anonProcTypeNo18_info_t* (*_nhp_anonProcTypeNo18_copier_t)(_nhp_anonProcTypeNo18_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo18_info_t* (*_nhp_anonProcTypeNo18_record_copier_t)(_nhp_anonProcTypeNo18_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo18_info { | |
_nhp_anonProcTypeNo18_t _nhp_this_anon; | |
_nhp_anonProcTypeNo18_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo18_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo18_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo18_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void* (*_nhp_anonProcTypeNo19_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo19_info _nhp_anonProcTypeNo19_info_t; | |
typedef void (*_nhp_anonProcTypeNo19_destructor_t)(_nhp_anonProcTypeNo19_info_t* to_free); | |
typedef _nhp_anonProcTypeNo19_info_t* (*_nhp_anonProcTypeNo19_copier_t)(_nhp_anonProcTypeNo19_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo19_info_t* (*_nhp_anonProcTypeNo19_record_copier_t)(_nhp_anonProcTypeNo19_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo19_info { | |
_nhp_anonProcTypeNo19_t _nhp_this_anon; | |
_nhp_anonProcTypeNo19_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo19_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo19_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo19_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo20_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo20_info _nhp_anonProcTypeNo20_info_t; | |
typedef void (*_nhp_anonProcTypeNo20_destructor_t)(_nhp_anonProcTypeNo20_info_t* to_free); | |
typedef _nhp_anonProcTypeNo20_info_t* (*_nhp_anonProcTypeNo20_copier_t)(_nhp_anonProcTypeNo20_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo20_info_t* (*_nhp_anonProcTypeNo20_record_copier_t)(_nhp_anonProcTypeNo20_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo20_info { | |
_nhp_anonProcTypeNo20_t _nhp_this_anon; | |
_nhp_anonProcTypeNo20_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo20_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo20_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo20_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo21_t)(void* _nhp_capture, long param0, char param1); | |
typedef struct _nhp_anonProcTypeNo21_info _nhp_anonProcTypeNo21_info_t; | |
typedef void (*_nhp_anonProcTypeNo21_destructor_t)(_nhp_anonProcTypeNo21_info_t* to_free); | |
typedef _nhp_anonProcTypeNo21_info_t* (*_nhp_anonProcTypeNo21_copier_t)(_nhp_anonProcTypeNo21_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo21_info_t* (*_nhp_anonProcTypeNo21_record_copier_t)(_nhp_anonProcTypeNo21_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo21_info { | |
_nhp_anonProcTypeNo21_t _nhp_this_anon; | |
_nhp_anonProcTypeNo21_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo21_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo21_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo21_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef int (*_nhp_anonProcTypeNo22_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo22_info _nhp_anonProcTypeNo22_info_t; | |
typedef void (*_nhp_anonProcTypeNo22_destructor_t)(_nhp_anonProcTypeNo22_info_t* to_free); | |
typedef _nhp_anonProcTypeNo22_info_t* (*_nhp_anonProcTypeNo22_copier_t)(_nhp_anonProcTypeNo22_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo22_info_t* (*_nhp_anonProcTypeNo22_record_copier_t)(_nhp_anonProcTypeNo22_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo22_info { | |
_nhp_anonProcTypeNo22_t _nhp_this_anon; | |
_nhp_anonProcTypeNo22_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo22_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo22_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo22_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo23_t)(void* _nhp_capture); | |
typedef struct _nhp_anonProcTypeNo23_info _nhp_anonProcTypeNo23_info_t; | |
typedef void (*_nhp_anonProcTypeNo23_destructor_t)(_nhp_anonProcTypeNo23_info_t* to_free); | |
typedef _nhp_anonProcTypeNo23_info_t* (*_nhp_anonProcTypeNo23_copier_t)(_nhp_anonProcTypeNo23_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo23_info_t* (*_nhp_anonProcTypeNo23_record_copier_t)(_nhp_anonProcTypeNo23_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo23_info { | |
_nhp_anonProcTypeNo23_t _nhp_this_anon; | |
_nhp_anonProcTypeNo23_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo23_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo24_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo24_info _nhp_anonProcTypeNo24_info_t; | |
typedef void (*_nhp_anonProcTypeNo24_destructor_t)(_nhp_anonProcTypeNo24_info_t* to_free); | |
typedef _nhp_anonProcTypeNo24_info_t* (*_nhp_anonProcTypeNo24_copier_t)(_nhp_anonProcTypeNo24_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo24_info_t* (*_nhp_anonProcTypeNo24_record_copier_t)(_nhp_anonProcTypeNo24_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo24_info { | |
_nhp_anonProcTypeNo24_t _nhp_this_anon; | |
_nhp_anonProcTypeNo24_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo24_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo24_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo24_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void (*_nhp_anonProcTypeNo25_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo25_info _nhp_anonProcTypeNo25_info_t; | |
typedef void (*_nhp_anonProcTypeNo25_destructor_t)(_nhp_anonProcTypeNo25_info_t* to_free); | |
typedef _nhp_anonProcTypeNo25_info_t* (*_nhp_anonProcTypeNo25_copier_t)(_nhp_anonProcTypeNo25_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo25_info_t* (*_nhp_anonProcTypeNo25_record_copier_t)(_nhp_anonProcTypeNo25_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo25_info { | |
_nhp_anonProcTypeNo25_t _nhp_this_anon; | |
_nhp_anonProcTypeNo25_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo25_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo25_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo25_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef long (*_nhp_anonProcTypeNo26_t)(void* _nhp_capture, char param0, char param1); | |
typedef struct _nhp_anonProcTypeNo26_info _nhp_anonProcTypeNo26_info_t; | |
typedef void (*_nhp_anonProcTypeNo26_destructor_t)(_nhp_anonProcTypeNo26_info_t* to_free); | |
typedef _nhp_anonProcTypeNo26_info_t* (*_nhp_anonProcTypeNo26_copier_t)(_nhp_anonProcTypeNo26_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo26_info_t* (*_nhp_anonProcTypeNo26_record_copier_t)(_nhp_anonProcTypeNo26_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo26_info { | |
_nhp_anonProcTypeNo26_t _nhp_this_anon; | |
_nhp_anonProcTypeNo26_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo26_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo26_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo26_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void* (*_nhp_anonProcTypeNo27_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo27_info _nhp_anonProcTypeNo27_info_t; | |
typedef void (*_nhp_anonProcTypeNo27_destructor_t)(_nhp_anonProcTypeNo27_info_t* to_free); | |
typedef _nhp_anonProcTypeNo27_info_t* (*_nhp_anonProcTypeNo27_copier_t)(_nhp_anonProcTypeNo27_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo27_info_t* (*_nhp_anonProcTypeNo27_record_copier_t)(_nhp_anonProcTypeNo27_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo27_info { | |
_nhp_anonProcTypeNo27_t _nhp_this_anon; | |
_nhp_anonProcTypeNo27_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo27_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo27_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo27_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo28_t)(void* _nhp_capture, char param0); | |
typedef struct _nhp_anonProcTypeNo28_info _nhp_anonProcTypeNo28_info_t; | |
typedef void (*_nhp_anonProcTypeNo28_destructor_t)(_nhp_anonProcTypeNo28_info_t* to_free); | |
typedef _nhp_anonProcTypeNo28_info_t* (*_nhp_anonProcTypeNo28_copier_t)(_nhp_anonProcTypeNo28_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo28_info_t* (*_nhp_anonProcTypeNo28_record_copier_t)(_nhp_anonProcTypeNo28_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo28_info { | |
_nhp_anonProcTypeNo28_t _nhp_this_anon; | |
_nhp_anonProcTypeNo28_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo28_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo28_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo28_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef void* (*_nhp_anonProcTypeNo29_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo29_info _nhp_anonProcTypeNo29_info_t; | |
typedef void (*_nhp_anonProcTypeNo29_destructor_t)(_nhp_anonProcTypeNo29_info_t* to_free); | |
typedef _nhp_anonProcTypeNo29_info_t* (*_nhp_anonProcTypeNo29_copier_t)(_nhp_anonProcTypeNo29_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo29_info_t* (*_nhp_anonProcTypeNo29_record_copier_t)(_nhp_anonProcTypeNo29_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo29_info { | |
_nhp_anonProcTypeNo29_t _nhp_this_anon; | |
_nhp_anonProcTypeNo29_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo29_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo29_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo29_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo30_t)(void* _nhp_capture, void* param0); | |
typedef struct _nhp_anonProcTypeNo30_info _nhp_anonProcTypeNo30_info_t; | |
typedef void (*_nhp_anonProcTypeNo30_destructor_t)(_nhp_anonProcTypeNo30_info_t* to_free); | |
typedef _nhp_anonProcTypeNo30_info_t* (*_nhp_anonProcTypeNo30_copier_t)(_nhp_anonProcTypeNo30_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo30_info_t* (*_nhp_anonProcTypeNo30_record_copier_t)(_nhp_anonProcTypeNo30_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo30_info { | |
_nhp_anonProcTypeNo30_t _nhp_this_anon; | |
_nhp_anonProcTypeNo30_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo30_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo30_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo30_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef char (*_nhp_anonProcTypeNo31_t)(void* _nhp_capture, char param0, char param1); | |
typedef struct _nhp_anonProcTypeNo31_info _nhp_anonProcTypeNo31_info_t; | |
typedef void (*_nhp_anonProcTypeNo31_destructor_t)(_nhp_anonProcTypeNo31_info_t* to_free); | |
typedef _nhp_anonProcTypeNo31_info_t* (*_nhp_anonProcTypeNo31_copier_t)(_nhp_anonProcTypeNo31_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo31_info_t* (*_nhp_anonProcTypeNo31_record_copier_t)(_nhp_anonProcTypeNo31_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo31_info { | |
_nhp_anonProcTypeNo31_t _nhp_this_anon; | |
_nhp_anonProcTypeNo31_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo31_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo31_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo31_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef _nhp_array_char_t (*_nhp_anonProcTypeNo32_t)(void* _nhp_capture, void* param0, int param1); | |
typedef struct _nhp_anonProcTypeNo32_info _nhp_anonProcTypeNo32_info_t; | |
typedef void (*_nhp_anonProcTypeNo32_destructor_t)(_nhp_anonProcTypeNo32_info_t* to_free); | |
typedef _nhp_anonProcTypeNo32_info_t* (*_nhp_anonProcTypeNo32_copier_t)(_nhp_anonProcTypeNo32_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo32_info_t* (*_nhp_anonProcTypeNo32_record_copier_t)(_nhp_anonProcTypeNo32_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo32_info { | |
_nhp_anonProcTypeNo32_t _nhp_this_anon; | |
_nhp_anonProcTypeNo32_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo32_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo32_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo32_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef _nhp_enum_parsing_token___t (*_nhp_anonProcTypeNo33_t)(void* _nhp_capture); | |
typedef struct _nhp_anonProcTypeNo33_info _nhp_anonProcTypeNo33_info_t; | |
typedef void (*_nhp_anonProcTypeNo33_destructor_t)(_nhp_anonProcTypeNo33_info_t* to_free); | |
typedef _nhp_anonProcTypeNo33_info_t* (*_nhp_anonProcTypeNo33_copier_t)(_nhp_anonProcTypeNo33_info_t* to_copy, void* responsible_destroyer); | |
typedef _nhp_anonProcTypeNo33_info_t* (*_nhp_anonProcTypeNo33_record_copier_t)(_nhp_anonProcTypeNo33_info_t* to_copy, void* record); | |
struct _nhp_anonProcTypeNo33_info { | |
_nhp_anonProcTypeNo33_t _nhp_this_anon; | |
_nhp_anonProcTypeNo33_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo33_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo33_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo33_record_copier_t _nhp_resp_mutator; | |
}; | |
typedef struct _nhp_record_binOp__ _nhp_record_binOp___t; | |
typedef struct _nhp_record_variable__ _nhp_record_variable___t; | |
typedef struct _nhp_record_parsing_identifier__ _nhp_record_parsing_identifier___t; | |
typedef struct _nhp_record_constant__ _nhp_record_constant___t; | |
typedef struct _nhp_record_io_writer__ _nhp_record_io_writer___t; | |
typedef struct _nhp_record_derivative__ _nhp_record_derivative___t; | |
typedef struct _nhp_record_parsing_scanner__ _nhp_record_parsing_scanner___t; | |
typedef struct _nhp_record_data_list_char_ _nhp_record_data_list_char__t; | |
typedef struct _nhp_std_record_mask { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
} _nhp_std_record_mask_t; | |
struct _nhp_array_char { | |
char* buffer; | |
int length; | |
}; | |
struct _nhp_array__nhp_anonProcTypeNo0 { | |
_nhp_anonProcTypeNo0_info_t** buffer; | |
int length; | |
void* responsible_destroyer; | |
}; | |
struct _nhp_array__nhp_array_char { | |
_nhp_array_char_t* buffer; | |
int length; | |
}; | |
struct _nhp_interface_io_stringableObj__ { | |
_nhp_anonProcTypeNo3_info_t* toString; | |
}; | |
struct _nhp_interface_io_writeableObj__ { | |
_nhp_anonProcTypeNo8_info_t* writeBack; | |
}; | |
struct _nhp_enum_io_writable__ { | |
_nhp_enum_io_writable___options_t option; | |
union _nhp_enum_io_writable___data { | |
_nhp_interface_io_stringableObj___t _nhp_interface_io_stringableObj___set; | |
_nhp_interface_io_writeableObj___t _nhp_interface_io_writeableObj___set; | |
_nhp_array_char_t _nhp_array_char_set; | |
char char_set; | |
long int_set; | |
double dec_set; | |
int bool_set; | |
} data; | |
}; | |
struct _nhp_enum_parsing_token__ { | |
_nhp_enum_parsing_token___options_t option; | |
union _nhp_enum_parsing_token___data { | |
_nhp_record_parsing_identifier___t* _nhp_record_parsing_identifier___set; | |
double dec_set; | |
char char_set; | |
} data; | |
}; | |
struct _nhp_enum_operand__ { | |
_nhp_enum_operand___options_t option; | |
union _nhp_enum_operand___data { | |
_nhp_record_binOp___t* _nhp_record_binOp___set; | |
_nhp_record_constant___t* _nhp_record_constant___set; | |
_nhp_record_variable___t* _nhp_record_variable___set; | |
_nhp_record_derivative___t* _nhp_record_derivative___set; | |
} data; | |
}; | |
struct _nhp_record_data_list_char_ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
void* buffer; | |
long count; | |
long capacity; | |
_nhp_anonProcTypeNo7_info_t* __init__; | |
_nhp_anonProcTypeNo15_info_t* __del__; | |
_nhp_anonProcTypeNo16_info_t* __copy__; | |
_nhp_anonProcTypeNo15_info_t* clear; | |
_nhp_anonProcTypeNo17_info_t* getAtIndex; | |
_nhp_anonProcTypeNo18_info_t* setAtIndex; | |
_nhp_anonProcTypeNo19_info_t* add; | |
_nhp_anonProcTypeNo7_info_t* ensureCapacity; | |
_nhp_anonProcTypeNo11_info_t* pushFront; | |
_nhp_anonProcTypeNo11_info_t* pushBack; | |
_nhp_anonProcTypeNo21_info_t* insert; | |
_nhp_anonProcTypeNo1_info_t* addBuffer; | |
_nhp_anonProcTypeNo20_info_t* addRange; | |
_nhp_anonProcTypeNo22_info_t* remove; | |
_nhp_anonProcTypeNo23_info_t* popFront; | |
_nhp_anonProcTypeNo23_info_t* popBack; | |
_nhp_anonProcTypeNo3_info_t* toArray; | |
_nhp_anonProcTypeNo24_info_t* forall; | |
_nhp_anonProcTypeNo25_info_t* sort; | |
_nhp_anonProcTypeNo27_info_t* map; | |
_nhp_anonProcTypeNo29_info_t* filter; | |
_nhp_anonProcTypeNo30_info_t* reduce; | |
}; | |
struct _nhp_record_io_writer__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
void* ptr; | |
_nhp_anonProcTypeNo9_info_t* __init__; | |
_nhp_anonProcTypeNo10_info_t* write; | |
_nhp_anonProcTypeNo10_info_t* writeLine; | |
_nhp_anonProcTypeNo11_info_t* writeChar; | |
}; | |
struct _nhp_record_binOp__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
_nhp_enum_operand___t lhs; | |
_nhp_enum_operand___t rhs; | |
long op; | |
long prec; | |
_nhp_array__nhp_anonProcTypeNo0_t derivers; | |
_nhp_array__nhp_array_char_t opStrs; | |
_nhp_anonProcTypeNo13_info_t* __init__; | |
_nhp_anonProcTypeNo0_info_t* deriveAdd; | |
_nhp_anonProcTypeNo0_info_t* deriveSub; | |
_nhp_anonProcTypeNo0_info_t* deriveMul; | |
_nhp_anonProcTypeNo0_info_t* deriveDiv; | |
_nhp_anonProcTypeNo0_info_t* derivePow; | |
_nhp_anonProcTypeNo0_info_t* deriveLog; | |
_nhp_anonProcTypeNo0_info_t* derive; | |
_nhp_anonProcTypeNo7_info_t* print; | |
}; | |
struct _nhp_record_parsing_identifier__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
_nhp_array_char_t id; | |
long hash; | |
_nhp_anonProcTypeNo1_info_t* __init__; | |
_nhp_anonProcTypeNo2_info_t* equals; | |
_nhp_anonProcTypeNo3_info_t* toString; | |
}; | |
struct _nhp_record_parsing_scanner__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
_nhp_array_char_t _buffer; | |
long pos; | |
char lastChar; | |
_nhp_enum_parsing_token___t lastTok; | |
_nhp_anonProcTypeNo1_info_t* __init__; | |
_nhp_anonProcTypeNo23_info_t* scanChar; | |
_nhp_anonProcTypeNo32_info_t* scanWhile; | |
_nhp_anonProcTypeNo33_info_t* scanTok; | |
}; | |
struct _nhp_record_constant__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
double num; | |
_nhp_anonProcTypeNo6_info_t* __init__; | |
_nhp_anonProcTypeNo0_info_t* derive; | |
_nhp_anonProcTypeNo7_info_t* print; | |
}; | |
struct _nhp_record_variable__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
_nhp_record_parsing_identifier___t* id; | |
_nhp_anonProcTypeNo4_info_t* __init__; | |
_nhp_anonProcTypeNo0_info_t* derive; | |
_nhp_anonProcTypeNo5_info_t* equals; | |
_nhp_anonProcTypeNo7_info_t* print; | |
}; | |
struct _nhp_record_derivative__ { | |
int _nhp_ref_count; | |
int _nhp_lock; | |
void* _nhp_responsible_destroyer; | |
_nhp_record_variable___t* toDerive; | |
_nhp_record_variable___t* respectTo; | |
long degree; | |
_nhp_anonProcTypeNo12_info_t* __init__; | |
_nhp_anonProcTypeNo7_info_t* print; | |
_nhp_anonProcTypeNo0_info_t* derive; | |
}; | |
_nhp_array_char_t marshal_nhp_array_char(char* buffer, int length); | |
_nhp_array_char_t marshal_proto_nhp_array_char(int length, char proto | |
); | |
_nhp_array__nhp_anonProcTypeNo0_t marshal_nhp_array__nhp_anonProcTypeNo0(_nhp_anonProcTypeNo0_info_t** buffer, int length, void* responsible_destroyer); | |
_nhp_array__nhp_anonProcTypeNo0_t marshal_proto_nhp_array__nhp_anonProcTypeNo0(int length, _nhp_anonProcTypeNo0_info_t* proto | |
, void* responsible_destroyer); | |
_nhp_array__nhp_anonProcTypeNo0_t change_resp_owner_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t array, void* responsible_destroyer); | |
void free_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t to_free); | |
_nhp_array__nhp_anonProcTypeNo0_t copy_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t to_copy | |
, void* responsible_destroyer);_nhp_array__nhp_array_char_t marshal_nhp_array__nhp_array_char(_nhp_array_char_t* buffer, int length); | |
_nhp_array__nhp_array_char_t marshal_proto_nhp_array__nhp_array_char(int length, _nhp_array_char_t proto | |
); | |
void free_nhp_array__nhp_array_char(_nhp_array__nhp_array_char_t to_free); | |
_nhp_array__nhp_array_char_t copy_nhp_array__nhp_array_char(_nhp_array__nhp_array_char_t to_copy | |
);_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_array_char(_nhp_array_char_t option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_char(char option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_int(long option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_dec(double option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_bool(int option); | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_nothing(); | |
_nhp_enum_io_writable___t change_resp_owner_nhp_enum_io_writable__(_nhp_enum_io_writable___t to_mutate, void* responsible_destroyer); | |
void free_enum_nhp_enum_io_writable__(_nhp_enum_io_writable___t _nhp_enum); | |
_nhp_enum_io_writable___t copy_enum_nhp_enum_io_writable__(_nhp_enum_io_writable___t _nhp_enum, void* responsible_destroyer); | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with__nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* option); | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_dec(double option); | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_char(char option); | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_nothing(); | |
_nhp_enum_parsing_token___t change_resp_owner_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t to_mutate, void* responsible_destroyer); | |
void free_enum_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t _nhp_enum); | |
_nhp_enum_parsing_token___t copy_enum_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t _nhp_enum, void* responsible_destroyer); | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_binOp__(_nhp_record_binOp___t* option); | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_constant__(_nhp_record_constant___t* option); | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_variable__(_nhp_record_variable___t* option); | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_derivative__(_nhp_record_derivative___t* option); | |
_nhp_anonProcTypeNo0_info_t* get_derive_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum); | |
_nhp_anonProcTypeNo7_info_t* get_print_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum); | |
_nhp_enum_operand___t change_resp_owner_nhp_enum_operand__(_nhp_enum_operand___t to_mutate, void* responsible_destroyer); | |
void free_enum_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum); | |
_nhp_enum_operand___t copy_enum_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum, void* responsible_destroyer); | |
_nhp_interface_io_stringableObj___t marshal_interface_nhp_interface_io_stringableObj__(_nhp_anonProcTypeNo3_info_t* toString, void* responsibleDestroyer); | |
void free_interface_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface); | |
_nhp_interface_io_stringableObj___t copy_interface_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface, void* responsibleDestroyer); | |
_nhp_interface_io_stringableObj___t change_resp_owner_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface, void* responsibleDestroyer); | |
_nhp_interface_io_writeableObj___t marshal_interface_nhp_interface_io_writeableObj__(_nhp_anonProcTypeNo8_info_t* writeBack, void* responsibleDestroyer); | |
void free_interface_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface); | |
_nhp_interface_io_writeableObj___t copy_interface_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface, void* responsibleDestroyer); | |
_nhp_interface_io_writeableObj___t change_resp_owner_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface, void* responsibleDestroyer); | |
_nhp_record_data_list_char__t* construct__nhp_record_data_list_char_(long param0, void* responsible_destroyer); | |
void free_record_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* child_agent); | |
_nhp_record_data_list_char__t* borrow_record_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* responsible_destroyer); | |
_nhp_record_data_list_char__t* change_resp_owner_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* responsible_destroyer); | |
_nhp_record_io_writer___t* construct__nhp_record_io_writer__(void* param0, void* responsible_destroyer); | |
void free_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* child_agent); | |
_nhp_record_io_writer___t* borrow_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer); | |
_nhp_record_io_writer___t* change_resp_owner_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer); | |
_nhp_record_io_writer___t* copy_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer); | |
_nhp_record_binOp___t* construct__nhp_record_binOp__(_nhp_enum_operand___t param0, _nhp_enum_operand___t param1, long param2, long param3, void* responsible_destroyer); | |
void free_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* child_agent); | |
_nhp_record_binOp___t* borrow_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer); | |
_nhp_record_binOp___t* change_resp_owner_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer); | |
_nhp_record_binOp___t* copy_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_identifier___t* construct__nhp_record_parsing_identifier__(_nhp_array_char_t param0, void* responsible_destroyer); | |
void free_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* child_agent); | |
_nhp_record_parsing_identifier___t* borrow_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_identifier___t* change_resp_owner_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_identifier___t* copy_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_scanner___t* construct__nhp_record_parsing_scanner__(_nhp_array_char_t param0, void* responsible_destroyer); | |
void free_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* child_agent); | |
_nhp_record_parsing_scanner___t* borrow_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_scanner___t* change_resp_owner_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer); | |
_nhp_record_parsing_scanner___t* copy_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer); | |
_nhp_record_constant___t* construct__nhp_record_constant__(double param0, void* responsible_destroyer); | |
void free_record_nhp_record_constant__(_nhp_record_constant___t* record, void* child_agent); | |
_nhp_record_constant___t* borrow_record_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer); | |
_nhp_record_constant___t* change_resp_owner_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer); | |
_nhp_record_constant___t* copy_record_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer); | |
_nhp_record_variable___t* construct__nhp_record_variable__(_nhp_record_parsing_identifier___t* param0, void* responsible_destroyer); | |
void free_record_nhp_record_variable__(_nhp_record_variable___t* record, void* child_agent); | |
_nhp_record_variable___t* borrow_record_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer); | |
_nhp_record_variable___t* change_resp_owner_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer); | |
_nhp_record_variable___t* copy_record_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer); | |
_nhp_record_derivative___t* construct__nhp_record_derivative__(_nhp_record_variable___t* param0, _nhp_record_variable___t* param1, long param2, void* responsible_destroyer); | |
void free_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* child_agent); | |
_nhp_record_derivative___t* borrow_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer); | |
_nhp_record_derivative___t* change_resp_owner_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer); | |
_nhp_record_derivative___t* copy_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer); | |
typedef struct data_list___init___char_as_T_anon_capture_captured data_list___init___char_as_T_anon_capture_captured_t; | |
void data_list___init___char_as_T_anon_capture(data_list___init___char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_capacity) ; | |
_nhp_anonProcTypeNo7_info_t* capture_data_list___init___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list___del___char_as_T_anon_capture_captured data_list___del___char_as_T_anon_capture_captured_t; | |
void data_list___del___char_as_T_anon_capture(data_list___del___char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo15_info_t* capture_data_list___del___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list___copy___char_as_T_anon_capture_captured data_list___copy___char_as_T_anon_capture_captured_t; | |
_nhp_record_data_list_char__t* data_list___copy___char_as_T_anon_capture(data_list___copy___char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo16_info_t* capture_data_list___copy___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_clear_char_as_T_anon_capture_captured data_list_clear_char_as_T_anon_capture_captured_t; | |
void data_list_clear_char_as_T_anon_capture(data_list_clear_char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo15_info_t* capture_data_list_clear_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_getAtIndex_char_as_T_anon_capture_captured data_list_getAtIndex_char_as_T_anon_capture_captured_t; | |
char data_list_getAtIndex_char_as_T_anon_capture(data_list_getAtIndex_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_i) ; | |
_nhp_anonProcTypeNo17_info_t* capture_data_list_getAtIndex_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
char data_list_getAtIndex_char_as_T(long _nhp_var_i, _nhp_record_data_list_char__t* _nhp_var_self); | |
typedef struct data_list_setAtIndex_char_as_T_anon_capture_captured data_list_setAtIndex_char_as_T_anon_capture_captured_t; | |
char data_list_setAtIndex_char_as_T_anon_capture(data_list_setAtIndex_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_i, char _nhp_var_elem) ; | |
_nhp_anonProcTypeNo18_info_t* capture_data_list_setAtIndex_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_add_char_as_T_anon_capture_captured data_list_add_char_as_T_anon_capture_captured_t; | |
_nhp_record_data_list_char__t* data_list_add_char_as_T_anon_capture(data_list_add_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_record_data_list_char__t* _nhp_var_toadd) ; | |
_nhp_anonProcTypeNo19_info_t* capture_data_list_add_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_ensureCapacity_char_as_T_anon_capture_captured data_list_ensureCapacity_char_as_T_anon_capture_captured_t; | |
void data_list_ensureCapacity_char_as_T_anon_capture(data_list_ensureCapacity_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_capacity) ; | |
_nhp_anonProcTypeNo7_info_t* capture_data_list_ensureCapacity_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
void data_list_ensureCapacity_char_as_T(long _nhp_var_capacity, _nhp_record_data_list_char__t* _nhp_var_self); | |
typedef struct data_list_pushFront_char_as_T_anon_capture_captured data_list_pushFront_char_as_T_anon_capture_captured_t; | |
void data_list_pushFront_char_as_T_anon_capture(data_list_pushFront_char_as_T_anon_capture_captured_t* _nhp_captured, char _nhp_var_elem) ; | |
_nhp_anonProcTypeNo11_info_t* capture_data_list_pushFront_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_pushBack_char_as_T_anon_capture_captured data_list_pushBack_char_as_T_anon_capture_captured_t; | |
void data_list_pushBack_char_as_T_anon_capture(data_list_pushBack_char_as_T_anon_capture_captured_t* _nhp_captured, char _nhp_var_elem) ; | |
_nhp_anonProcTypeNo11_info_t* capture_data_list_pushBack_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_insert_char_as_T_anon_capture_captured data_list_insert_char_as_T_anon_capture_captured_t; | |
void data_list_insert_char_as_T_anon_capture(data_list_insert_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_index, char _nhp_var_elem) ; | |
_nhp_anonProcTypeNo21_info_t* capture_data_list_insert_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_addBuffer_char_as_T_anon_capture_captured data_list_addBuffer_char_as_T_anon_capture_captured_t; | |
void data_list_addBuffer_char_as_T_anon_capture(data_list_addBuffer_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var_buf) ; | |
_nhp_anonProcTypeNo1_info_t* capture_data_list_addBuffer_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_addRange_char_as_T_anon_capture_captured data_list_addRange_char_as_T_anon_capture_captured_t; | |
void data_list_addRange_char_as_T_anon_capture(data_list_addRange_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_record_data_list_char__t* _nhp_var_range) ; | |
_nhp_anonProcTypeNo20_info_t* capture_data_list_addRange_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_remove_char_as_T_anon_capture_captured data_list_remove_char_as_T_anon_capture_captured_t; | |
int data_list_remove_char_as_T_anon_capture(data_list_remove_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_compare) ; | |
_nhp_anonProcTypeNo22_info_t* capture_data_list_remove_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_popFront_char_as_T_anon_capture_captured data_list_popFront_char_as_T_anon_capture_captured_t; | |
char data_list_popFront_char_as_T_anon_capture(data_list_popFront_char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo23_info_t* capture_data_list_popFront_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_popBack_char_as_T_anon_capture_captured data_list_popBack_char_as_T_anon_capture_captured_t; | |
char data_list_popBack_char_as_T_anon_capture(data_list_popBack_char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo23_info_t* capture_data_list_popBack_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_toArray_char_as_T_anon_capture_captured data_list_toArray_char_as_T_anon_capture_captured_t; | |
_nhp_array_char_t data_list_toArray_char_as_T_anon_capture(data_list_toArray_char_as_T_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo3_info_t* capture_data_list_toArray_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_forall_char_as_T_anon_capture_captured data_list_forall_char_as_T_anon_capture_captured_t; | |
void data_list_forall_char_as_T_anon_capture(data_list_forall_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo11_info_t* _nhp_var_todo) ; | |
_nhp_anonProcTypeNo24_info_t* capture_data_list_forall_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_sort_char_as_T_anon_capture_captured data_list_sort_char_as_T_anon_capture_captured_t; | |
void data_list_sort_char_as_T_anon_capture(data_list_sort_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo26_info_t* _nhp_var_compare) ; | |
_nhp_anonProcTypeNo25_info_t* capture_data_list_sort_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_map_char_as_T_anon_capture_captured data_list_map_char_as_T_anon_capture_captured_t; | |
_nhp_record_data_list_char__t* data_list_map_char_as_T_anon_capture(data_list_map_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo28_info_t* _nhp_var_transform) ; | |
_nhp_anonProcTypeNo27_info_t* capture_data_list_map_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_filter_char_as_T_anon_capture_captured data_list_filter_char_as_T_anon_capture_captured_t; | |
_nhp_record_data_list_char__t* data_list_filter_char_as_T_anon_capture(data_list_filter_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_keep) ; | |
_nhp_anonProcTypeNo29_info_t* capture_data_list_filter_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct data_list_reduce_char_as_T_anon_capture_captured data_list_reduce_char_as_T_anon_capture_captured_t; | |
char data_list_reduce_char_as_T_anon_capture(data_list_reduce_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo31_info_t* _nhp_var_combine) ; | |
_nhp_anonProcTypeNo30_info_t* capture_data_list_reduce_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct io_writer___init___anon_capture_captured io_writer___init___anon_capture_captured_t; | |
void io_writer___init___anon_capture(io_writer___init___anon_capture_captured_t* _nhp_captured, void* _nhp_var_ptr) ; | |
_nhp_anonProcTypeNo9_info_t* capture_io_writer___init___anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct io_writer_write_anon_capture_captured io_writer_write_anon_capture_captured_t; | |
void io_writer_write_anon_capture(io_writer_write_anon_capture_captured_t* _nhp_captured, _nhp_enum_io_writable___t _nhp_var_towrite) ; | |
_nhp_anonProcTypeNo10_info_t* capture_io_writer_write_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer); | |
void io_writer_write(_nhp_enum_io_writable___t _nhp_var_towrite, _nhp_record_io_writer___t* _nhp_var_self); | |
typedef struct io_writer_writeLine_anon_capture_captured io_writer_writeLine_anon_capture_captured_t; | |
void io_writer_writeLine_anon_capture(io_writer_writeLine_anon_capture_captured_t* _nhp_captured, _nhp_enum_io_writable___t _nhp_var_towrite) ; | |
_nhp_anonProcTypeNo10_info_t* capture_io_writer_writeLine_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct io_writer_writeChar_anon_capture_captured io_writer_writeChar_anon_capture_captured_t; | |
void io_writer_writeChar_anon_capture(io_writer_writeChar_anon_capture_captured_t* _nhp_captured, char _nhp_var_b) ; | |
_nhp_anonProcTypeNo11_info_t* capture_io_writer_writeChar_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer); | |
_nhp_record_io_writer___t* io_output(); | |
void io_print(_nhp_enum_io_writable___t _nhp_var_toWrite); | |
_nhp_record_binOp___t* arithop_add(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs); | |
_nhp_record_binOp___t* arithop_sub(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs); | |
_nhp_record_binOp___t* arithop_mul(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs); | |
_nhp_record_binOp___t* arithop_div(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs); | |
_nhp_record_binOp___t* arithop_pow(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs); | |
_nhp_record_binOp___t* arithop_ln(_nhp_enum_operand___t _nhp_var_a); | |
_nhp_record_binOp___t* arithop_negate(_nhp_enum_operand___t _nhp_var_a); | |
typedef struct binOp___init___anon_capture_captured binOp___init___anon_capture_captured_t; | |
void binOp___init___anon_capture(binOp___init___anon_capture_captured_t* _nhp_captured, _nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs, long _nhp_var_op, long _nhp_var_prec) ; | |
_nhp_anonProcTypeNo13_info_t* capture_binOp___init___anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_deriveAdd_anon_capture_captured binOp_deriveAdd_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_deriveAdd_anon_capture(binOp_deriveAdd_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveAdd_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_deriveSub_anon_capture_captured binOp_deriveSub_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_deriveSub_anon_capture(binOp_deriveSub_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveSub_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_deriveMul_anon_capture_captured binOp_deriveMul_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_deriveMul_anon_capture(binOp_deriveMul_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveMul_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_deriveDiv_anon_capture_captured binOp_deriveDiv_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_deriveDiv_anon_capture(binOp_deriveDiv_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveDiv_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_derivePow_anon_capture_captured binOp_derivePow_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_derivePow_anon_capture(binOp_derivePow_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_derivePow_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_deriveLog_anon_capture_captured binOp_deriveLog_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_deriveLog_anon_capture(binOp_deriveLog_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveLog_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct binOp_derive_anon_capture_captured binOp_derive_anon_capture_captured_t; | |
_nhp_enum_operand___t binOp_derive_anon_capture(binOp_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_derive_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
void binOp_print_printNoParen(_nhp_record_binOp___t* _nhp_var_self); | |
typedef struct binOp_print_anon_capture_captured binOp_print_anon_capture_captured_t; | |
void binOp_print_anon_capture(binOp_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) ; | |
_nhp_anonProcTypeNo7_info_t* capture_binOp_print_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer); | |
long hash_dj2b(_nhp_array_char_t _nhp_var_str); | |
long arrayUtils_contains_char_as_T(_nhp_array_char_t _nhp_var_buf, _nhp_anonProcTypeNo14_info_t* _nhp_var_predicate); | |
typedef struct parsing_identifier___init___anon_capture_captured parsing_identifier___init___anon_capture_captured_t; | |
void parsing_identifier___init___anon_capture(parsing_identifier___init___anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var_id) ; | |
_nhp_anonProcTypeNo1_info_t* capture_parsing_identifier___init___anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct parsing_identifier_equals_anon_capture_captured parsing_identifier_equals_anon_capture_captured_t; | |
int parsing_identifier_equals_anon_capture(parsing_identifier_equals_anon_capture_captured_t* _nhp_captured, _nhp_record_parsing_identifier___t* _nhp_var_id) ; | |
_nhp_anonProcTypeNo2_info_t* capture_parsing_identifier_equals_anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct parsing_identifier_toString_anon_capture_captured parsing_identifier_toString_anon_capture_captured_t; | |
_nhp_array_char_t parsing_identifier_toString_anon_capture(parsing_identifier_toString_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo3_info_t* capture_parsing_identifier_toString_anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct parsing_scanner___init___anon_capture_captured parsing_scanner___init___anon_capture_captured_t; | |
void parsing_scanner___init___anon_capture(parsing_scanner___init___anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var__buffer) ; | |
_nhp_anonProcTypeNo1_info_t* capture_parsing_scanner___init___anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer); | |
char parsing_scanner_scanChar(_nhp_record_parsing_scanner___t* _nhp_var_self); | |
typedef struct parsing_scanner_scanChar_anon_capture_captured parsing_scanner_scanChar_anon_capture_captured_t; | |
char parsing_scanner_scanChar_anon_capture(parsing_scanner_scanChar_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo23_info_t* capture_parsing_scanner_scanChar_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer); | |
_nhp_array_char_t parsing_scanner_scanWhile(_nhp_anonProcTypeNo14_info_t* _nhp_var_cond, int _nhp_var_nullTerminate, _nhp_record_parsing_scanner___t* _nhp_var_self); | |
typedef struct parsing_scanner_scanWhile_anon_capture_captured parsing_scanner_scanWhile_anon_capture_captured_t; | |
_nhp_array_char_t parsing_scanner_scanWhile_anon_capture(parsing_scanner_scanWhile_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_cond, int _nhp_var_nullTerminate) ; | |
_nhp_anonProcTypeNo32_info_t* capture_parsing_scanner_scanWhile_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer); | |
_nhp_enum_parsing_token___t parsing_scanner_scanTok(_nhp_record_parsing_scanner___t* _nhp_var_self); | |
typedef struct parsing_scanner_scanTok_anon_capture_captured parsing_scanner_scanTok_anon_capture_captured_t; | |
_nhp_enum_parsing_token___t parsing_scanner_scanTok_anon_capture(parsing_scanner_scanTok_anon_capture_captured_t* _nhp_captured) ; | |
_nhp_anonProcTypeNo33_info_t* capture_parsing_scanner_scanTok_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer); | |
void parsing_parseExpression_matchCharTok(char _nhp_var_expectedChar, _nhp_record_parsing_scanner___t* _nhp_var_s); | |
_nhp_enum_operand___t parsing_parseExpression_parseValue(_nhp_record_parsing_scanner___t* _nhp_var_s); | |
_nhp_enum_operand___t parsing_parseExpression(_nhp_record_parsing_scanner___t* _nhp_var_s, long _nhp_var_minprec); | |
_nhp_enum_operand___t parse(_nhp_array_char_t _nhp_var_src); | |
typedef struct constant___init___anon_capture_captured constant___init___anon_capture_captured_t; | |
void constant___init___anon_capture(constant___init___anon_capture_captured_t* _nhp_captured, double _nhp_var_num) ; | |
_nhp_anonProcTypeNo6_info_t* capture_constant___init___anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct constant_derive_anon_capture_captured constant_derive_anon_capture_captured_t; | |
_nhp_enum_operand___t constant_derive_anon_capture(constant_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_constant_derive_anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct constant_print_anon_capture_captured constant_print_anon_capture_captured_t; | |
void constant_print_anon_capture(constant_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) ; | |
_nhp_anonProcTypeNo7_info_t* capture_constant_print_anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct variable___init___anon_capture_captured variable___init___anon_capture_captured_t; | |
void variable___init___anon_capture(variable___init___anon_capture_captured_t* _nhp_captured, _nhp_record_parsing_identifier___t* _nhp_var_id) ; | |
_nhp_anonProcTypeNo4_info_t* capture_variable___init___anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct variable_derive_anon_capture_captured variable_derive_anon_capture_captured_t; | |
_nhp_enum_operand___t variable_derive_anon_capture(variable_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_variable_derive_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct variable_equals_anon_capture_captured variable_equals_anon_capture_captured_t; | |
int variable_equals_anon_capture(variable_equals_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_var) ; | |
_nhp_anonProcTypeNo5_info_t* capture_variable_equals_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct variable_print_anon_capture_captured variable_print_anon_capture_captured_t; | |
void variable_print_anon_capture(variable_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) ; | |
_nhp_anonProcTypeNo7_info_t* capture_variable_print_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct derivative___init___anon_capture_captured derivative___init___anon_capture_captured_t; | |
void derivative___init___anon_capture(derivative___init___anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_toDerive, _nhp_record_variable___t* _nhp_var_respectTo, long _nhp_var_degree) ; | |
_nhp_anonProcTypeNo12_info_t* capture_derivative___init___anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer); | |
void derivative_print_printDeg(_nhp_record_derivative___t* _nhp_var_self); | |
typedef struct derivative_print_anon_capture_captured derivative_print_anon_capture_captured_t; | |
void derivative_print_anon_capture(derivative_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) ; | |
_nhp_anonProcTypeNo7_info_t* capture_derivative_print_anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer); | |
typedef struct derivative_derive_anon_capture_captured derivative_derive_anon_capture_captured_t; | |
_nhp_enum_operand___t derivative_derive_anon_capture(derivative_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) ; | |
_nhp_anonProcTypeNo0_info_t* capture_derivative_derive_anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer); | |
_nhp_record_constant___t* constants_e(); | |
_nhp_record_constant___t* constants_zero(); | |
void main(); | |
typedef struct parsing_scanner_scanTok_lambdaNo0_anon_capture_captured parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t; | |
int parsing_scanner_scanTok_lambdaNo0_anon_capture(parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) ; | |
_nhp_anonProcTypeNo14_info_t* capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(void* responsible_destroyer); | |
typedef struct scanTok_lambdaNo1_anon_capture_captured scanTok_lambdaNo1_anon_capture_captured_t; | |
int scanTok_lambdaNo1_anon_capture(scanTok_lambdaNo1_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) ; | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo1_anon_capture(void* responsible_destroyer); | |
typedef struct scanTok_lambdaNo2_anon_capture_captured scanTok_lambdaNo2_anon_capture_captured_t; | |
int scanTok_lambdaNo2_anon_capture(scanTok_lambdaNo2_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) ; | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo2_anon_capture(void* responsible_destroyer); | |
typedef struct scanTok_lambdaNo3_anon_capture_captured scanTok_lambdaNo3_anon_capture_captured_t; | |
int scanTok_lambdaNo3_anon_capture(scanTok_lambdaNo3_anon_capture_captured_t* _nhp_captured, char _nhp_var_a) ; | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo3_anon_capture(char _nhp_var_sym, void* responsible_destroyer); | |
typedef struct parseExpression_lambdaNo0_anon_capture_captured parseExpression_lambdaNo0_anon_capture_captured_t; | |
int parseExpression_lambdaNo0_anon_capture(parseExpression_lambdaNo0_anon_capture_captured_t* _nhp_captured, char _nhp_var_a) ; | |
_nhp_anonProcTypeNo14_info_t* capture_parseExpression_lambdaNo0_anon_capture(char _nhp_var_opTok, void* responsible_destroyer); | |
struct parsing_identifier___init___anon_capture_captured { | |
_nhp_anonProcTypeNo1_t _nhp_this_anon; | |
_nhp_anonProcTypeNo1_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo1_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_identifier___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_identifier_equals_anon_capture_captured { | |
_nhp_anonProcTypeNo2_t _nhp_this_anon; | |
_nhp_anonProcTypeNo2_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo2_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo2_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo2_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_identifier___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_identifier_toString_anon_capture_captured { | |
_nhp_anonProcTypeNo3_t _nhp_this_anon; | |
_nhp_anonProcTypeNo3_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo3_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_identifier___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct variable___init___anon_capture_captured { | |
_nhp_anonProcTypeNo4_t _nhp_this_anon; | |
_nhp_anonProcTypeNo4_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo4_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo4_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo4_record_copier_t _nhp_resp_mutator; | |
_nhp_record_variable___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct constant___init___anon_capture_captured { | |
_nhp_anonProcTypeNo6_t _nhp_this_anon; | |
_nhp_anonProcTypeNo6_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo6_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo6_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo6_record_copier_t _nhp_resp_mutator; | |
_nhp_record_constant___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct constant_derive_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_constant___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct io_writer___init___anon_capture_captured { | |
_nhp_anonProcTypeNo9_t _nhp_this_anon; | |
_nhp_anonProcTypeNo9_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo9_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo9_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo9_record_copier_t _nhp_resp_mutator; | |
_nhp_record_io_writer___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct io_writer_write_anon_capture_captured { | |
_nhp_anonProcTypeNo10_t _nhp_this_anon; | |
_nhp_anonProcTypeNo10_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo10_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_resp_mutator; | |
_nhp_record_io_writer___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct io_writer_writeLine_anon_capture_captured { | |
_nhp_anonProcTypeNo10_t _nhp_this_anon; | |
_nhp_anonProcTypeNo10_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo10_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo10_record_copier_t _nhp_resp_mutator; | |
_nhp_record_io_writer___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct io_writer_writeChar_anon_capture_captured { | |
_nhp_anonProcTypeNo11_t _nhp_this_anon; | |
_nhp_anonProcTypeNo11_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo11_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_resp_mutator; | |
_nhp_record_io_writer___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct constant_print_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_constant___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct derivative___init___anon_capture_captured { | |
_nhp_anonProcTypeNo12_t _nhp_this_anon; | |
_nhp_anonProcTypeNo12_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo12_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo12_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo12_record_copier_t _nhp_resp_mutator; | |
_nhp_record_derivative___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct derivative_print_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_derivative___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct derivative_derive_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_derivative___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct variable_derive_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_variable___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct variable_equals_anon_capture_captured { | |
_nhp_anonProcTypeNo5_t _nhp_this_anon; | |
_nhp_anonProcTypeNo5_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo5_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo5_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo5_record_copier_t _nhp_resp_mutator; | |
_nhp_record_variable___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct variable_print_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_variable___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_deriveAdd_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_deriveSub_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_deriveMul_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_deriveDiv_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_derivePow_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_deriveLog_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp___init___anon_capture_captured { | |
_nhp_anonProcTypeNo13_t _nhp_this_anon; | |
_nhp_anonProcTypeNo13_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo13_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo13_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo13_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_derive_anon_capture_captured { | |
_nhp_anonProcTypeNo0_t _nhp_this_anon; | |
_nhp_anonProcTypeNo0_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo0_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo0_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct binOp_print_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_binOp___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list___init___char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list___del___char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo15_t _nhp_this_anon; | |
_nhp_anonProcTypeNo15_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo15_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list___copy___char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo16_t _nhp_this_anon; | |
_nhp_anonProcTypeNo16_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo16_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo16_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo16_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_clear_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo15_t _nhp_this_anon; | |
_nhp_anonProcTypeNo15_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo15_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo15_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_getAtIndex_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo17_t _nhp_this_anon; | |
_nhp_anonProcTypeNo17_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo17_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo17_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo17_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_setAtIndex_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo18_t _nhp_this_anon; | |
_nhp_anonProcTypeNo18_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo18_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo18_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo18_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_add_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo19_t _nhp_this_anon; | |
_nhp_anonProcTypeNo19_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo19_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo19_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo19_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_ensureCapacity_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo7_t _nhp_this_anon; | |
_nhp_anonProcTypeNo7_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo7_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo7_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_pushFront_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo11_t _nhp_this_anon; | |
_nhp_anonProcTypeNo11_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo11_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_pushBack_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo11_t _nhp_this_anon; | |
_nhp_anonProcTypeNo11_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo11_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo11_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_insert_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo21_t _nhp_this_anon; | |
_nhp_anonProcTypeNo21_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo21_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo21_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo21_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_addBuffer_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo1_t _nhp_this_anon; | |
_nhp_anonProcTypeNo1_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo1_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_addRange_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo20_t _nhp_this_anon; | |
_nhp_anonProcTypeNo20_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo20_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo20_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo20_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_remove_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo22_t _nhp_this_anon; | |
_nhp_anonProcTypeNo22_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo22_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo22_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo22_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_popFront_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo23_t _nhp_this_anon; | |
_nhp_anonProcTypeNo23_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo23_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_popBack_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo23_t _nhp_this_anon; | |
_nhp_anonProcTypeNo23_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo23_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_toArray_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo3_t _nhp_this_anon; | |
_nhp_anonProcTypeNo3_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo3_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo3_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_forall_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo24_t _nhp_this_anon; | |
_nhp_anonProcTypeNo24_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo24_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo24_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo24_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_sort_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo25_t _nhp_this_anon; | |
_nhp_anonProcTypeNo25_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo25_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo25_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo25_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_map_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo27_t _nhp_this_anon; | |
_nhp_anonProcTypeNo27_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo27_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo27_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo27_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_filter_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo29_t _nhp_this_anon; | |
_nhp_anonProcTypeNo29_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo29_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo29_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo29_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct data_list_reduce_char_as_T_anon_capture_captured { | |
_nhp_anonProcTypeNo30_t _nhp_this_anon; | |
_nhp_anonProcTypeNo30_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo30_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo30_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo30_record_copier_t _nhp_resp_mutator; | |
_nhp_record_data_list_char__t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_scanner_scanTok_lambdaNo0_anon_capture_captured { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct scanTok_lambdaNo1_anon_capture_captured { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct scanTok_lambdaNo2_anon_capture_captured { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct scanTok_lambdaNo3_anon_capture_captured { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
char _nhp_var_sym; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_scanner___init___anon_capture_captured { | |
_nhp_anonProcTypeNo1_t _nhp_this_anon; | |
_nhp_anonProcTypeNo1_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo1_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo1_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_scanner___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_scanner_scanChar_anon_capture_captured { | |
_nhp_anonProcTypeNo23_t _nhp_this_anon; | |
_nhp_anonProcTypeNo23_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo23_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo23_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_scanner___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_scanner_scanWhile_anon_capture_captured { | |
_nhp_anonProcTypeNo32_t _nhp_this_anon; | |
_nhp_anonProcTypeNo32_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo32_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo32_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo32_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_scanner___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parsing_scanner_scanTok_anon_capture_captured { | |
_nhp_anonProcTypeNo33_t _nhp_this_anon; | |
_nhp_anonProcTypeNo33_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo33_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo33_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo33_record_copier_t _nhp_resp_mutator; | |
_nhp_record_parsing_scanner___t* _nhp_var_self; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
struct parseExpression_lambdaNo0_anon_capture_captured { | |
_nhp_anonProcTypeNo14_t _nhp_this_anon; | |
_nhp_anonProcTypeNo14_destructor_t _nhp_destructor; | |
_nhp_anonProcTypeNo14_copier_t _nhp_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_record_copier; | |
_nhp_anonProcTypeNo14_record_copier_t _nhp_resp_mutator; | |
char _nhp_var_opTok; | |
int _nhp_lock; | |
void* _nhp_child_agent; | |
}; | |
void freeparsing_identifier___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_free_anon) { | |
parsing_identifier___init___anon_capture_captured_t* to_free = (parsing_identifier___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_identifier__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo1_info_t* copyparsing_identifier___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_identifier___init___anon_capture_captured_t* to_copy = (parsing_identifier___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* record_copyparsing_identifier___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_identifier___init___anon_capture_captured_t* to_copy = (parsing_identifier___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier___init___anon_capture(((_nhp_record_parsing_identifier___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* change_resp_ownerparsing_identifier___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_identifier___init___anon_capture_captured_t* closure = (parsing_identifier___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_identifier__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo1_info_t* capture_parsing_identifier___init___anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_identifier___init___anon_capture_captured_t* closure = malloc(sizeof(parsing_identifier___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo1_t)(&parsing_identifier___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo1_destructor_t)(&freeparsing_identifier___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo1_copier_t)(©parsing_identifier___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo1_record_copier_t)(&record_copyparsing_identifier___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo1_record_copier_t)(&change_resp_ownerparsing_identifier___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_identifier__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
void freeparsing_identifier_equals_anon_capture(_nhp_anonProcTypeNo2_info_t* to_free_anon) { | |
parsing_identifier_equals_anon_capture_captured_t* to_free = (parsing_identifier_equals_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_identifier__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo2_info_t* copyparsing_identifier_equals_anon_capture(_nhp_anonProcTypeNo2_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_identifier_equals_anon_capture_captured_t* to_copy = (parsing_identifier_equals_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier_equals_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo2_info_t* record_copyparsing_identifier_equals_anon_capture(_nhp_anonProcTypeNo2_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_identifier_equals_anon_capture_captured_t* to_copy = (parsing_identifier_equals_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier_equals_anon_capture(((_nhp_record_parsing_identifier___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo2_info_t* change_resp_ownerparsing_identifier_equals_anon_capture(_nhp_anonProcTypeNo2_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_identifier_equals_anon_capture_captured_t* closure = (parsing_identifier_equals_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo2_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_identifier__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo2_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo2_info_t* capture_parsing_identifier_equals_anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_identifier_equals_anon_capture_captured_t* closure = malloc(sizeof(parsing_identifier_equals_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo2_t)(&parsing_identifier_equals_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo2_destructor_t)(&freeparsing_identifier_equals_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo2_copier_t)(©parsing_identifier_equals_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo2_record_copier_t)(&record_copyparsing_identifier_equals_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo2_record_copier_t)(&change_resp_ownerparsing_identifier_equals_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_identifier__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo2_info_t*)closure; | |
} | |
void freeparsing_identifier_toString_anon_capture(_nhp_anonProcTypeNo3_info_t* to_free_anon) { | |
parsing_identifier_toString_anon_capture_captured_t* to_free = (parsing_identifier_toString_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_identifier__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo3_info_t* copyparsing_identifier_toString_anon_capture(_nhp_anonProcTypeNo3_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_identifier_toString_anon_capture_captured_t* to_copy = (parsing_identifier_toString_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier_toString_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo3_info_t* record_copyparsing_identifier_toString_anon_capture(_nhp_anonProcTypeNo3_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_identifier_toString_anon_capture_captured_t* to_copy = (parsing_identifier_toString_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_identifier_toString_anon_capture(((_nhp_record_parsing_identifier___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo3_info_t* change_resp_ownerparsing_identifier_toString_anon_capture(_nhp_anonProcTypeNo3_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_identifier_toString_anon_capture_captured_t* closure = (parsing_identifier_toString_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_identifier__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo3_info_t* capture_parsing_identifier_toString_anon_capture(_nhp_record_parsing_identifier___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_identifier_toString_anon_capture_captured_t* closure = malloc(sizeof(parsing_identifier_toString_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo3_t)(&parsing_identifier_toString_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo3_destructor_t)(&freeparsing_identifier_toString_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo3_copier_t)(©parsing_identifier_toString_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo3_record_copier_t)(&record_copyparsing_identifier_toString_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo3_record_copier_t)(&change_resp_ownerparsing_identifier_toString_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_identifier__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
} | |
void freevariable___init___anon_capture(_nhp_anonProcTypeNo4_info_t* to_free_anon) { | |
variable___init___anon_capture_captured_t* to_free = (variable___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_variable__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo4_info_t* copyvariable___init___anon_capture(_nhp_anonProcTypeNo4_info_t* to_copy_anon, void* responsible_destroyer) { | |
variable___init___anon_capture_captured_t* to_copy = (variable___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_variable___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo4_info_t* record_copyvariable___init___anon_capture(_nhp_anonProcTypeNo4_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
variable___init___anon_capture_captured_t* to_copy = (variable___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_variable___init___anon_capture(((_nhp_record_variable___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo4_info_t* change_resp_ownervariable___init___anon_capture(_nhp_anonProcTypeNo4_info_t* to_mutate, void* responsible_destroyer) { | |
variable___init___anon_capture_captured_t* closure = (variable___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo4_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_variable__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo4_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo4_info_t* capture_variable___init___anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer) { | |
variable___init___anon_capture_captured_t* closure = malloc(sizeof(variable___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo4_t)(&variable___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo4_destructor_t)(&freevariable___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo4_copier_t)(©variable___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo4_record_copier_t)(&record_copyvariable___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo4_record_copier_t)(&change_resp_ownervariable___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_variable__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo4_info_t*)closure; | |
} | |
void freeconstant___init___anon_capture(_nhp_anonProcTypeNo6_info_t* to_free_anon) { | |
constant___init___anon_capture_captured_t* to_free = (constant___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_constant__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo6_info_t* copyconstant___init___anon_capture(_nhp_anonProcTypeNo6_info_t* to_copy_anon, void* responsible_destroyer) { | |
constant___init___anon_capture_captured_t* to_copy = (constant___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_constant___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo6_info_t* record_copyconstant___init___anon_capture(_nhp_anonProcTypeNo6_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
constant___init___anon_capture_captured_t* to_copy = (constant___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_constant___init___anon_capture(((_nhp_record_constant___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo6_info_t* change_resp_ownerconstant___init___anon_capture(_nhp_anonProcTypeNo6_info_t* to_mutate, void* responsible_destroyer) { | |
constant___init___anon_capture_captured_t* closure = (constant___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo6_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_constant__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo6_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo6_info_t* capture_constant___init___anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer) { | |
constant___init___anon_capture_captured_t* closure = malloc(sizeof(constant___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo6_t)(&constant___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo6_destructor_t)(&freeconstant___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo6_copier_t)(©constant___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo6_record_copier_t)(&record_copyconstant___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo6_record_copier_t)(&change_resp_ownerconstant___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_constant__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo6_info_t*)closure; | |
} | |
void freeconstant_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
constant_derive_anon_capture_captured_t* to_free = (constant_derive_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_constant__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copyconstant_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
constant_derive_anon_capture_captured_t* to_copy = (constant_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_constant_derive_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copyconstant_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
constant_derive_anon_capture_captured_t* to_copy = (constant_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_constant_derive_anon_capture(((_nhp_record_constant___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerconstant_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
constant_derive_anon_capture_captured_t* closure = (constant_derive_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_constant__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_constant_derive_anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer) { | |
constant_derive_anon_capture_captured_t* closure = malloc(sizeof(constant_derive_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&constant_derive_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freeconstant_derive_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©constant_derive_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copyconstant_derive_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerconstant_derive_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_constant__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freeio_writer___init___anon_capture(_nhp_anonProcTypeNo9_info_t* to_free_anon) { | |
io_writer___init___anon_capture_captured_t* to_free = (io_writer___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_io_writer__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo9_info_t* copyio_writer___init___anon_capture(_nhp_anonProcTypeNo9_info_t* to_copy_anon, void* responsible_destroyer) { | |
io_writer___init___anon_capture_captured_t* to_copy = (io_writer___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo9_info_t* record_copyio_writer___init___anon_capture(_nhp_anonProcTypeNo9_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
io_writer___init___anon_capture_captured_t* to_copy = (io_writer___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer___init___anon_capture(((_nhp_record_io_writer___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo9_info_t* change_resp_ownerio_writer___init___anon_capture(_nhp_anonProcTypeNo9_info_t* to_mutate, void* responsible_destroyer) { | |
io_writer___init___anon_capture_captured_t* closure = (io_writer___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo9_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_io_writer__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo9_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo9_info_t* capture_io_writer___init___anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer) { | |
io_writer___init___anon_capture_captured_t* closure = malloc(sizeof(io_writer___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo9_t)(&io_writer___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo9_destructor_t)(&freeio_writer___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo9_copier_t)(©io_writer___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo9_record_copier_t)(&record_copyio_writer___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo9_record_copier_t)(&change_resp_ownerio_writer___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_io_writer__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo9_info_t*)closure; | |
} | |
void freeio_writer_write_anon_capture(_nhp_anonProcTypeNo10_info_t* to_free_anon) { | |
io_writer_write_anon_capture_captured_t* to_free = (io_writer_write_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_io_writer__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo10_info_t* copyio_writer_write_anon_capture(_nhp_anonProcTypeNo10_info_t* to_copy_anon, void* responsible_destroyer) { | |
io_writer_write_anon_capture_captured_t* to_copy = (io_writer_write_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_write_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo10_info_t* record_copyio_writer_write_anon_capture(_nhp_anonProcTypeNo10_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
io_writer_write_anon_capture_captured_t* to_copy = (io_writer_write_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_write_anon_capture(((_nhp_record_io_writer___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo10_info_t* change_resp_ownerio_writer_write_anon_capture(_nhp_anonProcTypeNo10_info_t* to_mutate, void* responsible_destroyer) { | |
io_writer_write_anon_capture_captured_t* closure = (io_writer_write_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_io_writer__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo10_info_t* capture_io_writer_write_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer) { | |
io_writer_write_anon_capture_captured_t* closure = malloc(sizeof(io_writer_write_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo10_t)(&io_writer_write_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo10_destructor_t)(&freeio_writer_write_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo10_copier_t)(©io_writer_write_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo10_record_copier_t)(&record_copyio_writer_write_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo10_record_copier_t)(&change_resp_ownerio_writer_write_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_io_writer__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
} | |
void freeio_writer_writeLine_anon_capture(_nhp_anonProcTypeNo10_info_t* to_free_anon) { | |
io_writer_writeLine_anon_capture_captured_t* to_free = (io_writer_writeLine_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_io_writer__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo10_info_t* copyio_writer_writeLine_anon_capture(_nhp_anonProcTypeNo10_info_t* to_copy_anon, void* responsible_destroyer) { | |
io_writer_writeLine_anon_capture_captured_t* to_copy = (io_writer_writeLine_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_writeLine_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo10_info_t* record_copyio_writer_writeLine_anon_capture(_nhp_anonProcTypeNo10_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
io_writer_writeLine_anon_capture_captured_t* to_copy = (io_writer_writeLine_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_writeLine_anon_capture(((_nhp_record_io_writer___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo10_info_t* change_resp_ownerio_writer_writeLine_anon_capture(_nhp_anonProcTypeNo10_info_t* to_mutate, void* responsible_destroyer) { | |
io_writer_writeLine_anon_capture_captured_t* closure = (io_writer_writeLine_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_io_writer__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo10_info_t* capture_io_writer_writeLine_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer) { | |
io_writer_writeLine_anon_capture_captured_t* closure = malloc(sizeof(io_writer_writeLine_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo10_t)(&io_writer_writeLine_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo10_destructor_t)(&freeio_writer_writeLine_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo10_copier_t)(©io_writer_writeLine_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo10_record_copier_t)(&record_copyio_writer_writeLine_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo10_record_copier_t)(&change_resp_ownerio_writer_writeLine_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_io_writer__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo10_info_t*)closure; | |
} | |
void freeio_writer_writeChar_anon_capture(_nhp_anonProcTypeNo11_info_t* to_free_anon) { | |
io_writer_writeChar_anon_capture_captured_t* to_free = (io_writer_writeChar_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_io_writer__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo11_info_t* copyio_writer_writeChar_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, void* responsible_destroyer) { | |
io_writer_writeChar_anon_capture_captured_t* to_copy = (io_writer_writeChar_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_writeChar_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* record_copyio_writer_writeChar_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
io_writer_writeChar_anon_capture_captured_t* to_copy = (io_writer_writeChar_anon_capture_captured_t*)to_copy_anon; | |
return capture_io_writer_writeChar_anon_capture(((_nhp_record_io_writer___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* change_resp_ownerio_writer_writeChar_anon_capture(_nhp_anonProcTypeNo11_info_t* to_mutate, void* responsible_destroyer) { | |
io_writer_writeChar_anon_capture_captured_t* closure = (io_writer_writeChar_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_io_writer__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo11_info_t* capture_io_writer_writeChar_anon_capture(_nhp_record_io_writer___t* _nhp_var_self, void* responsible_destroyer) { | |
io_writer_writeChar_anon_capture_captured_t* closure = malloc(sizeof(io_writer_writeChar_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo11_t)(&io_writer_writeChar_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo11_destructor_t)(&freeio_writer_writeChar_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo11_copier_t)(©io_writer_writeChar_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo11_record_copier_t)(&record_copyio_writer_writeChar_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo11_record_copier_t)(&change_resp_ownerio_writer_writeChar_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_io_writer__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
void freeconstant_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
constant_print_anon_capture_captured_t* to_free = (constant_print_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_constant__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copyconstant_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
constant_print_anon_capture_captured_t* to_copy = (constant_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_constant_print_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copyconstant_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
constant_print_anon_capture_captured_t* to_copy = (constant_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_constant_print_anon_capture(((_nhp_record_constant___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownerconstant_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
constant_print_anon_capture_captured_t* closure = (constant_print_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_constant__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_constant_print_anon_capture(_nhp_record_constant___t* _nhp_var_self, void* responsible_destroyer) { | |
constant_print_anon_capture_captured_t* closure = malloc(sizeof(constant_print_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&constant_print_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freeconstant_print_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©constant_print_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copyconstant_print_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownerconstant_print_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_constant__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freederivative___init___anon_capture(_nhp_anonProcTypeNo12_info_t* to_free_anon) { | |
derivative___init___anon_capture_captured_t* to_free = (derivative___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_derivative__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo12_info_t* copyderivative___init___anon_capture(_nhp_anonProcTypeNo12_info_t* to_copy_anon, void* responsible_destroyer) { | |
derivative___init___anon_capture_captured_t* to_copy = (derivative___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo12_info_t* record_copyderivative___init___anon_capture(_nhp_anonProcTypeNo12_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
derivative___init___anon_capture_captured_t* to_copy = (derivative___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative___init___anon_capture(((_nhp_record_derivative___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo12_info_t* change_resp_ownerderivative___init___anon_capture(_nhp_anonProcTypeNo12_info_t* to_mutate, void* responsible_destroyer) { | |
derivative___init___anon_capture_captured_t* closure = (derivative___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo12_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_derivative__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo12_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo12_info_t* capture_derivative___init___anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer) { | |
derivative___init___anon_capture_captured_t* closure = malloc(sizeof(derivative___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo12_t)(&derivative___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo12_destructor_t)(&freederivative___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo12_copier_t)(©derivative___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo12_record_copier_t)(&record_copyderivative___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo12_record_copier_t)(&change_resp_ownerderivative___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_derivative__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo12_info_t*)closure; | |
} | |
void freederivative_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
derivative_print_anon_capture_captured_t* to_free = (derivative_print_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_derivative__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copyderivative_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
derivative_print_anon_capture_captured_t* to_copy = (derivative_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative_print_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copyderivative_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
derivative_print_anon_capture_captured_t* to_copy = (derivative_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative_print_anon_capture(((_nhp_record_derivative___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownerderivative_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
derivative_print_anon_capture_captured_t* closure = (derivative_print_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_derivative__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_derivative_print_anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer) { | |
derivative_print_anon_capture_captured_t* closure = malloc(sizeof(derivative_print_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&derivative_print_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freederivative_print_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©derivative_print_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copyderivative_print_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownerderivative_print_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_derivative__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freederivative_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
derivative_derive_anon_capture_captured_t* to_free = (derivative_derive_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_derivative__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copyderivative_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
derivative_derive_anon_capture_captured_t* to_copy = (derivative_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative_derive_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copyderivative_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
derivative_derive_anon_capture_captured_t* to_copy = (derivative_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_derivative_derive_anon_capture(((_nhp_record_derivative___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerderivative_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
derivative_derive_anon_capture_captured_t* closure = (derivative_derive_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_derivative__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_derivative_derive_anon_capture(_nhp_record_derivative___t* _nhp_var_self, void* responsible_destroyer) { | |
derivative_derive_anon_capture_captured_t* closure = malloc(sizeof(derivative_derive_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&derivative_derive_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freederivative_derive_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©derivative_derive_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copyderivative_derive_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerderivative_derive_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_derivative__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freevariable_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
variable_derive_anon_capture_captured_t* to_free = (variable_derive_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_variable__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copyvariable_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
variable_derive_anon_capture_captured_t* to_copy = (variable_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_derive_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copyvariable_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
variable_derive_anon_capture_captured_t* to_copy = (variable_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_derive_anon_capture(((_nhp_record_variable___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownervariable_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
variable_derive_anon_capture_captured_t* closure = (variable_derive_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_variable__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_variable_derive_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer) { | |
variable_derive_anon_capture_captured_t* closure = malloc(sizeof(variable_derive_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&variable_derive_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freevariable_derive_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©variable_derive_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copyvariable_derive_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownervariable_derive_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_variable__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freevariable_equals_anon_capture(_nhp_anonProcTypeNo5_info_t* to_free_anon) { | |
variable_equals_anon_capture_captured_t* to_free = (variable_equals_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_variable__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo5_info_t* copyvariable_equals_anon_capture(_nhp_anonProcTypeNo5_info_t* to_copy_anon, void* responsible_destroyer) { | |
variable_equals_anon_capture_captured_t* to_copy = (variable_equals_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_equals_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo5_info_t* record_copyvariable_equals_anon_capture(_nhp_anonProcTypeNo5_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
variable_equals_anon_capture_captured_t* to_copy = (variable_equals_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_equals_anon_capture(((_nhp_record_variable___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo5_info_t* change_resp_ownervariable_equals_anon_capture(_nhp_anonProcTypeNo5_info_t* to_mutate, void* responsible_destroyer) { | |
variable_equals_anon_capture_captured_t* closure = (variable_equals_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo5_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_variable__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo5_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo5_info_t* capture_variable_equals_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer) { | |
variable_equals_anon_capture_captured_t* closure = malloc(sizeof(variable_equals_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo5_t)(&variable_equals_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo5_destructor_t)(&freevariable_equals_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo5_copier_t)(©variable_equals_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo5_record_copier_t)(&record_copyvariable_equals_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo5_record_copier_t)(&change_resp_ownervariable_equals_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_variable__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo5_info_t*)closure; | |
} | |
void freevariable_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
variable_print_anon_capture_captured_t* to_free = (variable_print_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_variable__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copyvariable_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
variable_print_anon_capture_captured_t* to_copy = (variable_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_print_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copyvariable_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
variable_print_anon_capture_captured_t* to_copy = (variable_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_variable_print_anon_capture(((_nhp_record_variable___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownervariable_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
variable_print_anon_capture_captured_t* closure = (variable_print_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_variable__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_variable_print_anon_capture(_nhp_record_variable___t* _nhp_var_self, void* responsible_destroyer) { | |
variable_print_anon_capture_captured_t* closure = malloc(sizeof(variable_print_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&variable_print_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freevariable_print_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©variable_print_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copyvariable_print_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownervariable_print_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_variable__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freebinOp_deriveAdd_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_deriveAdd_anon_capture_captured_t* to_free = (binOp_deriveAdd_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_deriveAdd_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_deriveAdd_anon_capture_captured_t* to_copy = (binOp_deriveAdd_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveAdd_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_deriveAdd_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_deriveAdd_anon_capture_captured_t* to_copy = (binOp_deriveAdd_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveAdd_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_deriveAdd_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_deriveAdd_anon_capture_captured_t* closure = (binOp_deriveAdd_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveAdd_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_deriveAdd_anon_capture_captured_t* closure = malloc(sizeof(binOp_deriveAdd_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_deriveAdd_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_deriveAdd_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_deriveAdd_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_deriveAdd_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_deriveAdd_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_deriveSub_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_deriveSub_anon_capture_captured_t* to_free = (binOp_deriveSub_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_deriveSub_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_deriveSub_anon_capture_captured_t* to_copy = (binOp_deriveSub_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveSub_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_deriveSub_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_deriveSub_anon_capture_captured_t* to_copy = (binOp_deriveSub_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveSub_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_deriveSub_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_deriveSub_anon_capture_captured_t* closure = (binOp_deriveSub_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveSub_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_deriveSub_anon_capture_captured_t* closure = malloc(sizeof(binOp_deriveSub_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_deriveSub_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_deriveSub_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_deriveSub_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_deriveSub_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_deriveSub_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_deriveMul_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_deriveMul_anon_capture_captured_t* to_free = (binOp_deriveMul_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_deriveMul_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_deriveMul_anon_capture_captured_t* to_copy = (binOp_deriveMul_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveMul_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_deriveMul_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_deriveMul_anon_capture_captured_t* to_copy = (binOp_deriveMul_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveMul_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_deriveMul_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_deriveMul_anon_capture_captured_t* closure = (binOp_deriveMul_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveMul_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_deriveMul_anon_capture_captured_t* closure = malloc(sizeof(binOp_deriveMul_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_deriveMul_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_deriveMul_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_deriveMul_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_deriveMul_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_deriveMul_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_deriveDiv_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_deriveDiv_anon_capture_captured_t* to_free = (binOp_deriveDiv_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_deriveDiv_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_deriveDiv_anon_capture_captured_t* to_copy = (binOp_deriveDiv_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveDiv_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_deriveDiv_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_deriveDiv_anon_capture_captured_t* to_copy = (binOp_deriveDiv_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveDiv_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_deriveDiv_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_deriveDiv_anon_capture_captured_t* closure = (binOp_deriveDiv_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveDiv_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_deriveDiv_anon_capture_captured_t* closure = malloc(sizeof(binOp_deriveDiv_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_deriveDiv_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_deriveDiv_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_deriveDiv_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_deriveDiv_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_deriveDiv_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_derivePow_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_derivePow_anon_capture_captured_t* to_free = (binOp_derivePow_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_derivePow_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_derivePow_anon_capture_captured_t* to_copy = (binOp_derivePow_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_derivePow_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_derivePow_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_derivePow_anon_capture_captured_t* to_copy = (binOp_derivePow_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_derivePow_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_derivePow_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_derivePow_anon_capture_captured_t* closure = (binOp_derivePow_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_derivePow_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_derivePow_anon_capture_captured_t* closure = malloc(sizeof(binOp_derivePow_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_derivePow_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_derivePow_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_derivePow_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_derivePow_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_derivePow_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_deriveLog_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_deriveLog_anon_capture_captured_t* to_free = (binOp_deriveLog_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_deriveLog_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_deriveLog_anon_capture_captured_t* to_copy = (binOp_deriveLog_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveLog_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_deriveLog_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_deriveLog_anon_capture_captured_t* to_copy = (binOp_deriveLog_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_deriveLog_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_deriveLog_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_deriveLog_anon_capture_captured_t* closure = (binOp_deriveLog_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_deriveLog_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_deriveLog_anon_capture_captured_t* closure = malloc(sizeof(binOp_deriveLog_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_deriveLog_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_deriveLog_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_deriveLog_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_deriveLog_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_deriveLog_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp___init___anon_capture(_nhp_anonProcTypeNo13_info_t* to_free_anon) { | |
binOp___init___anon_capture_captured_t* to_free = (binOp___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo13_info_t* copybinOp___init___anon_capture(_nhp_anonProcTypeNo13_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp___init___anon_capture_captured_t* to_copy = (binOp___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo13_info_t* record_copybinOp___init___anon_capture(_nhp_anonProcTypeNo13_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp___init___anon_capture_captured_t* to_copy = (binOp___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp___init___anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo13_info_t* change_resp_ownerbinOp___init___anon_capture(_nhp_anonProcTypeNo13_info_t* to_mutate, void* responsible_destroyer) { | |
binOp___init___anon_capture_captured_t* closure = (binOp___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo13_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo13_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo13_info_t* capture_binOp___init___anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp___init___anon_capture_captured_t* closure = malloc(sizeof(binOp___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo13_t)(&binOp___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo13_destructor_t)(&freebinOp___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo13_copier_t)(©binOp___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo13_record_copier_t)(&record_copybinOp___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo13_record_copier_t)(&change_resp_ownerbinOp___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo13_info_t*)closure; | |
} | |
void freebinOp_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_free_anon) { | |
binOp_derive_anon_capture_captured_t* to_free = (binOp_derive_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo0_info_t* copybinOp_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_derive_anon_capture_captured_t* to_copy = (binOp_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_derive_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* record_copybinOp_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_derive_anon_capture_captured_t* to_copy = (binOp_derive_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_derive_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo0_info_t* change_resp_ownerbinOp_derive_anon_capture(_nhp_anonProcTypeNo0_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_derive_anon_capture_captured_t* closure = (binOp_derive_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo0_info_t* capture_binOp_derive_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_derive_anon_capture_captured_t* closure = malloc(sizeof(binOp_derive_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo0_t)(&binOp_derive_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo0_destructor_t)(&freebinOp_derive_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo0_copier_t)(©binOp_derive_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo0_record_copier_t)(&record_copybinOp_derive_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo0_record_copier_t)(&change_resp_ownerbinOp_derive_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo0_info_t*)closure; | |
} | |
void freebinOp_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
binOp_print_anon_capture_captured_t* to_free = (binOp_print_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_binOp__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copybinOp_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
binOp_print_anon_capture_captured_t* to_copy = (binOp_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_print_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copybinOp_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
binOp_print_anon_capture_captured_t* to_copy = (binOp_print_anon_capture_captured_t*)to_copy_anon; | |
return capture_binOp_print_anon_capture(((_nhp_record_binOp___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownerbinOp_print_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
binOp_print_anon_capture_captured_t* closure = (binOp_print_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_binOp__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_binOp_print_anon_capture(_nhp_record_binOp___t* _nhp_var_self, void* responsible_destroyer) { | |
binOp_print_anon_capture_captured_t* closure = malloc(sizeof(binOp_print_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&binOp_print_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freebinOp_print_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©binOp_print_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copybinOp_print_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownerbinOp_print_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_binOp__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freedata_list___init___char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
data_list___init___char_as_T_anon_capture_captured_t* to_free = (data_list___init___char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copydata_list___init___char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list___init___char_as_T_anon_capture_captured_t* to_copy = (data_list___init___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___init___char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copydata_list___init___char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list___init___char_as_T_anon_capture_captured_t* to_copy = (data_list___init___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___init___char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownerdata_list___init___char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
data_list___init___char_as_T_anon_capture_captured_t* closure = (data_list___init___char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_data_list___init___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list___init___char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list___init___char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&data_list___init___char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freedata_list___init___char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©data_list___init___char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copydata_list___init___char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownerdata_list___init___char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freedata_list___del___char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_free_anon) { | |
data_list___del___char_as_T_anon_capture_captured_t* to_free = (data_list___del___char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo15_info_t* copydata_list___del___char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list___del___char_as_T_anon_capture_captured_t* to_copy = (data_list___del___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___del___char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo15_info_t* record_copydata_list___del___char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list___del___char_as_T_anon_capture_captured_t* to_copy = (data_list___del___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___del___char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo15_info_t* change_resp_ownerdata_list___del___char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_mutate, void* responsible_destroyer) { | |
data_list___del___char_as_T_anon_capture_captured_t* closure = (data_list___del___char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo15_info_t* capture_data_list___del___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list___del___char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list___del___char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo15_t)(&data_list___del___char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo15_destructor_t)(&freedata_list___del___char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo15_copier_t)(©data_list___del___char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo15_record_copier_t)(&record_copydata_list___del___char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo15_record_copier_t)(&change_resp_ownerdata_list___del___char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
} | |
void freedata_list___copy___char_as_T_anon_capture(_nhp_anonProcTypeNo16_info_t* to_free_anon) { | |
data_list___copy___char_as_T_anon_capture_captured_t* to_free = (data_list___copy___char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo16_info_t* copydata_list___copy___char_as_T_anon_capture(_nhp_anonProcTypeNo16_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list___copy___char_as_T_anon_capture_captured_t* to_copy = (data_list___copy___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___copy___char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo16_info_t* record_copydata_list___copy___char_as_T_anon_capture(_nhp_anonProcTypeNo16_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list___copy___char_as_T_anon_capture_captured_t* to_copy = (data_list___copy___char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list___copy___char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo16_info_t* change_resp_ownerdata_list___copy___char_as_T_anon_capture(_nhp_anonProcTypeNo16_info_t* to_mutate, void* responsible_destroyer) { | |
data_list___copy___char_as_T_anon_capture_captured_t* closure = (data_list___copy___char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo16_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo16_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo16_info_t* capture_data_list___copy___char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list___copy___char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list___copy___char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo16_t)(&data_list___copy___char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo16_destructor_t)(&freedata_list___copy___char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo16_copier_t)(©data_list___copy___char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo16_record_copier_t)(&record_copydata_list___copy___char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo16_record_copier_t)(&change_resp_ownerdata_list___copy___char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo16_info_t*)closure; | |
} | |
void freedata_list_clear_char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_free_anon) { | |
data_list_clear_char_as_T_anon_capture_captured_t* to_free = (data_list_clear_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo15_info_t* copydata_list_clear_char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_clear_char_as_T_anon_capture_captured_t* to_copy = (data_list_clear_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_clear_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo15_info_t* record_copydata_list_clear_char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_clear_char_as_T_anon_capture_captured_t* to_copy = (data_list_clear_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_clear_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo15_info_t* change_resp_ownerdata_list_clear_char_as_T_anon_capture(_nhp_anonProcTypeNo15_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_clear_char_as_T_anon_capture_captured_t* closure = (data_list_clear_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo15_info_t* capture_data_list_clear_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_clear_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_clear_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo15_t)(&data_list_clear_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo15_destructor_t)(&freedata_list_clear_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo15_copier_t)(©data_list_clear_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo15_record_copier_t)(&record_copydata_list_clear_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo15_record_copier_t)(&change_resp_ownerdata_list_clear_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo15_info_t*)closure; | |
} | |
void freedata_list_getAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo17_info_t* to_free_anon) { | |
data_list_getAtIndex_char_as_T_anon_capture_captured_t* to_free = (data_list_getAtIndex_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo17_info_t* copydata_list_getAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo17_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_getAtIndex_char_as_T_anon_capture_captured_t* to_copy = (data_list_getAtIndex_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_getAtIndex_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo17_info_t* record_copydata_list_getAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo17_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_getAtIndex_char_as_T_anon_capture_captured_t* to_copy = (data_list_getAtIndex_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_getAtIndex_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo17_info_t* change_resp_ownerdata_list_getAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo17_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_getAtIndex_char_as_T_anon_capture_captured_t* closure = (data_list_getAtIndex_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo17_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo17_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo17_info_t* capture_data_list_getAtIndex_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_getAtIndex_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_getAtIndex_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo17_t)(&data_list_getAtIndex_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo17_destructor_t)(&freedata_list_getAtIndex_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo17_copier_t)(©data_list_getAtIndex_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo17_record_copier_t)(&record_copydata_list_getAtIndex_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo17_record_copier_t)(&change_resp_ownerdata_list_getAtIndex_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo17_info_t*)closure; | |
} | |
void freedata_list_setAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo18_info_t* to_free_anon) { | |
data_list_setAtIndex_char_as_T_anon_capture_captured_t* to_free = (data_list_setAtIndex_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo18_info_t* copydata_list_setAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo18_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_setAtIndex_char_as_T_anon_capture_captured_t* to_copy = (data_list_setAtIndex_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_setAtIndex_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo18_info_t* record_copydata_list_setAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo18_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_setAtIndex_char_as_T_anon_capture_captured_t* to_copy = (data_list_setAtIndex_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_setAtIndex_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo18_info_t* change_resp_ownerdata_list_setAtIndex_char_as_T_anon_capture(_nhp_anonProcTypeNo18_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_setAtIndex_char_as_T_anon_capture_captured_t* closure = (data_list_setAtIndex_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo18_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo18_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo18_info_t* capture_data_list_setAtIndex_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_setAtIndex_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_setAtIndex_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo18_t)(&data_list_setAtIndex_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo18_destructor_t)(&freedata_list_setAtIndex_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo18_copier_t)(©data_list_setAtIndex_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo18_record_copier_t)(&record_copydata_list_setAtIndex_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo18_record_copier_t)(&change_resp_ownerdata_list_setAtIndex_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo18_info_t*)closure; | |
} | |
void freedata_list_add_char_as_T_anon_capture(_nhp_anonProcTypeNo19_info_t* to_free_anon) { | |
data_list_add_char_as_T_anon_capture_captured_t* to_free = (data_list_add_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo19_info_t* copydata_list_add_char_as_T_anon_capture(_nhp_anonProcTypeNo19_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_add_char_as_T_anon_capture_captured_t* to_copy = (data_list_add_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_add_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo19_info_t* record_copydata_list_add_char_as_T_anon_capture(_nhp_anonProcTypeNo19_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_add_char_as_T_anon_capture_captured_t* to_copy = (data_list_add_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_add_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo19_info_t* change_resp_ownerdata_list_add_char_as_T_anon_capture(_nhp_anonProcTypeNo19_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_add_char_as_T_anon_capture_captured_t* closure = (data_list_add_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo19_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo19_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo19_info_t* capture_data_list_add_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_add_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_add_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo19_t)(&data_list_add_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo19_destructor_t)(&freedata_list_add_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo19_copier_t)(©data_list_add_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo19_record_copier_t)(&record_copydata_list_add_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo19_record_copier_t)(&change_resp_ownerdata_list_add_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo19_info_t*)closure; | |
} | |
void freedata_list_ensureCapacity_char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_free_anon) { | |
data_list_ensureCapacity_char_as_T_anon_capture_captured_t* to_free = (data_list_ensureCapacity_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo7_info_t* copydata_list_ensureCapacity_char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_ensureCapacity_char_as_T_anon_capture_captured_t* to_copy = (data_list_ensureCapacity_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_ensureCapacity_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* record_copydata_list_ensureCapacity_char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_ensureCapacity_char_as_T_anon_capture_captured_t* to_copy = (data_list_ensureCapacity_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_ensureCapacity_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo7_info_t* change_resp_ownerdata_list_ensureCapacity_char_as_T_anon_capture(_nhp_anonProcTypeNo7_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_ensureCapacity_char_as_T_anon_capture_captured_t* closure = (data_list_ensureCapacity_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo7_info_t* capture_data_list_ensureCapacity_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_ensureCapacity_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_ensureCapacity_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo7_t)(&data_list_ensureCapacity_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo7_destructor_t)(&freedata_list_ensureCapacity_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo7_copier_t)(©data_list_ensureCapacity_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo7_record_copier_t)(&record_copydata_list_ensureCapacity_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo7_record_copier_t)(&change_resp_ownerdata_list_ensureCapacity_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo7_info_t*)closure; | |
} | |
void freedata_list_pushFront_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_free_anon) { | |
data_list_pushFront_char_as_T_anon_capture_captured_t* to_free = (data_list_pushFront_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo11_info_t* copydata_list_pushFront_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_pushFront_char_as_T_anon_capture_captured_t* to_copy = (data_list_pushFront_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_pushFront_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* record_copydata_list_pushFront_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_pushFront_char_as_T_anon_capture_captured_t* to_copy = (data_list_pushFront_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_pushFront_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* change_resp_ownerdata_list_pushFront_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_pushFront_char_as_T_anon_capture_captured_t* closure = (data_list_pushFront_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo11_info_t* capture_data_list_pushFront_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_pushFront_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_pushFront_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo11_t)(&data_list_pushFront_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo11_destructor_t)(&freedata_list_pushFront_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo11_copier_t)(©data_list_pushFront_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo11_record_copier_t)(&record_copydata_list_pushFront_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo11_record_copier_t)(&change_resp_ownerdata_list_pushFront_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
void freedata_list_pushBack_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_free_anon) { | |
data_list_pushBack_char_as_T_anon_capture_captured_t* to_free = (data_list_pushBack_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo11_info_t* copydata_list_pushBack_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_pushBack_char_as_T_anon_capture_captured_t* to_copy = (data_list_pushBack_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_pushBack_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* record_copydata_list_pushBack_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_pushBack_char_as_T_anon_capture_captured_t* to_copy = (data_list_pushBack_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_pushBack_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo11_info_t* change_resp_ownerdata_list_pushBack_char_as_T_anon_capture(_nhp_anonProcTypeNo11_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_pushBack_char_as_T_anon_capture_captured_t* closure = (data_list_pushBack_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo11_info_t* capture_data_list_pushBack_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_pushBack_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_pushBack_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo11_t)(&data_list_pushBack_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo11_destructor_t)(&freedata_list_pushBack_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo11_copier_t)(©data_list_pushBack_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo11_record_copier_t)(&record_copydata_list_pushBack_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo11_record_copier_t)(&change_resp_ownerdata_list_pushBack_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo11_info_t*)closure; | |
} | |
void freedata_list_insert_char_as_T_anon_capture(_nhp_anonProcTypeNo21_info_t* to_free_anon) { | |
data_list_insert_char_as_T_anon_capture_captured_t* to_free = (data_list_insert_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo21_info_t* copydata_list_insert_char_as_T_anon_capture(_nhp_anonProcTypeNo21_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_insert_char_as_T_anon_capture_captured_t* to_copy = (data_list_insert_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_insert_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo21_info_t* record_copydata_list_insert_char_as_T_anon_capture(_nhp_anonProcTypeNo21_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_insert_char_as_T_anon_capture_captured_t* to_copy = (data_list_insert_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_insert_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo21_info_t* change_resp_ownerdata_list_insert_char_as_T_anon_capture(_nhp_anonProcTypeNo21_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_insert_char_as_T_anon_capture_captured_t* closure = (data_list_insert_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo21_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo21_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo21_info_t* capture_data_list_insert_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_insert_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_insert_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo21_t)(&data_list_insert_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo21_destructor_t)(&freedata_list_insert_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo21_copier_t)(©data_list_insert_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo21_record_copier_t)(&record_copydata_list_insert_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo21_record_copier_t)(&change_resp_ownerdata_list_insert_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo21_info_t*)closure; | |
} | |
void freedata_list_addBuffer_char_as_T_anon_capture(_nhp_anonProcTypeNo1_info_t* to_free_anon) { | |
data_list_addBuffer_char_as_T_anon_capture_captured_t* to_free = (data_list_addBuffer_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo1_info_t* copydata_list_addBuffer_char_as_T_anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_addBuffer_char_as_T_anon_capture_captured_t* to_copy = (data_list_addBuffer_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_addBuffer_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* record_copydata_list_addBuffer_char_as_T_anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_addBuffer_char_as_T_anon_capture_captured_t* to_copy = (data_list_addBuffer_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_addBuffer_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* change_resp_ownerdata_list_addBuffer_char_as_T_anon_capture(_nhp_anonProcTypeNo1_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_addBuffer_char_as_T_anon_capture_captured_t* closure = (data_list_addBuffer_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo1_info_t* capture_data_list_addBuffer_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_addBuffer_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_addBuffer_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo1_t)(&data_list_addBuffer_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo1_destructor_t)(&freedata_list_addBuffer_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo1_copier_t)(©data_list_addBuffer_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo1_record_copier_t)(&record_copydata_list_addBuffer_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo1_record_copier_t)(&change_resp_ownerdata_list_addBuffer_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
void freedata_list_addRange_char_as_T_anon_capture(_nhp_anonProcTypeNo20_info_t* to_free_anon) { | |
data_list_addRange_char_as_T_anon_capture_captured_t* to_free = (data_list_addRange_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo20_info_t* copydata_list_addRange_char_as_T_anon_capture(_nhp_anonProcTypeNo20_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_addRange_char_as_T_anon_capture_captured_t* to_copy = (data_list_addRange_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_addRange_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo20_info_t* record_copydata_list_addRange_char_as_T_anon_capture(_nhp_anonProcTypeNo20_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_addRange_char_as_T_anon_capture_captured_t* to_copy = (data_list_addRange_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_addRange_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo20_info_t* change_resp_ownerdata_list_addRange_char_as_T_anon_capture(_nhp_anonProcTypeNo20_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_addRange_char_as_T_anon_capture_captured_t* closure = (data_list_addRange_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo20_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo20_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo20_info_t* capture_data_list_addRange_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_addRange_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_addRange_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo20_t)(&data_list_addRange_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo20_destructor_t)(&freedata_list_addRange_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo20_copier_t)(©data_list_addRange_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo20_record_copier_t)(&record_copydata_list_addRange_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo20_record_copier_t)(&change_resp_ownerdata_list_addRange_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo20_info_t*)closure; | |
} | |
void freedata_list_remove_char_as_T_anon_capture(_nhp_anonProcTypeNo22_info_t* to_free_anon) { | |
data_list_remove_char_as_T_anon_capture_captured_t* to_free = (data_list_remove_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo22_info_t* copydata_list_remove_char_as_T_anon_capture(_nhp_anonProcTypeNo22_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_remove_char_as_T_anon_capture_captured_t* to_copy = (data_list_remove_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_remove_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo22_info_t* record_copydata_list_remove_char_as_T_anon_capture(_nhp_anonProcTypeNo22_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_remove_char_as_T_anon_capture_captured_t* to_copy = (data_list_remove_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_remove_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo22_info_t* change_resp_ownerdata_list_remove_char_as_T_anon_capture(_nhp_anonProcTypeNo22_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_remove_char_as_T_anon_capture_captured_t* closure = (data_list_remove_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo22_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo22_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo22_info_t* capture_data_list_remove_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_remove_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_remove_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo22_t)(&data_list_remove_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo22_destructor_t)(&freedata_list_remove_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo22_copier_t)(©data_list_remove_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo22_record_copier_t)(&record_copydata_list_remove_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo22_record_copier_t)(&change_resp_ownerdata_list_remove_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo22_info_t*)closure; | |
} | |
void freedata_list_popFront_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_free_anon) { | |
data_list_popFront_char_as_T_anon_capture_captured_t* to_free = (data_list_popFront_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo23_info_t* copydata_list_popFront_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_popFront_char_as_T_anon_capture_captured_t* to_copy = (data_list_popFront_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_popFront_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* record_copydata_list_popFront_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_popFront_char_as_T_anon_capture_captured_t* to_copy = (data_list_popFront_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_popFront_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* change_resp_ownerdata_list_popFront_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_popFront_char_as_T_anon_capture_captured_t* closure = (data_list_popFront_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo23_info_t* capture_data_list_popFront_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_popFront_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_popFront_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo23_t)(&data_list_popFront_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo23_destructor_t)(&freedata_list_popFront_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo23_copier_t)(©data_list_popFront_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo23_record_copier_t)(&record_copydata_list_popFront_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo23_record_copier_t)(&change_resp_ownerdata_list_popFront_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
void freedata_list_popBack_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_free_anon) { | |
data_list_popBack_char_as_T_anon_capture_captured_t* to_free = (data_list_popBack_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo23_info_t* copydata_list_popBack_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_popBack_char_as_T_anon_capture_captured_t* to_copy = (data_list_popBack_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_popBack_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* record_copydata_list_popBack_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_popBack_char_as_T_anon_capture_captured_t* to_copy = (data_list_popBack_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_popBack_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* change_resp_ownerdata_list_popBack_char_as_T_anon_capture(_nhp_anonProcTypeNo23_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_popBack_char_as_T_anon_capture_captured_t* closure = (data_list_popBack_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo23_info_t* capture_data_list_popBack_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_popBack_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_popBack_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo23_t)(&data_list_popBack_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo23_destructor_t)(&freedata_list_popBack_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo23_copier_t)(©data_list_popBack_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo23_record_copier_t)(&record_copydata_list_popBack_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo23_record_copier_t)(&change_resp_ownerdata_list_popBack_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
void freedata_list_toArray_char_as_T_anon_capture(_nhp_anonProcTypeNo3_info_t* to_free_anon) { | |
data_list_toArray_char_as_T_anon_capture_captured_t* to_free = (data_list_toArray_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo3_info_t* copydata_list_toArray_char_as_T_anon_capture(_nhp_anonProcTypeNo3_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_toArray_char_as_T_anon_capture_captured_t* to_copy = (data_list_toArray_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_toArray_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo3_info_t* record_copydata_list_toArray_char_as_T_anon_capture(_nhp_anonProcTypeNo3_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_toArray_char_as_T_anon_capture_captured_t* to_copy = (data_list_toArray_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_toArray_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo3_info_t* change_resp_ownerdata_list_toArray_char_as_T_anon_capture(_nhp_anonProcTypeNo3_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_toArray_char_as_T_anon_capture_captured_t* closure = (data_list_toArray_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo3_info_t* capture_data_list_toArray_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_toArray_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_toArray_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo3_t)(&data_list_toArray_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo3_destructor_t)(&freedata_list_toArray_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo3_copier_t)(©data_list_toArray_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo3_record_copier_t)(&record_copydata_list_toArray_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo3_record_copier_t)(&change_resp_ownerdata_list_toArray_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo3_info_t*)closure; | |
} | |
void freedata_list_forall_char_as_T_anon_capture(_nhp_anonProcTypeNo24_info_t* to_free_anon) { | |
data_list_forall_char_as_T_anon_capture_captured_t* to_free = (data_list_forall_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo24_info_t* copydata_list_forall_char_as_T_anon_capture(_nhp_anonProcTypeNo24_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_forall_char_as_T_anon_capture_captured_t* to_copy = (data_list_forall_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_forall_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo24_info_t* record_copydata_list_forall_char_as_T_anon_capture(_nhp_anonProcTypeNo24_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_forall_char_as_T_anon_capture_captured_t* to_copy = (data_list_forall_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_forall_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo24_info_t* change_resp_ownerdata_list_forall_char_as_T_anon_capture(_nhp_anonProcTypeNo24_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_forall_char_as_T_anon_capture_captured_t* closure = (data_list_forall_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo24_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo24_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo24_info_t* capture_data_list_forall_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_forall_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_forall_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo24_t)(&data_list_forall_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo24_destructor_t)(&freedata_list_forall_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo24_copier_t)(©data_list_forall_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo24_record_copier_t)(&record_copydata_list_forall_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo24_record_copier_t)(&change_resp_ownerdata_list_forall_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo24_info_t*)closure; | |
} | |
void freedata_list_sort_char_as_T_anon_capture(_nhp_anonProcTypeNo25_info_t* to_free_anon) { | |
data_list_sort_char_as_T_anon_capture_captured_t* to_free = (data_list_sort_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo25_info_t* copydata_list_sort_char_as_T_anon_capture(_nhp_anonProcTypeNo25_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_sort_char_as_T_anon_capture_captured_t* to_copy = (data_list_sort_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_sort_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo25_info_t* record_copydata_list_sort_char_as_T_anon_capture(_nhp_anonProcTypeNo25_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_sort_char_as_T_anon_capture_captured_t* to_copy = (data_list_sort_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_sort_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo25_info_t* change_resp_ownerdata_list_sort_char_as_T_anon_capture(_nhp_anonProcTypeNo25_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_sort_char_as_T_anon_capture_captured_t* closure = (data_list_sort_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo25_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo25_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo25_info_t* capture_data_list_sort_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_sort_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_sort_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo25_t)(&data_list_sort_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo25_destructor_t)(&freedata_list_sort_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo25_copier_t)(©data_list_sort_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo25_record_copier_t)(&record_copydata_list_sort_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo25_record_copier_t)(&change_resp_ownerdata_list_sort_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo25_info_t*)closure; | |
} | |
void freedata_list_map_char_as_T_anon_capture(_nhp_anonProcTypeNo27_info_t* to_free_anon) { | |
data_list_map_char_as_T_anon_capture_captured_t* to_free = (data_list_map_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo27_info_t* copydata_list_map_char_as_T_anon_capture(_nhp_anonProcTypeNo27_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_map_char_as_T_anon_capture_captured_t* to_copy = (data_list_map_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_map_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo27_info_t* record_copydata_list_map_char_as_T_anon_capture(_nhp_anonProcTypeNo27_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_map_char_as_T_anon_capture_captured_t* to_copy = (data_list_map_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_map_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo27_info_t* change_resp_ownerdata_list_map_char_as_T_anon_capture(_nhp_anonProcTypeNo27_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_map_char_as_T_anon_capture_captured_t* closure = (data_list_map_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo27_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo27_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo27_info_t* capture_data_list_map_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_map_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_map_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo27_t)(&data_list_map_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo27_destructor_t)(&freedata_list_map_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo27_copier_t)(©data_list_map_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo27_record_copier_t)(&record_copydata_list_map_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo27_record_copier_t)(&change_resp_ownerdata_list_map_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo27_info_t*)closure; | |
} | |
void freedata_list_filter_char_as_T_anon_capture(_nhp_anonProcTypeNo29_info_t* to_free_anon) { | |
data_list_filter_char_as_T_anon_capture_captured_t* to_free = (data_list_filter_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo29_info_t* copydata_list_filter_char_as_T_anon_capture(_nhp_anonProcTypeNo29_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_filter_char_as_T_anon_capture_captured_t* to_copy = (data_list_filter_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_filter_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo29_info_t* record_copydata_list_filter_char_as_T_anon_capture(_nhp_anonProcTypeNo29_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_filter_char_as_T_anon_capture_captured_t* to_copy = (data_list_filter_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_filter_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo29_info_t* change_resp_ownerdata_list_filter_char_as_T_anon_capture(_nhp_anonProcTypeNo29_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_filter_char_as_T_anon_capture_captured_t* closure = (data_list_filter_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo29_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo29_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo29_info_t* capture_data_list_filter_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_filter_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_filter_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo29_t)(&data_list_filter_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo29_destructor_t)(&freedata_list_filter_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo29_copier_t)(©data_list_filter_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo29_record_copier_t)(&record_copydata_list_filter_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo29_record_copier_t)(&change_resp_ownerdata_list_filter_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo29_info_t*)closure; | |
} | |
void freedata_list_reduce_char_as_T_anon_capture(_nhp_anonProcTypeNo30_info_t* to_free_anon) { | |
data_list_reduce_char_as_T_anon_capture_captured_t* to_free = (data_list_reduce_char_as_T_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_data_list_char_(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo30_info_t* copydata_list_reduce_char_as_T_anon_capture(_nhp_anonProcTypeNo30_info_t* to_copy_anon, void* responsible_destroyer) { | |
data_list_reduce_char_as_T_anon_capture_captured_t* to_copy = (data_list_reduce_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_reduce_char_as_T_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo30_info_t* record_copydata_list_reduce_char_as_T_anon_capture(_nhp_anonProcTypeNo30_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
data_list_reduce_char_as_T_anon_capture_captured_t* to_copy = (data_list_reduce_char_as_T_anon_capture_captured_t*)to_copy_anon; | |
return capture_data_list_reduce_char_as_T_anon_capture(((_nhp_record_data_list_char__t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo30_info_t* change_resp_ownerdata_list_reduce_char_as_T_anon_capture(_nhp_anonProcTypeNo30_info_t* to_mutate, void* responsible_destroyer) { | |
data_list_reduce_char_as_T_anon_capture_captured_t* closure = (data_list_reduce_char_as_T_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo30_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_data_list_char_(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo30_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo30_info_t* capture_data_list_reduce_char_as_T_anon_capture(_nhp_record_data_list_char__t* _nhp_var_self, void* responsible_destroyer) { | |
data_list_reduce_char_as_T_anon_capture_captured_t* closure = malloc(sizeof(data_list_reduce_char_as_T_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo30_t)(&data_list_reduce_char_as_T_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo30_destructor_t)(&freedata_list_reduce_char_as_T_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo30_copier_t)(©data_list_reduce_char_as_T_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo30_record_copier_t)(&record_copydata_list_reduce_char_as_T_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo30_record_copier_t)(&change_resp_ownerdata_list_reduce_char_as_T_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_data_list_char_(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo30_info_t*)closure; | |
} | |
void freeparsing_scanner_scanTok_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_free_anon) { | |
parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* to_free = (parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo14_info_t* copyparsing_scanner_scanTok_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* to_copy = (parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* record_copyparsing_scanner_scanTok_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* to_copy = (parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* change_resp_ownerparsing_scanner_scanTok_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* closure = (parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo14_info_t* capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(void* responsible_destroyer) { | |
parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* closure = malloc(sizeof(parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo14_t)(&parsing_scanner_scanTok_lambdaNo0_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo14_destructor_t)(&freeparsing_scanner_scanTok_lambdaNo0_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo14_copier_t)(©parsing_scanner_scanTok_lambdaNo0_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo14_record_copier_t)(&record_copyparsing_scanner_scanTok_lambdaNo0_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo14_record_copier_t)(&change_resp_ownerparsing_scanner_scanTok_lambdaNo0_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
void freescanTok_lambdaNo1_anon_capture(_nhp_anonProcTypeNo14_info_t* to_free_anon) { | |
scanTok_lambdaNo1_anon_capture_captured_t* to_free = (scanTok_lambdaNo1_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo14_info_t* copyscanTok_lambdaNo1_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, void* responsible_destroyer) { | |
scanTok_lambdaNo1_anon_capture_captured_t* to_copy = (scanTok_lambdaNo1_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo1_anon_capture(responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* record_copyscanTok_lambdaNo1_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
scanTok_lambdaNo1_anon_capture_captured_t* to_copy = (scanTok_lambdaNo1_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo1_anon_capture(record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* change_resp_ownerscanTok_lambdaNo1_anon_capture(_nhp_anonProcTypeNo14_info_t* to_mutate, void* responsible_destroyer) { | |
scanTok_lambdaNo1_anon_capture_captured_t* closure = (scanTok_lambdaNo1_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo1_anon_capture(void* responsible_destroyer) { | |
scanTok_lambdaNo1_anon_capture_captured_t* closure = malloc(sizeof(scanTok_lambdaNo1_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo14_t)(&scanTok_lambdaNo1_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo14_destructor_t)(&freescanTok_lambdaNo1_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo14_copier_t)(©scanTok_lambdaNo1_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo14_record_copier_t)(&record_copyscanTok_lambdaNo1_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo14_record_copier_t)(&change_resp_ownerscanTok_lambdaNo1_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
void freescanTok_lambdaNo2_anon_capture(_nhp_anonProcTypeNo14_info_t* to_free_anon) { | |
scanTok_lambdaNo2_anon_capture_captured_t* to_free = (scanTok_lambdaNo2_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo14_info_t* copyscanTok_lambdaNo2_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, void* responsible_destroyer) { | |
scanTok_lambdaNo2_anon_capture_captured_t* to_copy = (scanTok_lambdaNo2_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo2_anon_capture(responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* record_copyscanTok_lambdaNo2_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
scanTok_lambdaNo2_anon_capture_captured_t* to_copy = (scanTok_lambdaNo2_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo2_anon_capture(record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* change_resp_ownerscanTok_lambdaNo2_anon_capture(_nhp_anonProcTypeNo14_info_t* to_mutate, void* responsible_destroyer) { | |
scanTok_lambdaNo2_anon_capture_captured_t* closure = (scanTok_lambdaNo2_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo2_anon_capture(void* responsible_destroyer) { | |
scanTok_lambdaNo2_anon_capture_captured_t* closure = malloc(sizeof(scanTok_lambdaNo2_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo14_t)(&scanTok_lambdaNo2_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo14_destructor_t)(&freescanTok_lambdaNo2_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo14_copier_t)(©scanTok_lambdaNo2_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo14_record_copier_t)(&record_copyscanTok_lambdaNo2_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo14_record_copier_t)(&change_resp_ownerscanTok_lambdaNo2_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
void freescanTok_lambdaNo3_anon_capture(_nhp_anonProcTypeNo14_info_t* to_free_anon) { | |
scanTok_lambdaNo3_anon_capture_captured_t* to_free = (scanTok_lambdaNo3_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo14_info_t* copyscanTok_lambdaNo3_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, void* responsible_destroyer) { | |
scanTok_lambdaNo3_anon_capture_captured_t* to_copy = (scanTok_lambdaNo3_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo3_anon_capture(to_copy->_nhp_var_sym, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* record_copyscanTok_lambdaNo3_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
scanTok_lambdaNo3_anon_capture_captured_t* to_copy = (scanTok_lambdaNo3_anon_capture_captured_t*)to_copy_anon; | |
return capture_scanTok_lambdaNo3_anon_capture(to_copy->_nhp_var_sym, record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* change_resp_ownerscanTok_lambdaNo3_anon_capture(_nhp_anonProcTypeNo14_info_t* to_mutate, void* responsible_destroyer) { | |
scanTok_lambdaNo3_anon_capture_captured_t* closure = (scanTok_lambdaNo3_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_sym = closure->_nhp_var_sym; | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo14_info_t* capture_scanTok_lambdaNo3_anon_capture(char _nhp_var_sym, void* responsible_destroyer) { | |
scanTok_lambdaNo3_anon_capture_captured_t* closure = malloc(sizeof(scanTok_lambdaNo3_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo14_t)(&scanTok_lambdaNo3_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo14_destructor_t)(&freescanTok_lambdaNo3_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo14_copier_t)(©scanTok_lambdaNo3_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo14_record_copier_t)(&record_copyscanTok_lambdaNo3_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo14_record_copier_t)(&change_resp_ownerscanTok_lambdaNo3_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_sym = _nhp_var_sym; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
void freeparsing_scanner___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_free_anon) { | |
parsing_scanner___init___anon_capture_captured_t* to_free = (parsing_scanner___init___anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_scanner__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo1_info_t* copyparsing_scanner___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_scanner___init___anon_capture_captured_t* to_copy = (parsing_scanner___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner___init___anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* record_copyparsing_scanner___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_scanner___init___anon_capture_captured_t* to_copy = (parsing_scanner___init___anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner___init___anon_capture(((_nhp_record_parsing_scanner___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo1_info_t* change_resp_ownerparsing_scanner___init___anon_capture(_nhp_anonProcTypeNo1_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_scanner___init___anon_capture_captured_t* closure = (parsing_scanner___init___anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_scanner__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo1_info_t* capture_parsing_scanner___init___anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_scanner___init___anon_capture_captured_t* closure = malloc(sizeof(parsing_scanner___init___anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo1_t)(&parsing_scanner___init___anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo1_destructor_t)(&freeparsing_scanner___init___anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo1_copier_t)(©parsing_scanner___init___anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo1_record_copier_t)(&record_copyparsing_scanner___init___anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo1_record_copier_t)(&change_resp_ownerparsing_scanner___init___anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_scanner__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo1_info_t*)closure; | |
} | |
void freeparsing_scanner_scanChar_anon_capture(_nhp_anonProcTypeNo23_info_t* to_free_anon) { | |
parsing_scanner_scanChar_anon_capture_captured_t* to_free = (parsing_scanner_scanChar_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_scanner__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo23_info_t* copyparsing_scanner_scanChar_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_scanner_scanChar_anon_capture_captured_t* to_copy = (parsing_scanner_scanChar_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanChar_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* record_copyparsing_scanner_scanChar_anon_capture(_nhp_anonProcTypeNo23_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_scanner_scanChar_anon_capture_captured_t* to_copy = (parsing_scanner_scanChar_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanChar_anon_capture(((_nhp_record_parsing_scanner___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo23_info_t* change_resp_ownerparsing_scanner_scanChar_anon_capture(_nhp_anonProcTypeNo23_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_scanner_scanChar_anon_capture_captured_t* closure = (parsing_scanner_scanChar_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_scanner__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo23_info_t* capture_parsing_scanner_scanChar_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_scanner_scanChar_anon_capture_captured_t* closure = malloc(sizeof(parsing_scanner_scanChar_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo23_t)(&parsing_scanner_scanChar_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo23_destructor_t)(&freeparsing_scanner_scanChar_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo23_copier_t)(©parsing_scanner_scanChar_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo23_record_copier_t)(&record_copyparsing_scanner_scanChar_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo23_record_copier_t)(&change_resp_ownerparsing_scanner_scanChar_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_scanner__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo23_info_t*)closure; | |
} | |
void freeparsing_scanner_scanWhile_anon_capture(_nhp_anonProcTypeNo32_info_t* to_free_anon) { | |
parsing_scanner_scanWhile_anon_capture_captured_t* to_free = (parsing_scanner_scanWhile_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_scanner__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo32_info_t* copyparsing_scanner_scanWhile_anon_capture(_nhp_anonProcTypeNo32_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_scanner_scanWhile_anon_capture_captured_t* to_copy = (parsing_scanner_scanWhile_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanWhile_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo32_info_t* record_copyparsing_scanner_scanWhile_anon_capture(_nhp_anonProcTypeNo32_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_scanner_scanWhile_anon_capture_captured_t* to_copy = (parsing_scanner_scanWhile_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanWhile_anon_capture(((_nhp_record_parsing_scanner___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo32_info_t* change_resp_ownerparsing_scanner_scanWhile_anon_capture(_nhp_anonProcTypeNo32_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_scanner_scanWhile_anon_capture_captured_t* closure = (parsing_scanner_scanWhile_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo32_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_scanner__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo32_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo32_info_t* capture_parsing_scanner_scanWhile_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_scanner_scanWhile_anon_capture_captured_t* closure = malloc(sizeof(parsing_scanner_scanWhile_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo32_t)(&parsing_scanner_scanWhile_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo32_destructor_t)(&freeparsing_scanner_scanWhile_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo32_copier_t)(©parsing_scanner_scanWhile_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo32_record_copier_t)(&record_copyparsing_scanner_scanWhile_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo32_record_copier_t)(&change_resp_ownerparsing_scanner_scanWhile_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_scanner__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo32_info_t*)closure; | |
} | |
void freeparsing_scanner_scanTok_anon_capture(_nhp_anonProcTypeNo33_info_t* to_free_anon) { | |
parsing_scanner_scanTok_anon_capture_captured_t* to_free = (parsing_scanner_scanTok_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free_record_nhp_record_parsing_scanner__(to_free->_nhp_var_self, to_free->_nhp_child_agent); | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo33_info_t* copyparsing_scanner_scanTok_anon_capture(_nhp_anonProcTypeNo33_info_t* to_copy_anon, void* responsible_destroyer) { | |
parsing_scanner_scanTok_anon_capture_captured_t* to_copy = (parsing_scanner_scanTok_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanTok_anon_capture(to_copy->_nhp_var_self, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo33_info_t* record_copyparsing_scanner_scanTok_anon_capture(_nhp_anonProcTypeNo33_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parsing_scanner_scanTok_anon_capture_captured_t* to_copy = (parsing_scanner_scanTok_anon_capture_captured_t*)to_copy_anon; | |
return capture_parsing_scanner_scanTok_anon_capture(((_nhp_record_parsing_scanner___t*)record), record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo33_info_t* change_resp_ownerparsing_scanner_scanTok_anon_capture(_nhp_anonProcTypeNo33_info_t* to_mutate, void* responsible_destroyer) { | |
parsing_scanner_scanTok_anon_capture_captured_t* closure = (parsing_scanner_scanTok_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo33_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = change_resp_owner_nhp_record_parsing_scanner__(closure->_nhp_var_self, responsible_destroyer); | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo33_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo33_info_t* capture_parsing_scanner_scanTok_anon_capture(_nhp_record_parsing_scanner___t* _nhp_var_self, void* responsible_destroyer) { | |
parsing_scanner_scanTok_anon_capture_captured_t* closure = malloc(sizeof(parsing_scanner_scanTok_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo33_t)(&parsing_scanner_scanTok_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo33_destructor_t)(&freeparsing_scanner_scanTok_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo33_copier_t)(©parsing_scanner_scanTok_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo33_record_copier_t)(&record_copyparsing_scanner_scanTok_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo33_record_copier_t)(&change_resp_ownerparsing_scanner_scanTok_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_self = borrow_record_nhp_record_parsing_scanner__(_nhp_var_self, responsible_destroyer); | |
return (_nhp_anonProcTypeNo33_info_t*)closure; | |
} | |
void freeparseExpression_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_free_anon) { | |
parseExpression_lambdaNo0_anon_capture_captured_t* to_free = (parseExpression_lambdaNo0_anon_capture_captured_t*)to_free_anon; | |
if(to_free->_nhp_lock) | |
return; | |
to_free->_nhp_lock = 1; | |
free(to_free); | |
} | |
_nhp_anonProcTypeNo14_info_t* copyparseExpression_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, void* responsible_destroyer) { | |
parseExpression_lambdaNo0_anon_capture_captured_t* to_copy = (parseExpression_lambdaNo0_anon_capture_captured_t*)to_copy_anon; | |
return capture_parseExpression_lambdaNo0_anon_capture(to_copy->_nhp_var_opTok, responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* record_copyparseExpression_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_copy_anon, _nhp_std_record_mask_t* record) { | |
parseExpression_lambdaNo0_anon_capture_captured_t* to_copy = (parseExpression_lambdaNo0_anon_capture_captured_t*)to_copy_anon; | |
return capture_parseExpression_lambdaNo0_anon_capture(to_copy->_nhp_var_opTok, record->_nhp_responsible_destroyer); | |
} | |
_nhp_anonProcTypeNo14_info_t* change_resp_ownerparseExpression_lambdaNo0_anon_capture(_nhp_anonProcTypeNo14_info_t* to_mutate, void* responsible_destroyer) { | |
parseExpression_lambdaNo0_anon_capture_captured_t* closure = (parseExpression_lambdaNo0_anon_capture_captured_t*)to_mutate; | |
if(closure->_nhp_lock) | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
closure->_nhp_lock = 1; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_opTok = closure->_nhp_var_opTok; | |
closure->_nhp_lock = 0; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
_nhp_anonProcTypeNo14_info_t* capture_parseExpression_lambdaNo0_anon_capture(char _nhp_var_opTok, void* responsible_destroyer) { | |
parseExpression_lambdaNo0_anon_capture_captured_t* closure = malloc(sizeof(parseExpression_lambdaNo0_anon_capture_captured_t)); | |
closure->_nhp_this_anon = (_nhp_anonProcTypeNo14_t)(&parseExpression_lambdaNo0_anon_capture); | |
closure->_nhp_destructor = (_nhp_anonProcTypeNo14_destructor_t)(&freeparseExpression_lambdaNo0_anon_capture); | |
closure->_nhp_copier = (_nhp_anonProcTypeNo14_copier_t)(©parseExpression_lambdaNo0_anon_capture); | |
closure->_nhp_record_copier = (_nhp_anonProcTypeNo14_record_copier_t)(&record_copyparseExpression_lambdaNo0_anon_capture); | |
closure->_nhp_resp_mutator = (_nhp_anonProcTypeNo14_record_copier_t)(&change_resp_ownerparseExpression_lambdaNo0_anon_capture); | |
closure->_nhp_lock = 0; | |
closure->_nhp_child_agent = responsible_destroyer; | |
closure->_nhp_var_opTok = _nhp_var_opTok; | |
return (_nhp_anonProcTypeNo14_info_t*)closure; | |
} | |
int _nhp_bounds_check(int index, int max_length, const char* src_loc, const char* access_src) { | |
if(index < 0 || index >= max_length) { | |
printf("Index out of bounds, %s. Index was %i, alloced length was %i.\n\t", src_loc, index, max_length); | |
puts(access_src); | |
abort(); | |
} | |
return index; | |
} | |
_nhp_array_char_t marshal_nhp_array_char(char* buffer, int length) { | |
_nhp_array_char_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(char)); | |
memcpy(to_alloc.buffer, buffer, length * sizeof(char)); | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
_nhp_array_char_t marshal_proto_nhp_array_char(int length, char proto) { | |
_nhp_array_char_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(char)); | |
for(int i = 0; i < length; i++) | |
to_alloc.buffer[i] = proto; | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
_nhp_array__nhp_anonProcTypeNo0_t marshal_nhp_array__nhp_anonProcTypeNo0(_nhp_anonProcTypeNo0_info_t** buffer, int length, void* responsible_destroyer) { | |
_nhp_array__nhp_anonProcTypeNo0_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_anonProcTypeNo0_info_t*)); | |
memcpy(to_alloc.buffer, buffer, length * sizeof(_nhp_anonProcTypeNo0_info_t*)); | |
to_alloc.length = length; | |
to_alloc.responsible_destroyer = responsible_destroyer; | |
return to_alloc; | |
} | |
_nhp_array__nhp_anonProcTypeNo0_t marshal_foreign_nhp_array__nhp_anonProcTypeNo0(_nhp_anonProcTypeNo0_info_t** buffer, int length, void* responsible_destroyer) { | |
_nhp_array__nhp_anonProcTypeNo0_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_anonProcTypeNo0_info_t*)); | |
for(int i = 0; i < length; i++) { | |
to_alloc.buffer[i] = (buffer[i])->_nhp_copier(buffer[i], responsible_destroyer); | |
} | |
to_alloc.length = length; | |
to_alloc.responsible_destroyer = responsible_destroyer; | |
return to_alloc; | |
} | |
_nhp_array__nhp_anonProcTypeNo0_t marshal_proto_nhp_array__nhp_anonProcTypeNo0(int length, _nhp_anonProcTypeNo0_info_t* proto, void* responsible_destroyer) { | |
_nhp_array__nhp_anonProcTypeNo0_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_anonProcTypeNo0_info_t*)); | |
for(int i = 0; i < length; i++) | |
to_alloc.buffer[i] = (proto)->_nhp_copier(proto, responsible_destroyer); | |
(proto)->_nhp_destructor(proto); | |
to_alloc.responsible_destroyer = responsible_destroyer; | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
void free_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t to_free) { | |
for(int i = 0; i < to_free.length; i++) { | |
(to_free.buffer[i])->_nhp_destructor(to_free.buffer[i]); | |
} | |
free(to_free.buffer); | |
} | |
_nhp_array__nhp_anonProcTypeNo0_t copy_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t to_copy, void* responsible_destroyer) { | |
_nhp_array__nhp_anonProcTypeNo0_t copied; | |
copied.length = to_copy.length; | |
copied.responsible_destroyer = responsible_destroyer; | |
copied.buffer = malloc(to_copy.length * sizeof(_nhp_anonProcTypeNo0_info_t*)); | |
for(int i = 0; i < to_copy.length; i++) { | |
copied.buffer[i] = (to_copy.buffer[i])->_nhp_copier(to_copy.buffer[i], responsible_destroyer); | |
} | |
return copied; | |
} | |
_nhp_array__nhp_anonProcTypeNo0_t change_resp_owner_nhp_array__nhp_anonProcTypeNo0(_nhp_array__nhp_anonProcTypeNo0_t array, void* responsible_destroyer) { | |
array.responsible_destroyer = responsible_destroyer; | |
for(int i = 0; i < array.length; i++) { | |
array.buffer[i] = (array.buffer[i])->_nhp_resp_mutator(array.buffer[i], responsible_destroyer); | |
} | |
return array; | |
} | |
_nhp_array__nhp_array_char_t marshal_nhp_array__nhp_array_char(_nhp_array_char_t* buffer, int length) { | |
_nhp_array__nhp_array_char_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_array_char_t)); | |
memcpy(to_alloc.buffer, buffer, length * sizeof(_nhp_array_char_t)); | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
_nhp_array__nhp_array_char_t marshal_foreign_nhp_array__nhp_array_char(_nhp_array_char_t* buffer, int length) { | |
_nhp_array__nhp_array_char_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_array_char_t)); | |
for(int i = 0; i < length; i++) { | |
to_alloc.buffer[i] = marshal_nhp_array_char(buffer[i].buffer, buffer[i].length); | |
} | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
_nhp_array__nhp_array_char_t marshal_proto_nhp_array__nhp_array_char(int length, _nhp_array_char_t proto) { | |
_nhp_array__nhp_array_char_t to_alloc; | |
to_alloc.buffer = malloc(length * sizeof(_nhp_array_char_t)); | |
for(int i = 0; i < length; i++) | |
to_alloc.buffer[i] = marshal_nhp_array_char(proto.buffer, proto.length); | |
free(proto.buffer); | |
to_alloc.length = length; | |
return to_alloc; | |
} | |
void free_nhp_array__nhp_array_char(_nhp_array__nhp_array_char_t to_free) { | |
for(int i = 0; i < to_free.length; i++) { | |
free(to_free.buffer[i].buffer); | |
} | |
free(to_free.buffer); | |
} | |
_nhp_array__nhp_array_char_t copy_nhp_array__nhp_array_char(_nhp_array__nhp_array_char_t to_copy) { | |
_nhp_array__nhp_array_char_t copied; | |
copied.length = to_copy.length; | |
copied.buffer = malloc(to_copy.length * sizeof(_nhp_array_char_t)); | |
for(int i = 0; i < to_copy.length; i++) { | |
copied.buffer[i] = marshal_nhp_array_char(to_copy.buffer[i].buffer, to_copy.buffer[i].length); | |
} | |
return copied; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data._nhp_interface_io_stringableObj___set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data._nhp_interface_io_writeableObj___set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with__nhp_array_char(_nhp_array_char_t option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data._nhp_array_char_set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION__nhp_array_char; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_char(char option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data.char_set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION_char; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_int(long option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data.int_set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION_int; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_dec(double option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data.dec_set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION_dec; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_bool(int option) { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.data.bool_set = option; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION_bool; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t marshal_nhp_enum_io_writable___with_nothing() { | |
_nhp_enum_io_writable___t marshalled_enum; | |
marshalled_enum.option = _nhp_enum_io_writable__OPTION_nothing; | |
return marshalled_enum; | |
} | |
_nhp_enum_io_writable___t change_resp_owner_nhp_enum_io_writable__(_nhp_enum_io_writable___t to_mutate, void* responsible_destroyer) { | |
switch(to_mutate.option) { | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__: | |
to_mutate.data._nhp_interface_io_stringableObj___set = change_resp_owner_nhp_interface_io_stringableObj__(to_mutate.data._nhp_interface_io_stringableObj___set, responsible_destroyer); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__: | |
to_mutate.data._nhp_interface_io_writeableObj___set = change_resp_owner_nhp_interface_io_writeableObj__(to_mutate.data._nhp_interface_io_writeableObj___set, responsible_destroyer); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_array_char: | |
to_mutate.data._nhp_array_char_set = to_mutate.data._nhp_array_char_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_char: | |
to_mutate.data.char_set = to_mutate.data.char_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_int: | |
to_mutate.data.int_set = to_mutate.data.int_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_dec: | |
to_mutate.data.dec_set = to_mutate.data.dec_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_bool: | |
to_mutate.data.bool_set = to_mutate.data.bool_set; | |
break; | |
} | |
return to_mutate; | |
} | |
void free_enum_nhp_enum_io_writable__(_nhp_enum_io_writable___t _nhp_enum) { | |
switch(_nhp_enum.option) { | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__: | |
free_interface_nhp_interface_io_stringableObj__(_nhp_enum.data._nhp_interface_io_stringableObj___set); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__: | |
free_interface_nhp_interface_io_writeableObj__(_nhp_enum.data._nhp_interface_io_writeableObj___set); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_array_char: | |
free(_nhp_enum.data._nhp_array_char_set.buffer); | |
break; | |
} | |
} | |
_nhp_enum_io_writable___t copy_enum_nhp_enum_io_writable__(_nhp_enum_io_writable___t _nhp_enum, void* responsible_destroyer) { | |
_nhp_enum_io_writable___t copied_enum; | |
copied_enum.option = _nhp_enum.option; | |
switch(_nhp_enum.option) { | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__: | |
copied_enum.data._nhp_interface_io_stringableObj___set = copy_interface_nhp_interface_io_stringableObj__(_nhp_enum.data._nhp_interface_io_stringableObj___set, responsible_destroyer); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__: | |
copied_enum.data._nhp_interface_io_writeableObj___set = copy_interface_nhp_interface_io_writeableObj__(_nhp_enum.data._nhp_interface_io_writeableObj___set, responsible_destroyer); | |
break; | |
case _nhp_enum_io_writable__OPTION__nhp_array_char: | |
copied_enum.data._nhp_array_char_set = marshal_nhp_array_char(_nhp_enum.data._nhp_array_char_set.buffer, _nhp_enum.data._nhp_array_char_set.length); | |
break; | |
case _nhp_enum_io_writable__OPTION_char: | |
copied_enum.data.char_set = _nhp_enum.data.char_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_int: | |
copied_enum.data.int_set = _nhp_enum.data.int_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_dec: | |
copied_enum.data.dec_set = _nhp_enum.data.dec_set; | |
break; | |
case _nhp_enum_io_writable__OPTION_bool: | |
copied_enum.data.bool_set = _nhp_enum.data.bool_set; | |
break; | |
} | |
return copied_enum; | |
} | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with__nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* option) { | |
_nhp_enum_parsing_token___t marshalled_enum; | |
marshalled_enum.data._nhp_record_parsing_identifier___set = option; | |
marshalled_enum.option = _nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__; | |
return marshalled_enum; | |
} | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_dec(double option) { | |
_nhp_enum_parsing_token___t marshalled_enum; | |
marshalled_enum.data.dec_set = option; | |
marshalled_enum.option = _nhp_enum_parsing_token__OPTION_dec; | |
return marshalled_enum; | |
} | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_char(char option) { | |
_nhp_enum_parsing_token___t marshalled_enum; | |
marshalled_enum.data.char_set = option; | |
marshalled_enum.option = _nhp_enum_parsing_token__OPTION_char; | |
return marshalled_enum; | |
} | |
_nhp_enum_parsing_token___t marshal_nhp_enum_parsing_token___with_nothing() { | |
_nhp_enum_parsing_token___t marshalled_enum; | |
marshalled_enum.option = _nhp_enum_parsing_token__OPTION_nothing; | |
return marshalled_enum; | |
} | |
_nhp_enum_parsing_token___t change_resp_owner_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t to_mutate, void* responsible_destroyer) { | |
switch(to_mutate.option) { | |
case _nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__: | |
to_mutate.data._nhp_record_parsing_identifier___set = change_resp_owner_nhp_record_parsing_identifier__(to_mutate.data._nhp_record_parsing_identifier___set, responsible_destroyer); | |
break; | |
case _nhp_enum_parsing_token__OPTION_dec: | |
to_mutate.data.dec_set = to_mutate.data.dec_set; | |
break; | |
case _nhp_enum_parsing_token__OPTION_char: | |
to_mutate.data.char_set = to_mutate.data.char_set; | |
break; | |
} | |
return to_mutate; | |
} | |
void free_enum_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t _nhp_enum) { | |
switch(_nhp_enum.option) { | |
case _nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__: | |
free_record_nhp_record_parsing_identifier__(_nhp_enum.data._nhp_record_parsing_identifier___set, NULL); | |
break; | |
} | |
} | |
_nhp_enum_parsing_token___t copy_enum_nhp_enum_parsing_token__(_nhp_enum_parsing_token___t _nhp_enum, void* responsible_destroyer) { | |
_nhp_enum_parsing_token___t copied_enum; | |
copied_enum.option = _nhp_enum.option; | |
switch(_nhp_enum.option) { | |
case _nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__: | |
copied_enum.data._nhp_record_parsing_identifier___set = copy_record_nhp_record_parsing_identifier__(_nhp_enum.data._nhp_record_parsing_identifier___set, responsible_destroyer); | |
break; | |
case _nhp_enum_parsing_token__OPTION_dec: | |
copied_enum.data.dec_set = _nhp_enum.data.dec_set; | |
break; | |
case _nhp_enum_parsing_token__OPTION_char: | |
copied_enum.data.char_set = _nhp_enum.data.char_set; | |
break; | |
} | |
return copied_enum; | |
} | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_binOp__(_nhp_record_binOp___t* option) { | |
_nhp_enum_operand___t marshalled_enum; | |
marshalled_enum.data._nhp_record_binOp___set = option; | |
marshalled_enum.option = _nhp_enum_operand__OPTION__nhp_record_binOp__; | |
return marshalled_enum; | |
} | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_constant__(_nhp_record_constant___t* option) { | |
_nhp_enum_operand___t marshalled_enum; | |
marshalled_enum.data._nhp_record_constant___set = option; | |
marshalled_enum.option = _nhp_enum_operand__OPTION__nhp_record_constant__; | |
return marshalled_enum; | |
} | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_variable__(_nhp_record_variable___t* option) { | |
_nhp_enum_operand___t marshalled_enum; | |
marshalled_enum.data._nhp_record_variable___set = option; | |
marshalled_enum.option = _nhp_enum_operand__OPTION__nhp_record_variable__; | |
return marshalled_enum; | |
} | |
_nhp_enum_operand___t marshal_nhp_enum_operand___with__nhp_record_derivative__(_nhp_record_derivative___t* option) { | |
_nhp_enum_operand___t marshalled_enum; | |
marshalled_enum.data._nhp_record_derivative___set = option; | |
marshalled_enum.option = _nhp_enum_operand__OPTION__nhp_record_derivative__; | |
return marshalled_enum; | |
} | |
_nhp_anonProcTypeNo0_info_t* get_derive_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum) { | |
switch(_nhp_enum.option) { | |
case _nhp_enum_operand__OPTION__nhp_record_binOp__: | |
return _nhp_enum.data._nhp_record_binOp___set->derive; | |
case _nhp_enum_operand__OPTION__nhp_record_constant__: | |
return _nhp_enum.data._nhp_record_constant___set->derive; | |
case _nhp_enum_operand__OPTION__nhp_record_variable__: | |
return _nhp_enum.data._nhp_record_variable___set->derive; | |
case _nhp_enum_operand__OPTION__nhp_record_derivative__: | |
return _nhp_enum.data._nhp_record_derivative___set->derive; | |
} | |
} | |
_nhp_anonProcTypeNo7_info_t* get_print_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum) { | |
switch(_nhp_enum.option) { | |
case _nhp_enum_operand__OPTION__nhp_record_binOp__: | |
return _nhp_enum.data._nhp_record_binOp___set->print; | |
case _nhp_enum_operand__OPTION__nhp_record_constant__: | |
return _nhp_enum.data._nhp_record_constant___set->print; | |
case _nhp_enum_operand__OPTION__nhp_record_variable__: | |
return _nhp_enum.data._nhp_record_variable___set->print; | |
case _nhp_enum_operand__OPTION__nhp_record_derivative__: | |
return _nhp_enum.data._nhp_record_derivative___set->print; | |
} | |
} | |
_nhp_enum_operand___t change_resp_owner_nhp_enum_operand__(_nhp_enum_operand___t to_mutate, void* responsible_destroyer) { | |
switch(to_mutate.option) { | |
case _nhp_enum_operand__OPTION__nhp_record_binOp__: | |
to_mutate.data._nhp_record_binOp___set = change_resp_owner_nhp_record_binOp__(to_mutate.data._nhp_record_binOp___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_constant__: | |
to_mutate.data._nhp_record_constant___set = change_resp_owner_nhp_record_constant__(to_mutate.data._nhp_record_constant___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_variable__: | |
to_mutate.data._nhp_record_variable___set = change_resp_owner_nhp_record_variable__(to_mutate.data._nhp_record_variable___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_derivative__: | |
to_mutate.data._nhp_record_derivative___set = change_resp_owner_nhp_record_derivative__(to_mutate.data._nhp_record_derivative___set, responsible_destroyer); | |
break; | |
} | |
return to_mutate; | |
} | |
void free_enum_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum) { | |
switch(_nhp_enum.option) { | |
case _nhp_enum_operand__OPTION__nhp_record_binOp__: | |
free_record_nhp_record_binOp__(_nhp_enum.data._nhp_record_binOp___set, NULL); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_constant__: | |
free_record_nhp_record_constant__(_nhp_enum.data._nhp_record_constant___set, NULL); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_variable__: | |
free_record_nhp_record_variable__(_nhp_enum.data._nhp_record_variable___set, NULL); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_derivative__: | |
free_record_nhp_record_derivative__(_nhp_enum.data._nhp_record_derivative___set, NULL); | |
break; | |
} | |
} | |
_nhp_enum_operand___t copy_enum_nhp_enum_operand__(_nhp_enum_operand___t _nhp_enum, void* responsible_destroyer) { | |
_nhp_enum_operand___t copied_enum; | |
copied_enum.option = _nhp_enum.option; | |
switch(_nhp_enum.option) { | |
case _nhp_enum_operand__OPTION__nhp_record_binOp__: | |
copied_enum.data._nhp_record_binOp___set = copy_record_nhp_record_binOp__(_nhp_enum.data._nhp_record_binOp___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_constant__: | |
copied_enum.data._nhp_record_constant___set = copy_record_nhp_record_constant__(_nhp_enum.data._nhp_record_constant___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_variable__: | |
copied_enum.data._nhp_record_variable___set = copy_record_nhp_record_variable__(_nhp_enum.data._nhp_record_variable___set, responsible_destroyer); | |
break; | |
case _nhp_enum_operand__OPTION__nhp_record_derivative__: | |
copied_enum.data._nhp_record_derivative___set = copy_record_nhp_record_derivative__(_nhp_enum.data._nhp_record_derivative___set, responsible_destroyer); | |
break; | |
} | |
return copied_enum; | |
} | |
_nhp_interface_io_stringableObj___t marshal_interface_nhp_interface_io_stringableObj__(_nhp_anonProcTypeNo3_info_t* toString, void* responsibleDestroyer) { | |
_nhp_interface_io_stringableObj___t marshalled_interface; | |
marshalled_interface.toString = (toString)->_nhp_copier(toString, responsibleDestroyer); | |
return marshalled_interface; | |
} | |
void free_interface_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface) { | |
(interface.toString)->_nhp_destructor(interface.toString); | |
} | |
_nhp_interface_io_stringableObj___t copy_interface_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface, void* responsibleDestroyer) { | |
_nhp_interface_io_stringableObj___t copied_interface; | |
copied_interface.toString = (interface.toString)->_nhp_copier(interface.toString, responsibleDestroyer); | |
return copied_interface; | |
} | |
_nhp_interface_io_stringableObj___t change_resp_owner_nhp_interface_io_stringableObj__(_nhp_interface_io_stringableObj___t interface, void* responsibleDestroyer) { | |
interface.toString = (interface.toString)->_nhp_resp_mutator(interface.toString, responsibleDestroyer); | |
return interface; | |
} | |
_nhp_interface_io_writeableObj___t marshal_interface_nhp_interface_io_writeableObj__(_nhp_anonProcTypeNo8_info_t* writeBack, void* responsibleDestroyer) { | |
_nhp_interface_io_writeableObj___t marshalled_interface; | |
marshalled_interface.writeBack = (writeBack)->_nhp_copier(writeBack, responsibleDestroyer); | |
return marshalled_interface; | |
} | |
void free_interface_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface) { | |
(interface.writeBack)->_nhp_destructor(interface.writeBack); | |
} | |
_nhp_interface_io_writeableObj___t copy_interface_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface, void* responsibleDestroyer) { | |
_nhp_interface_io_writeableObj___t copied_interface; | |
copied_interface.writeBack = (interface.writeBack)->_nhp_copier(interface.writeBack, responsibleDestroyer); | |
return copied_interface; | |
} | |
_nhp_interface_io_writeableObj___t change_resp_owner_nhp_interface_io_writeableObj__(_nhp_interface_io_writeableObj___t interface, void* responsibleDestroyer) { | |
interface.writeBack = (interface.writeBack)->_nhp_resp_mutator(interface.writeBack, responsibleDestroyer); | |
return interface; | |
} | |
_nhp_record_data_list_char__t* construct__nhp_record_data_list_char_(long param0, void* responsible_destroyer) { | |
_nhp_record_data_list_char__t* _nhp_self = malloc(sizeof(_nhp_record_data_list_char__t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->count = 0; | |
_nhp_self->__init__ = capture_data_list___init___char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__del__ = capture_data_list___del___char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__copy__ = capture_data_list___copy___char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->clear = capture_data_list_clear_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->getAtIndex = capture_data_list_getAtIndex_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->setAtIndex = capture_data_list_setAtIndex_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->add = capture_data_list_add_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->ensureCapacity = capture_data_list_ensureCapacity_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->pushFront = capture_data_list_pushFront_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->pushBack = capture_data_list_pushBack_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->insert = capture_data_list_insert_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->addBuffer = capture_data_list_addBuffer_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->addRange = capture_data_list_addRange_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->remove = capture_data_list_remove_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->popFront = capture_data_list_popFront_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->popBack = capture_data_list_popBack_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->toArray = capture_data_list_toArray_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->forall = capture_data_list_forall_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->sort = capture_data_list_sort_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->map = capture_data_list_map_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->filter = capture_data_list_filter_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->reduce = capture_data_list_reduce_char_as_T_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
record->__del__->_nhp_this_anon(record->__del__); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->__del__)->_nhp_destructor(record->__del__); | |
(record->__copy__)->_nhp_destructor(record->__copy__); | |
(record->clear)->_nhp_destructor(record->clear); | |
(record->getAtIndex)->_nhp_destructor(record->getAtIndex); | |
(record->setAtIndex)->_nhp_destructor(record->setAtIndex); | |
(record->add)->_nhp_destructor(record->add); | |
(record->ensureCapacity)->_nhp_destructor(record->ensureCapacity); | |
(record->pushFront)->_nhp_destructor(record->pushFront); | |
(record->pushBack)->_nhp_destructor(record->pushBack); | |
(record->insert)->_nhp_destructor(record->insert); | |
(record->addBuffer)->_nhp_destructor(record->addBuffer); | |
(record->addRange)->_nhp_destructor(record->addRange); | |
(record->remove)->_nhp_destructor(record->remove); | |
(record->popFront)->_nhp_destructor(record->popFront); | |
(record->popBack)->_nhp_destructor(record->popBack); | |
(record->toArray)->_nhp_destructor(record->toArray); | |
(record->forall)->_nhp_destructor(record->forall); | |
(record->sort)->_nhp_destructor(record->sort); | |
(record->map)->_nhp_destructor(record->map); | |
(record->filter)->_nhp_destructor(record->filter); | |
(record->reduce)->_nhp_destructor(record->reduce); | |
free(record); | |
} | |
_nhp_record_data_list_char__t* borrow_record_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_data_list_char__t* change_resp_owner_nhp_record_data_list_char_(_nhp_record_data_list_char__t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->buffer = record->buffer; | |
record->count = record->count; | |
record->capacity = record->capacity; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->__del__ = (record->__del__)->_nhp_resp_mutator(record->__del__, record->_nhp_responsible_destroyer); | |
record->__copy__ = (record->__copy__)->_nhp_resp_mutator(record->__copy__, record->_nhp_responsible_destroyer); | |
record->clear = (record->clear)->_nhp_resp_mutator(record->clear, record->_nhp_responsible_destroyer); | |
record->getAtIndex = (record->getAtIndex)->_nhp_resp_mutator(record->getAtIndex, record->_nhp_responsible_destroyer); | |
record->setAtIndex = (record->setAtIndex)->_nhp_resp_mutator(record->setAtIndex, record->_nhp_responsible_destroyer); | |
record->add = (record->add)->_nhp_resp_mutator(record->add, record->_nhp_responsible_destroyer); | |
record->ensureCapacity = (record->ensureCapacity)->_nhp_resp_mutator(record->ensureCapacity, record->_nhp_responsible_destroyer); | |
record->pushFront = (record->pushFront)->_nhp_resp_mutator(record->pushFront, record->_nhp_responsible_destroyer); | |
record->pushBack = (record->pushBack)->_nhp_resp_mutator(record->pushBack, record->_nhp_responsible_destroyer); | |
record->insert = (record->insert)->_nhp_resp_mutator(record->insert, record->_nhp_responsible_destroyer); | |
record->addBuffer = (record->addBuffer)->_nhp_resp_mutator(record->addBuffer, record->_nhp_responsible_destroyer); | |
record->addRange = (record->addRange)->_nhp_resp_mutator(record->addRange, record->_nhp_responsible_destroyer); | |
record->remove = (record->remove)->_nhp_resp_mutator(record->remove, record->_nhp_responsible_destroyer); | |
record->popFront = (record->popFront)->_nhp_resp_mutator(record->popFront, record->_nhp_responsible_destroyer); | |
record->popBack = (record->popBack)->_nhp_resp_mutator(record->popBack, record->_nhp_responsible_destroyer); | |
record->toArray = (record->toArray)->_nhp_resp_mutator(record->toArray, record->_nhp_responsible_destroyer); | |
record->forall = (record->forall)->_nhp_resp_mutator(record->forall, record->_nhp_responsible_destroyer); | |
record->sort = (record->sort)->_nhp_resp_mutator(record->sort, record->_nhp_responsible_destroyer); | |
record->map = (record->map)->_nhp_resp_mutator(record->map, record->_nhp_responsible_destroyer); | |
record->filter = (record->filter)->_nhp_resp_mutator(record->filter, record->_nhp_responsible_destroyer); | |
record->reduce = (record->reduce)->_nhp_resp_mutator(record->reduce, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_io_writer___t* construct__nhp_record_io_writer__(void* param0, void* responsible_destroyer) { | |
_nhp_record_io_writer___t* _nhp_self = malloc(sizeof(_nhp_record_io_writer___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->__init__ = capture_io_writer___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->write = capture_io_writer_write_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->writeLine = capture_io_writer_writeLine_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->writeChar = capture_io_writer_writeChar_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->write)->_nhp_destructor(record->write); | |
(record->writeLine)->_nhp_destructor(record->writeLine); | |
(record->writeChar)->_nhp_destructor(record->writeChar); | |
free(record); | |
} | |
_nhp_record_io_writer___t* copy_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer) { | |
_nhp_record_io_writer___t* copied_record = malloc(sizeof(_nhp_record_io_writer___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->ptr = record->ptr; | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->write = (record->write)->_nhp_record_copier(record->write, copied_record); | |
copied_record->writeLine = (record->writeLine)->_nhp_record_copier(record->writeLine, copied_record); | |
copied_record->writeChar = (record->writeChar)->_nhp_record_copier(record->writeChar, copied_record); | |
return copied_record; | |
} | |
_nhp_record_io_writer___t* borrow_record_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_io_writer___t* change_resp_owner_nhp_record_io_writer__(_nhp_record_io_writer___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->ptr = record->ptr; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->write = (record->write)->_nhp_resp_mutator(record->write, record->_nhp_responsible_destroyer); | |
record->writeLine = (record->writeLine)->_nhp_resp_mutator(record->writeLine, record->_nhp_responsible_destroyer); | |
record->writeChar = (record->writeChar)->_nhp_resp_mutator(record->writeChar, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_binOp___t* construct__nhp_record_binOp__(_nhp_enum_operand___t param0, _nhp_enum_operand___t param1, long param2, long param3, void* responsible_destroyer) { | |
_nhp_record_binOp___t* _nhp_self = malloc(sizeof(_nhp_record_binOp___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->opStrs = marshal_nhp_array__nhp_array_char((_nhp_array_char_t[]){marshal_nhp_array_char(" + ", 3), marshal_nhp_array_char(" - ", 3), marshal_nhp_array_char(" * ", 3), marshal_nhp_array_char(" / ", 3), marshal_nhp_array_char(" ^ ", 3)}, 5); | |
_nhp_self->__init__ = capture_binOp___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->deriveAdd = capture_binOp_deriveAdd_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->deriveSub = capture_binOp_deriveSub_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->deriveMul = capture_binOp_deriveMul_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->deriveDiv = capture_binOp_deriveDiv_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->derivePow = capture_binOp_derivePow_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->deriveLog = capture_binOp_deriveLog_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->derive = capture_binOp_derive_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->print = capture_binOp_print_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0, param1, param2, param3); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
free_enum_nhp_enum_operand__(record->lhs); | |
free_enum_nhp_enum_operand__(record->rhs); | |
free_nhp_array__nhp_anonProcTypeNo0(record->derivers); | |
free_nhp_array__nhp_array_char(record->opStrs); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->deriveAdd)->_nhp_destructor(record->deriveAdd); | |
(record->deriveSub)->_nhp_destructor(record->deriveSub); | |
(record->deriveMul)->_nhp_destructor(record->deriveMul); | |
(record->deriveDiv)->_nhp_destructor(record->deriveDiv); | |
(record->derivePow)->_nhp_destructor(record->derivePow); | |
(record->deriveLog)->_nhp_destructor(record->deriveLog); | |
(record->derive)->_nhp_destructor(record->derive); | |
(record->print)->_nhp_destructor(record->print); | |
free(record); | |
} | |
_nhp_record_binOp___t* copy_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer) { | |
_nhp_record_binOp___t* copied_record = malloc(sizeof(_nhp_record_binOp___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->lhs = copy_enum_nhp_enum_operand__(record->lhs, copied_record->_nhp_responsible_destroyer); | |
copied_record->rhs = copy_enum_nhp_enum_operand__(record->rhs, copied_record->_nhp_responsible_destroyer); | |
copied_record->op = record->op; | |
copied_record->prec = record->prec; | |
copied_record->derivers = copy_nhp_array__nhp_anonProcTypeNo0(record->derivers, copied_record->_nhp_responsible_destroyer); | |
copied_record->opStrs = copy_nhp_array__nhp_array_char(record->opStrs); | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->deriveAdd = (record->deriveAdd)->_nhp_record_copier(record->deriveAdd, copied_record); | |
copied_record->deriveSub = (record->deriveSub)->_nhp_record_copier(record->deriveSub, copied_record); | |
copied_record->deriveMul = (record->deriveMul)->_nhp_record_copier(record->deriveMul, copied_record); | |
copied_record->deriveDiv = (record->deriveDiv)->_nhp_record_copier(record->deriveDiv, copied_record); | |
copied_record->derivePow = (record->derivePow)->_nhp_record_copier(record->derivePow, copied_record); | |
copied_record->deriveLog = (record->deriveLog)->_nhp_record_copier(record->deriveLog, copied_record); | |
copied_record->derive = (record->derive)->_nhp_record_copier(record->derive, copied_record); | |
copied_record->print = (record->print)->_nhp_record_copier(record->print, copied_record); | |
return copied_record; | |
} | |
_nhp_record_binOp___t* borrow_record_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_binOp___t* change_resp_owner_nhp_record_binOp__(_nhp_record_binOp___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->lhs = change_resp_owner_nhp_enum_operand__(record->lhs, record->_nhp_responsible_destroyer); | |
record->rhs = change_resp_owner_nhp_enum_operand__(record->rhs, record->_nhp_responsible_destroyer); | |
record->op = record->op; | |
record->prec = record->prec; | |
record->derivers = change_resp_owner_nhp_array__nhp_anonProcTypeNo0(record->derivers, record->_nhp_responsible_destroyer); | |
record->opStrs = record->opStrs; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->deriveAdd = (record->deriveAdd)->_nhp_resp_mutator(record->deriveAdd, record->_nhp_responsible_destroyer); | |
record->deriveSub = (record->deriveSub)->_nhp_resp_mutator(record->deriveSub, record->_nhp_responsible_destroyer); | |
record->deriveMul = (record->deriveMul)->_nhp_resp_mutator(record->deriveMul, record->_nhp_responsible_destroyer); | |
record->deriveDiv = (record->deriveDiv)->_nhp_resp_mutator(record->deriveDiv, record->_nhp_responsible_destroyer); | |
record->derivePow = (record->derivePow)->_nhp_resp_mutator(record->derivePow, record->_nhp_responsible_destroyer); | |
record->deriveLog = (record->deriveLog)->_nhp_resp_mutator(record->deriveLog, record->_nhp_responsible_destroyer); | |
record->derive = (record->derive)->_nhp_resp_mutator(record->derive, record->_nhp_responsible_destroyer); | |
record->print = (record->print)->_nhp_resp_mutator(record->print, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_parsing_identifier___t* construct__nhp_record_parsing_identifier__(_nhp_array_char_t param0, void* responsible_destroyer) { | |
_nhp_record_parsing_identifier___t* _nhp_self = malloc(sizeof(_nhp_record_parsing_identifier___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->__init__ = capture_parsing_identifier___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->equals = capture_parsing_identifier_equals_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->toString = capture_parsing_identifier_toString_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
free(record->id.buffer); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->equals)->_nhp_destructor(record->equals); | |
(record->toString)->_nhp_destructor(record->toString); | |
free(record); | |
} | |
_nhp_record_parsing_identifier___t* copy_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer) { | |
_nhp_record_parsing_identifier___t* copied_record = malloc(sizeof(_nhp_record_parsing_identifier___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->id = marshal_nhp_array_char(record->id.buffer, record->id.length); | |
copied_record->hash = record->hash; | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->equals = (record->equals)->_nhp_record_copier(record->equals, copied_record); | |
copied_record->toString = (record->toString)->_nhp_record_copier(record->toString, copied_record); | |
return copied_record; | |
} | |
_nhp_record_parsing_identifier___t* borrow_record_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_parsing_identifier___t* change_resp_owner_nhp_record_parsing_identifier__(_nhp_record_parsing_identifier___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->id = record->id; | |
record->hash = record->hash; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->equals = (record->equals)->_nhp_resp_mutator(record->equals, record->_nhp_responsible_destroyer); | |
record->toString = (record->toString)->_nhp_resp_mutator(record->toString, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_parsing_scanner___t* construct__nhp_record_parsing_scanner__(_nhp_array_char_t param0, void* responsible_destroyer) { | |
_nhp_record_parsing_scanner___t* _nhp_self = malloc(sizeof(_nhp_record_parsing_scanner___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->pos = 0; | |
_nhp_self->lastChar = ((char)0); | |
_nhp_self->lastTok = marshal_nhp_enum_parsing_token___with_nothing(); | |
_nhp_self->__init__ = capture_parsing_scanner___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->scanChar = capture_parsing_scanner_scanChar_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->scanWhile = capture_parsing_scanner_scanWhile_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->scanTok = capture_parsing_scanner_scanTok_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
free(record->_buffer.buffer); | |
free_enum_nhp_enum_parsing_token__(record->lastTok); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->scanChar)->_nhp_destructor(record->scanChar); | |
(record->scanWhile)->_nhp_destructor(record->scanWhile); | |
(record->scanTok)->_nhp_destructor(record->scanTok); | |
free(record); | |
} | |
_nhp_record_parsing_scanner___t* copy_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer) { | |
_nhp_record_parsing_scanner___t* copied_record = malloc(sizeof(_nhp_record_parsing_scanner___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->_buffer = marshal_nhp_array_char(record->_buffer.buffer, record->_buffer.length); | |
copied_record->pos = record->pos; | |
copied_record->lastChar = record->lastChar; | |
copied_record->lastTok = copy_enum_nhp_enum_parsing_token__(record->lastTok, copied_record->_nhp_responsible_destroyer); | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->scanChar = (record->scanChar)->_nhp_record_copier(record->scanChar, copied_record); | |
copied_record->scanWhile = (record->scanWhile)->_nhp_record_copier(record->scanWhile, copied_record); | |
copied_record->scanTok = (record->scanTok)->_nhp_record_copier(record->scanTok, copied_record); | |
return copied_record; | |
} | |
_nhp_record_parsing_scanner___t* borrow_record_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_parsing_scanner___t* change_resp_owner_nhp_record_parsing_scanner__(_nhp_record_parsing_scanner___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->_buffer = record->_buffer; | |
record->pos = record->pos; | |
record->lastChar = record->lastChar; | |
record->lastTok = change_resp_owner_nhp_enum_parsing_token__(record->lastTok, record->_nhp_responsible_destroyer); | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->scanChar = (record->scanChar)->_nhp_resp_mutator(record->scanChar, record->_nhp_responsible_destroyer); | |
record->scanWhile = (record->scanWhile)->_nhp_resp_mutator(record->scanWhile, record->_nhp_responsible_destroyer); | |
record->scanTok = (record->scanTok)->_nhp_resp_mutator(record->scanTok, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_constant___t* construct__nhp_record_constant__(double param0, void* responsible_destroyer) { | |
_nhp_record_constant___t* _nhp_self = malloc(sizeof(_nhp_record_constant___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->__init__ = capture_constant___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->derive = capture_constant_derive_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->print = capture_constant_print_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_constant__(_nhp_record_constant___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->derive)->_nhp_destructor(record->derive); | |
(record->print)->_nhp_destructor(record->print); | |
free(record); | |
} | |
_nhp_record_constant___t* copy_record_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer) { | |
_nhp_record_constant___t* copied_record = malloc(sizeof(_nhp_record_constant___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->num = record->num; | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->derive = (record->derive)->_nhp_record_copier(record->derive, copied_record); | |
copied_record->print = (record->print)->_nhp_record_copier(record->print, copied_record); | |
return copied_record; | |
} | |
_nhp_record_constant___t* borrow_record_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_constant___t* change_resp_owner_nhp_record_constant__(_nhp_record_constant___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->num = record->num; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->derive = (record->derive)->_nhp_resp_mutator(record->derive, record->_nhp_responsible_destroyer); | |
record->print = (record->print)->_nhp_resp_mutator(record->print, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_variable___t* construct__nhp_record_variable__(_nhp_record_parsing_identifier___t* param0, void* responsible_destroyer) { | |
_nhp_record_variable___t* _nhp_self = malloc(sizeof(_nhp_record_variable___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->__init__ = capture_variable___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->derive = capture_variable_derive_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->equals = capture_variable_equals_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->print = capture_variable_print_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_variable__(_nhp_record_variable___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
free_record_nhp_record_parsing_identifier__(record->id, NULL); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->derive)->_nhp_destructor(record->derive); | |
(record->equals)->_nhp_destructor(record->equals); | |
(record->print)->_nhp_destructor(record->print); | |
free(record); | |
} | |
_nhp_record_variable___t* copy_record_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer) { | |
_nhp_record_variable___t* copied_record = malloc(sizeof(_nhp_record_variable___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->id = copy_record_nhp_record_parsing_identifier__(record->id, copied_record->_nhp_responsible_destroyer); | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->derive = (record->derive)->_nhp_record_copier(record->derive, copied_record); | |
copied_record->equals = (record->equals)->_nhp_record_copier(record->equals, copied_record); | |
copied_record->print = (record->print)->_nhp_record_copier(record->print, copied_record); | |
return copied_record; | |
} | |
_nhp_record_variable___t* borrow_record_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_variable___t* change_resp_owner_nhp_record_variable__(_nhp_record_variable___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->id = change_resp_owner_nhp_record_parsing_identifier__(record->id, record->_nhp_responsible_destroyer); | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->derive = (record->derive)->_nhp_resp_mutator(record->derive, record->_nhp_responsible_destroyer); | |
record->equals = (record->equals)->_nhp_resp_mutator(record->equals, record->_nhp_responsible_destroyer); | |
record->print = (record->print)->_nhp_resp_mutator(record->print, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
_nhp_record_derivative___t* construct__nhp_record_derivative__(_nhp_record_variable___t* param0, _nhp_record_variable___t* param1, long param2, void* responsible_destroyer) { | |
_nhp_record_derivative___t* _nhp_self = malloc(sizeof(_nhp_record_derivative___t)); | |
_nhp_self->_nhp_ref_count = 0; | |
_nhp_self->_nhp_lock = 0; | |
_nhp_self->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : _nhp_self); | |
_nhp_self->__init__ = capture_derivative___init___anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->print = capture_derivative_print_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->derive = capture_derivative_derive_anon_capture(_nhp_self, _nhp_self->_nhp_responsible_destroyer); | |
_nhp_self->__init__->_nhp_this_anon(_nhp_self->__init__, param0, param1, param2); | |
return _nhp_self; | |
} | |
void free_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* child_agent) { | |
if(record->_nhp_lock || record->_nhp_responsible_destroyer == child_agent) | |
return; | |
if(record->_nhp_ref_count) { | |
record->_nhp_ref_count--; | |
return; | |
} | |
record->_nhp_lock = 1; | |
free_record_nhp_record_variable__(record->toDerive, NULL); | |
free_record_nhp_record_variable__(record->respectTo, NULL); | |
(record->__init__)->_nhp_destructor(record->__init__); | |
(record->print)->_nhp_destructor(record->print); | |
(record->derive)->_nhp_destructor(record->derive); | |
free(record); | |
} | |
_nhp_record_derivative___t* copy_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer) { | |
_nhp_record_derivative___t* copied_record = malloc(sizeof(_nhp_record_derivative___t)); | |
copied_record->_nhp_ref_count = 0; | |
copied_record->_nhp_lock = 0; | |
copied_record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : copied_record); | |
copied_record->toDerive = copy_record_nhp_record_variable__(record->toDerive, copied_record->_nhp_responsible_destroyer); | |
copied_record->respectTo = copy_record_nhp_record_variable__(record->respectTo, copied_record->_nhp_responsible_destroyer); | |
copied_record->degree = record->degree; | |
copied_record->__init__ = (record->__init__)->_nhp_record_copier(record->__init__, copied_record); | |
copied_record->print = (record->print)->_nhp_record_copier(record->print, copied_record); | |
copied_record->derive = (record->derive)->_nhp_record_copier(record->derive, copied_record); | |
return copied_record; | |
} | |
_nhp_record_derivative___t* borrow_record_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer) { | |
if(record->_nhp_responsible_destroyer != responsible_destroyer) { | |
record->_nhp_ref_count++; | |
} | |
return record; | |
} | |
_nhp_record_derivative___t* change_resp_owner_nhp_record_derivative__(_nhp_record_derivative___t* record, void* responsible_destroyer) { | |
if(record->_nhp_lock) | |
return record; | |
record->_nhp_lock = 1; | |
record->_nhp_responsible_destroyer = (responsible_destroyer ? responsible_destroyer : record); | |
record->toDerive = change_resp_owner_nhp_record_variable__(record->toDerive, record->_nhp_responsible_destroyer); | |
record->respectTo = change_resp_owner_nhp_record_variable__(record->respectTo, record->_nhp_responsible_destroyer); | |
record->degree = record->degree; | |
record->__init__ = (record->__init__)->_nhp_resp_mutator(record->__init__, record->_nhp_responsible_destroyer); | |
record->print = (record->print)->_nhp_resp_mutator(record->print, record->_nhp_responsible_destroyer); | |
record->derive = (record->derive)->_nhp_resp_mutator(record->derive, record->_nhp_responsible_destroyer); | |
record->_nhp_lock = 0; | |
return record; | |
} | |
void data_list___init___char_as_T_anon_capture(data_list___init___char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_capacity) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->capacity = _nhp_var_capacity); | |
{ | |
_nhp_record_data_list_char__t* record = _nhp_var_self; | |
void* value = malloc((_nhp_var_capacity * sizeof(char))); | |
record->buffer = value; | |
} | |
} | |
void data_list___del___char_as_T_anon_capture(data_list___del___char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
} | |
} | |
free(_nhp_var_self->buffer); | |
} | |
_nhp_record_data_list_char__t* data_list___copy___char_as_T_anon_capture(data_list___copy___char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_record_data_list_char__t* _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var_copied; | |
(_nhp_var_copied = construct__nhp_record_data_list_char_(_nhp_var_self->count, NULL)); | |
(_nhp_var_copied->count = _nhp_var_self->count); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
(((char*)_nhp_var_copied->buffer)[_nhp_var_i] = ((char*)_nhp_var_self->buffer)[_nhp_var_i]); | |
} | |
} | |
_nhp_toret = _nhp_var_copied; | |
return _nhp_toret; | |
} | |
void data_list_clear_char_as_T_anon_capture(data_list_clear_char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
} | |
} | |
(_nhp_var_self->count = 0); | |
} | |
char data_list_getAtIndex_char_as_T_anon_capture(data_list_getAtIndex_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_i) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
if(((_nhp_var_i < 0) || (_nhp_var_i >= _nhp_var_self->count))) { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Index out of range.", 19); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
_nhp_toret = ((char*)_nhp_var_self->buffer)[_nhp_var_i]; | |
return _nhp_toret; | |
} | |
char data_list_getAtIndex_char_as_T(long _nhp_var_i, _nhp_record_data_list_char__t* _nhp_var_self) { | |
char _nhp_toret; | |
if(((_nhp_var_i < 0) || (_nhp_var_i >= _nhp_var_self->count))) { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Index out of range.", 19); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
_nhp_toret = ((char*)_nhp_var_self->buffer)[_nhp_var_i]; | |
return _nhp_toret; | |
} | |
char data_list_setAtIndex_char_as_T_anon_capture(data_list_setAtIndex_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_i, char _nhp_var_elem) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
if(((_nhp_var_i < 0) || (_nhp_var_i >= _nhp_var_self->count))) { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Index out of range.", 19); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
_nhp_toret = (((char*)_nhp_var_self->buffer)[_nhp_var_i] = _nhp_var_elem); | |
return _nhp_toret; | |
} | |
_nhp_record_data_list_char__t* data_list_add_char_as_T_anon_capture(data_list_add_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_record_data_list_char__t* _nhp_var_toadd) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_record_data_list_char__t* _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var_res; | |
(_nhp_var_res = construct__nhp_record_data_list_char_((_nhp_var_self->count + _nhp_var_toadd->count), NULL)); | |
_nhp_var_res->addRange->_nhp_this_anon(_nhp_var_res->addRange, _nhp_var_self); | |
_nhp_var_res->addRange->_nhp_this_anon(_nhp_var_res->addRange, _nhp_var_toadd); | |
_nhp_toret = _nhp_var_res; | |
return _nhp_toret; | |
} | |
void data_list_ensureCapacity_char_as_T_anon_capture(data_list_ensureCapacity_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_capacity) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
if((_nhp_var_self->capacity < _nhp_var_capacity)) { | |
(_nhp_var_self->capacity = (_nhp_var_capacity + 10)); | |
{ | |
_nhp_record_data_list_char__t* record = _nhp_var_self; | |
void* value = realloc(_nhp_var_self->buffer, (_nhp_var_self->capacity * sizeof(char))); | |
(record->buffer = value); | |
} | |
} | |
} | |
void data_list_ensureCapacity_char_as_T(long _nhp_var_capacity, _nhp_record_data_list_char__t* _nhp_var_self) { | |
if((_nhp_var_self->capacity < _nhp_var_capacity)) { | |
(_nhp_var_self->capacity = (_nhp_var_capacity + 10)); | |
{ | |
_nhp_record_data_list_char__t* record = _nhp_var_self; | |
void* value = realloc(_nhp_var_self->buffer, (_nhp_var_self->capacity * sizeof(char))); | |
(record->buffer = value); | |
} | |
} | |
} | |
void data_list_pushFront_char_as_T_anon_capture(data_list_pushFront_char_as_T_anon_capture_captured_t* _nhp_captured, char _nhp_var_elem) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
data_list_ensureCapacity_char_as_T((_nhp_var_self->count + 1), _nhp_var_self); | |
memcpy(((void*)(((long)_nhp_var_self->buffer) + sizeof(char))), _nhp_var_self->buffer, (_nhp_var_self->count * sizeof(char))); | |
(((char*)_nhp_var_self->buffer)[0] = _nhp_var_elem); | |
(_nhp_var_self->count = (_nhp_var_self->count + 1)); | |
} | |
void data_list_pushBack_char_as_T_anon_capture(data_list_pushBack_char_as_T_anon_capture_captured_t* _nhp_captured, char _nhp_var_elem) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
data_list_ensureCapacity_char_as_T((_nhp_var_self->count + 1), _nhp_var_self); | |
(((char*)_nhp_var_self->buffer)[_nhp_var_self->count] = _nhp_var_elem); | |
(_nhp_var_self->count = (_nhp_var_self->count + 1)); | |
} | |
void data_list_insert_char_as_T_anon_capture(data_list_insert_char_as_T_anon_capture_captured_t* _nhp_captured, long _nhp_var_index, char _nhp_var_elem) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
data_list_ensureCapacity_char_as_T((_nhp_var_self->count + 1), _nhp_var_self); | |
memcpy(((void*)(((long)_nhp_var_self->buffer) + ((_nhp_var_index + 1) * sizeof(char)))), ((void*)(((long)_nhp_var_self->buffer) + (_nhp_var_index * sizeof(char)))), ((_nhp_var_self->count - _nhp_var_index) * sizeof(char))); | |
(((char*)_nhp_var_self->buffer)[_nhp_var_index] = _nhp_var_elem); | |
(_nhp_var_self->count = (_nhp_var_self->count + 1)); | |
} | |
void data_list_addBuffer_char_as_T_anon_capture(data_list_addBuffer_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var_buf) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
data_list_ensureCapacity_char_as_T((_nhp_var_self->count + _nhp_var_buf.length), _nhp_var_self); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_buf.length - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
(((char*)_nhp_var_self->buffer)[(_nhp_var_self->count + _nhp_var_i)] = _nhp_var_buf.buffer[_nhp_bounds_check(_nhp_var_i, _nhp_var_buf.length, "File \"E:\\calcgod2\\stdlib\\list.nhp\", row 83, col 45", "buf[i]")]); | |
} | |
} | |
(_nhp_var_self->count = (_nhp_var_self->count + _nhp_var_buf.length)); | |
} | |
void data_list_addRange_char_as_T_anon_capture(data_list_addRange_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_record_data_list_char__t* _nhp_var_range) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
data_list_ensureCapacity_char_as_T((_nhp_var_self->count + _nhp_var_range->count), _nhp_var_self); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_range->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
(((char*)_nhp_var_self->buffer)[(_nhp_var_self->count + _nhp_var_i)] = ((char*)_nhp_var_range->buffer)[_nhp_var_i]); | |
} | |
} | |
(_nhp_var_self->count = (_nhp_var_self->count + _nhp_var_range->count)); | |
} | |
int data_list_remove_char_as_T_anon_capture(data_list_remove_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_compare) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
int _nhp_toret; | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
if(_nhp_var_compare->_nhp_this_anon(_nhp_var_compare, ((char*)_nhp_var_self->buffer)[_nhp_var_i])) { | |
memcpy(((void*)(((long)_nhp_var_self->buffer) + (_nhp_var_i * sizeof(char)))), ((void*)(((long)_nhp_var_self->buffer) + ((_nhp_var_i + 1) * sizeof(char)))), ((_nhp_var_self->count - (_nhp_var_i + 1)) * sizeof(char))); | |
(_nhp_var_self->count = (_nhp_var_self->count - 1)); | |
_nhp_toret = 1; | |
return _nhp_toret; | |
} | |
} | |
} | |
_nhp_toret = 0; | |
return _nhp_toret; | |
} | |
char data_list_popFront_char_as_T_anon_capture(data_list_popFront_char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
char _nhp_var_popped; | |
(_nhp_var_popped = data_list_getAtIndex_char_as_T(0, _nhp_var_self)); | |
{ | |
void* _nhp_argbuf_00 = _nhp_var_self->buffer; | |
void* _nhp_argbuf_10 = ((void*)(((long)_nhp_var_self->buffer) + sizeof(char))); | |
long _nhp_argbuf_20 = (_nhp_var_self->count = (_nhp_var_self->count - 1)); | |
memcpy(_nhp_argbuf_00, _nhp_argbuf_10, _nhp_argbuf_20); | |
} | |
_nhp_toret = _nhp_var_popped; | |
return _nhp_toret; | |
} | |
char data_list_popBack_char_as_T_anon_capture(data_list_popBack_char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
char _nhp_var_popped; | |
(_nhp_var_popped = data_list_getAtIndex_char_as_T((_nhp_var_self->count - 1), _nhp_var_self)); | |
(_nhp_var_self->count = (_nhp_var_self->count - 1)); | |
_nhp_toret = _nhp_var_popped; | |
return _nhp_toret; | |
} | |
_nhp_array_char_t data_list_toArray_char_as_T_anon_capture(data_list_toArray_char_as_T_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_array_char_t _nhp_toret; | |
_nhp_toret = marshal_nhp_array_char(_nhp_var_self->buffer, _nhp_var_self->count); | |
return _nhp_toret; | |
} | |
void data_list_forall_char_as_T_anon_capture(data_list_forall_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo11_info_t* _nhp_var_todo) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
_nhp_var_todo->_nhp_this_anon(_nhp_var_todo, ((char*)_nhp_var_self->buffer)[_nhp_var_i]); | |
} | |
} | |
} | |
void data_list_sort_char_as_T_anon_capture(data_list_sort_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo26_info_t* _nhp_var_compare) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
int _nhp_var_sorted; | |
void* _nhp_var_tempBuf; | |
(_nhp_var_sorted = 0); | |
(_nhp_var_tempBuf = malloc(sizeof(char))); | |
while((_nhp_var_sorted == 0)) { | |
(_nhp_var_sorted = 1); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (1 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
if((_nhp_var_compare->_nhp_this_anon(_nhp_var_compare, ((char*)_nhp_var_self->buffer)[_nhp_var_i], ((char*)_nhp_var_self->buffer)[(_nhp_var_i - 1)]) < 0)) { | |
long _nhp_var_larger; | |
long _nhp_var_smaller; | |
(_nhp_var_larger = (((long)_nhp_var_self->buffer) + ((_nhp_var_i - 1) * sizeof(char)))); | |
(_nhp_var_smaller = (((long)_nhp_var_self->buffer) + (_nhp_var_i * sizeof(char)))); | |
memcpy(_nhp_var_tempBuf, ((void*)_nhp_var_larger), sizeof(char)); | |
memcpy(((void*)_nhp_var_larger), ((void*)_nhp_var_smaller), sizeof(char)); | |
memcpy(((void*)_nhp_var_smaller), _nhp_var_tempBuf, sizeof(char)); | |
(_nhp_var_sorted = 0); | |
} | |
} | |
} | |
} | |
free(_nhp_var_tempBuf); | |
} | |
_nhp_record_data_list_char__t* data_list_map_char_as_T_anon_capture(data_list_map_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo28_info_t* _nhp_var_transform) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_record_data_list_char__t* _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var_mapped; | |
(_nhp_var_mapped = construct__nhp_record_data_list_char_(_nhp_var_self->count, NULL)); | |
(_nhp_var_mapped->count = _nhp_var_self->count); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
(((char*)_nhp_var_mapped->buffer)[_nhp_var_i] = _nhp_var_transform->_nhp_this_anon(_nhp_var_transform, ((char*)_nhp_var_self->buffer)[_nhp_var_i])); | |
} | |
} | |
_nhp_toret = _nhp_var_mapped; | |
return _nhp_toret; | |
} | |
_nhp_record_data_list_char__t* data_list_filter_char_as_T_anon_capture(data_list_filter_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_keep) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_record_data_list_char__t* _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var_kept; | |
(_nhp_var_kept = construct__nhp_record_data_list_char_(_nhp_var_self->count, NULL)); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
if(_nhp_var_keep->_nhp_this_anon(_nhp_var_keep, ((char*)_nhp_var_self->buffer)[_nhp_var_i])) { | |
_nhp_var_kept->pushBack->_nhp_this_anon(_nhp_var_kept->pushBack, ((char*)_nhp_var_self->buffer)[_nhp_var_i]); | |
} | |
} | |
} | |
_nhp_toret = _nhp_var_kept; | |
return _nhp_toret; | |
} | |
char data_list_reduce_char_as_T_anon_capture(data_list_reduce_char_as_T_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo31_info_t* _nhp_var_combine) { | |
_nhp_record_data_list_char__t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
char _nhp_var_accum; | |
(_nhp_var_accum = data_list_getAtIndex_char_as_T(0, _nhp_var_self)); | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (1 - 1)); | |
long _nhp_upper_i = (_nhp_var_self->count - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
(_nhp_var_accum = _nhp_var_combine->_nhp_this_anon(_nhp_var_combine, _nhp_var_accum, ((char*)_nhp_var_self->buffer)[_nhp_var_i])); | |
} | |
} | |
_nhp_toret = _nhp_var_accum; | |
return _nhp_toret; | |
} | |
void io_writer___init___anon_capture(io_writer___init___anon_capture_captured_t* _nhp_captured, void* _nhp_var_ptr) { | |
_nhp_record_io_writer___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->ptr = _nhp_var_ptr); | |
} | |
void io_writer_write_anon_capture(io_writer_write_anon_capture_captured_t* _nhp_captured, _nhp_enum_io_writable___t _nhp_var_towrite) { | |
_nhp_record_io_writer___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
switch(_nhp_var_towrite.option) { | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__: { | |
_nhp_interface_io_stringableObj___t _nhp_var_obj = _nhp_var_towrite.data._nhp_interface_io_stringableObj___set; | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = _nhp_var_obj.toString->_nhp_this_anon(_nhp_var_obj.toString)).buffer; | |
long _nhp_argbuf_20 = _nhp_var_msg.length; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, _nhp_argbuf_20, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__: { | |
_nhp_interface_io_writeableObj___t _nhp_var_obj = _nhp_var_towrite.data._nhp_interface_io_writeableObj___set; | |
_nhp_var_obj.writeBack->_nhp_this_anon(_nhp_var_obj.writeBack, _nhp_var_self); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION__nhp_array_char: { | |
_nhp_array_char_t _nhp_var_msg = _nhp_var_towrite.data._nhp_array_char_set; | |
fwrite(_nhp_var_msg.buffer, 1, _nhp_var_msg.length, _nhp_var_self->ptr); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_char: { | |
char _nhp_var_c = _nhp_var_towrite.data.char_set; | |
fputc(_nhp_var_c, _nhp_var_self->ptr); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_int: { | |
long _nhp_var_i = _nhp_var_towrite.data.int_set; | |
_nhp_array_char_t _nhp_var_fmt; | |
{ | |
void* _nhp_argbuf_00 = _nhp_var_self->ptr; | |
void* _nhp_argbuf_10 = (_nhp_var_fmt = marshal_nhp_array_char("%li\0", 4)).buffer; | |
long _nhp_argbuf_20 = _nhp_var_i; | |
fprintf(_nhp_argbuf_00, _nhp_argbuf_10, _nhp_argbuf_20); | |
} | |
free(_nhp_var_fmt.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_dec: { | |
double _nhp_var_d = _nhp_var_towrite.data.dec_set; | |
_nhp_array_char_t _nhp_var_fmt; | |
{ | |
void* _nhp_argbuf_00 = _nhp_var_self->ptr; | |
void* _nhp_argbuf_10 = (_nhp_var_fmt = marshal_nhp_array_char("%f\0", 3)).buffer; | |
double _nhp_argbuf_20 = _nhp_var_d; | |
fprintf(_nhp_argbuf_00, _nhp_argbuf_10, _nhp_argbuf_20); | |
} | |
free(_nhp_var_fmt.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_bool: { | |
int _nhp_var_b = _nhp_var_towrite.data.bool_set; | |
if(_nhp_var_b) { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("True", 4)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 4, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
} | |
else { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("False", 5)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 5, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
} | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_nothing: { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("None", 4)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 4, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
break; | |
} | |
} | |
} | |
void io_writer_write(_nhp_enum_io_writable___t _nhp_var_towrite, _nhp_record_io_writer___t* _nhp_var_self) { | |
switch(_nhp_var_towrite.option) { | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_stringableObj__: { | |
_nhp_interface_io_stringableObj___t _nhp_var_obj = _nhp_var_towrite.data._nhp_interface_io_stringableObj___set; | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = _nhp_var_obj.toString->_nhp_this_anon(_nhp_var_obj.toString)).buffer; | |
long _nhp_argbuf_20 = _nhp_var_msg.length; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, _nhp_argbuf_20, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION__nhp_interface_io_writeableObj__: { | |
_nhp_interface_io_writeableObj___t _nhp_var_obj = _nhp_var_towrite.data._nhp_interface_io_writeableObj___set; | |
_nhp_var_obj.writeBack->_nhp_this_anon(_nhp_var_obj.writeBack, _nhp_var_self); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION__nhp_array_char: { | |
_nhp_array_char_t _nhp_var_msg = _nhp_var_towrite.data._nhp_array_char_set; | |
fwrite(_nhp_var_msg.buffer, 1, _nhp_var_msg.length, _nhp_var_self->ptr); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_char: { | |
char _nhp_var_c = _nhp_var_towrite.data.char_set; | |
fputc(_nhp_var_c, _nhp_var_self->ptr); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_int: { | |
long _nhp_var_i = _nhp_var_towrite.data.int_set; | |
_nhp_array_char_t _nhp_var_fmt; | |
{ | |
void* _nhp_argbuf_00 = _nhp_var_self->ptr; | |
void* _nhp_argbuf_10 = (_nhp_var_fmt = marshal_nhp_array_char("%li\0", 4)).buffer; | |
long _nhp_argbuf_20 = _nhp_var_i; | |
fprintf(_nhp_argbuf_00, _nhp_argbuf_10, _nhp_argbuf_20); | |
} | |
free(_nhp_var_fmt.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_dec: { | |
double _nhp_var_d = _nhp_var_towrite.data.dec_set; | |
_nhp_array_char_t _nhp_var_fmt; | |
{ | |
void* _nhp_argbuf_00 = _nhp_var_self->ptr; | |
void* _nhp_argbuf_10 = (_nhp_var_fmt = marshal_nhp_array_char("%f\0", 3)).buffer; | |
double _nhp_argbuf_20 = _nhp_var_d; | |
fprintf(_nhp_argbuf_00, _nhp_argbuf_10, _nhp_argbuf_20); | |
} | |
free(_nhp_var_fmt.buffer); | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_bool: { | |
int _nhp_var_b = _nhp_var_towrite.data.bool_set; | |
if(_nhp_var_b) { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("True", 4)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 4, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
} | |
else { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("False", 5)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 5, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
} | |
break; | |
} | |
case _nhp_enum_io_writable__OPTION_nothing: { | |
_nhp_array_char_t _nhp_var_msg; | |
{ | |
void* _nhp_argbuf_00 = (_nhp_var_msg = marshal_nhp_array_char("None", 4)).buffer; | |
void* _nhp_argbuf_30 = _nhp_var_self->ptr; | |
fwrite(_nhp_argbuf_00, 1, 4, _nhp_argbuf_30); | |
} | |
free(_nhp_var_msg.buffer); | |
break; | |
} | |
} | |
} | |
void io_writer_writeLine_anon_capture(io_writer_writeLine_anon_capture_captured_t* _nhp_captured, _nhp_enum_io_writable___t _nhp_var_towrite) { | |
_nhp_record_io_writer___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
io_writer_write(_nhp_var_towrite, _nhp_var_self); | |
fputc('\n', _nhp_var_self->ptr); | |
} | |
void io_writer_writeChar_anon_capture(io_writer_writeChar_anon_capture_captured_t* _nhp_captured, char _nhp_var_b) { | |
_nhp_record_io_writer___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
fputc(_nhp_var_b, _nhp_var_self->ptr); | |
} | |
_nhp_record_io_writer___t* io_output() { | |
_nhp_record_io_writer___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_io_writer__(stdout, NULL); | |
return _nhp_toret; | |
} | |
void io_print(_nhp_enum_io_writable___t _nhp_var_toWrite) { | |
_nhp_record_io_writer___t* _nhp_var_out; | |
(_nhp_var_out = io_output()); | |
_nhp_var_out->writeLine->_nhp_this_anon(_nhp_var_out->writeLine, _nhp_var_toWrite); | |
free_record_nhp_record_io_writer__(_nhp_var_out, NULL); | |
} | |
_nhp_record_binOp___t* arithop_add(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_binOp__(_nhp_var_lhs, _nhp_var_rhs, 0, 0, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_sub(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_binOp__(_nhp_var_lhs, _nhp_var_rhs, 1, 0, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_mul(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_binOp__(_nhp_var_lhs, _nhp_var_rhs, 2, 1, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_div(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_binOp__(_nhp_var_lhs, _nhp_var_rhs, 3, 1, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_pow(_nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_binOp__(_nhp_var_lhs, _nhp_var_rhs, 4, 2, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_ln(_nhp_enum_operand___t _nhp_var_a) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = ({_nhp_enum_operand___t _nhp_argbuf_11 = marshal_nhp_enum_operand___with__nhp_record_constant__(constants_e()); | |
_nhp_record_binOp___t* _nhp_res1 = construct__nhp_record_binOp__(_nhp_var_a, _nhp_argbuf_11, 5, 3, NULL);free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;}); | |
return _nhp_toret; | |
} | |
_nhp_record_binOp___t* arithop_negate(_nhp_enum_operand___t _nhp_var_a) { | |
_nhp_record_binOp___t* _nhp_toret; | |
_nhp_toret = ({_nhp_enum_operand___t _nhp_argbuf_01 = marshal_nhp_enum_operand___with__nhp_record_constant__(constants_zero()); | |
_nhp_record_binOp___t* _nhp_res1 = construct__nhp_record_binOp__(_nhp_argbuf_01, _nhp_var_a, 1, 0, NULL);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
_nhp_res1;}); | |
return _nhp_toret; | |
} | |
void binOp___init___anon_capture(binOp___init___anon_capture_captured_t* _nhp_captured, _nhp_enum_operand___t _nhp_var_lhs, _nhp_enum_operand___t _nhp_var_rhs, long _nhp_var_op, long _nhp_var_prec) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->lhs = copy_enum_nhp_enum_operand__(_nhp_var_lhs, _nhp_var_self->_nhp_responsible_destroyer)); | |
(_nhp_var_self->rhs = copy_enum_nhp_enum_operand__(_nhp_var_rhs, _nhp_var_self->_nhp_responsible_destroyer)); | |
(_nhp_var_self->op = _nhp_var_op); | |
(_nhp_var_self->prec = _nhp_var_prec); | |
(_nhp_var_self->derivers = marshal_nhp_array__nhp_anonProcTypeNo0((_nhp_anonProcTypeNo0_info_t*[]){capture_binOp_deriveAdd_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer), capture_binOp_deriveSub_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer), capture_binOp_deriveMul_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer), capture_binOp_deriveDiv_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer), capture_binOp_derivePow_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer), capture_binOp_deriveLog_anon_capture(_nhp_var_self, _nhp_var_self->_nhp_responsible_destroyer)}, 6, _nhp_var_self->_nhp_responsible_destroyer)); | |
} | |
_nhp_enum_operand___t binOp_deriveAdd_anon_capture(binOp_deriveAdd_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_11 = get_derive_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->rhs), _nhp_var_respectTo); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_add(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_deriveSub_anon_capture(binOp_deriveSub_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_11 = get_derive_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->rhs), _nhp_var_respectTo); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_sub(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_deriveMul_anon_capture(binOp_deriveMul_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = get_derive_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->rhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_12 = _nhp_var_self->lhs; | |
_nhp_record_binOp___t* _nhp_res2 = arithop_mul(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_02); | |
_nhp_res2;})); | |
_nhp_enum_operand___t _nhp_argbuf_11 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_12 = _nhp_var_self->rhs; | |
_nhp_record_binOp___t* _nhp_res2 = arithop_mul(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_02); | |
_nhp_res2;})); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_add(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_deriveDiv_anon_capture(binOp_deriveDiv_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_03 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_13 = _nhp_var_self->rhs; | |
_nhp_record_binOp___t* _nhp_res3 = arithop_mul(_nhp_argbuf_03, _nhp_argbuf_13);free_enum_nhp_enum_operand__(_nhp_argbuf_03); | |
_nhp_res3;})); | |
_nhp_enum_operand___t _nhp_argbuf_12 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_03 = get_derive_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->rhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_13 = _nhp_var_self->lhs; | |
_nhp_record_binOp___t* _nhp_res3 = arithop_mul(_nhp_argbuf_03, _nhp_argbuf_13);free_enum_nhp_enum_operand__(_nhp_argbuf_03); | |
_nhp_res3;})); | |
_nhp_record_binOp___t* _nhp_res2 = arithop_sub(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_02); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_12); | |
_nhp_res2;})); | |
_nhp_enum_operand___t _nhp_argbuf_11 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = _nhp_var_self->rhs; | |
_nhp_enum_operand___t _nhp_argbuf_12 = marshal_nhp_enum_operand___with__nhp_record_constant__(construct__nhp_record_constant__(((double)2), NULL)); | |
_nhp_record_binOp___t* _nhp_res2 = arithop_pow(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_12); | |
_nhp_res2;})); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_div(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_derivePow_anon_capture(binOp_derivePow_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = _nhp_var_self->rhs; | |
_nhp_enum_operand___t _nhp_argbuf_12 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_03 = _nhp_var_self->lhs; | |
_nhp_enum_operand___t _nhp_argbuf_13 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_04 = _nhp_var_self->rhs; | |
_nhp_enum_operand___t _nhp_argbuf_14 = marshal_nhp_enum_operand___with__nhp_record_constant__(construct__nhp_record_constant__(((double)1), NULL)); | |
_nhp_record_binOp___t* _nhp_res4 = arithop_sub(_nhp_argbuf_04, _nhp_argbuf_14);free_enum_nhp_enum_operand__(_nhp_argbuf_14); | |
_nhp_res4;})); | |
_nhp_record_binOp___t* _nhp_res3 = arithop_mul(_nhp_argbuf_03, _nhp_argbuf_13);free_enum_nhp_enum_operand__(_nhp_argbuf_13); | |
_nhp_res3;})); | |
_nhp_record_binOp___t* _nhp_res2 = arithop_mul(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_12); | |
_nhp_res2;})); | |
_nhp_enum_operand___t _nhp_argbuf_11 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_mul(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_deriveLog_anon_capture(binOp_deriveLog_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = get_derive_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_derive_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_respectTo); | |
_nhp_enum_operand___t _nhp_argbuf_11 = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_02 = _nhp_var_self->lhs; | |
_nhp_enum_operand___t _nhp_argbuf_12 = marshal_nhp_enum_operand___with__nhp_record_binOp__(arithop_ln(_nhp_var_self->rhs)); | |
_nhp_record_binOp___t* _nhp_res2 = arithop_mul(_nhp_argbuf_02, _nhp_argbuf_12);free_enum_nhp_enum_operand__(_nhp_argbuf_12); | |
_nhp_res2;})); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_div(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
_nhp_enum_operand___t binOp_derive_anon_capture(binOp_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = _nhp_var_self->derivers.buffer[_nhp_bounds_check(_nhp_var_self->op, _nhp_var_self->derivers.length, "File \"E:\\calcgod2\\src\\op.nhp\", row 51, col 15", "self.derivers[self.op]")]->_nhp_this_anon(_nhp_var_self->derivers.buffer[_nhp_bounds_check(_nhp_var_self->op, _nhp_var_self->derivers.length, "File \"E:\\calcgod2\\src\\op.nhp\", row 51, col 15", "self.derivers[self.op]")], _nhp_var_respectTo); | |
return _nhp_toret; | |
} | |
void binOp_print_printNoParen(_nhp_record_binOp___t* _nhp_var_self) { | |
if((_nhp_var_self->op == 5)) { | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with__nhp_array_char(marshal_nhp_array_char("log", 3)); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
get_print_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_print_nhp_enum_operand__(_nhp_var_self->rhs), 0); | |
get_print_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_print_nhp_enum_operand__(_nhp_var_self->lhs), 4); | |
} | |
else { | |
get_print_nhp_enum_operand__(_nhp_var_self->lhs)->_nhp_this_anon(get_print_nhp_enum_operand__(_nhp_var_self->lhs), _nhp_var_self->prec); | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with__nhp_array_char(marshal_nhp_array_char(_nhp_var_self->opStrs.buffer[_nhp_bounds_check(_nhp_var_self->op, _nhp_var_self->opStrs.length, "File \"E:\\calcgod2\\src\\op.nhp\", row 61, col 20", "self.opStrs[self.op]")].buffer, _nhp_var_self->opStrs.buffer[_nhp_bounds_check(_nhp_var_self->op, _nhp_var_self->opStrs.length, "File \"E:\\calcgod2\\src\\op.nhp\", row 61, col 20", "self.opStrs[self.op]")].length)); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
get_print_nhp_enum_operand__(_nhp_var_self->rhs)->_nhp_this_anon(get_print_nhp_enum_operand__(_nhp_var_self->rhs), _nhp_var_self->prec); | |
} | |
} | |
void binOp_print_anon_capture(binOp_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) { | |
_nhp_record_binOp___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
if((_nhp_var_self->prec < _nhp_var_prec)) { | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_char('('); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
binOp_print_printNoParen(_nhp_var_self); | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_char(')'); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
} | |
else { | |
binOp_print_printNoParen(_nhp_var_self); | |
} | |
} | |
long hash_dj2b(_nhp_array_char_t _nhp_var_str) { | |
long _nhp_toret; | |
long _nhp_var_h; | |
long _nhp_var_i; | |
(_nhp_var_h = 5381); | |
(_nhp_var_i = 0); | |
while((_nhp_var_i < _nhp_var_str.length)) { | |
(_nhp_var_h = ((_nhp_var_h * 33) + _nhp_var_str.buffer[_nhp_bounds_check(_nhp_var_i, _nhp_var_str.length, "File \"E:\\calcgod2\\src\\hash.nhp\", row 6, col 21", "str[i]")])); | |
(_nhp_var_i = (_nhp_var_i + 1)); | |
} | |
_nhp_toret = _nhp_var_h; | |
return _nhp_toret; | |
} | |
long arrayUtils_contains_char_as_T(_nhp_array_char_t _nhp_var_buf, _nhp_anonProcTypeNo14_info_t* _nhp_var_predicate) { | |
long _nhp_toret; | |
{ | |
long _nhp_var_i; | |
(_nhp_var_i = (0 - 1)); | |
long _nhp_upper_i = (_nhp_var_buf.length - 1); | |
while((++_nhp_var_i) <= _nhp_upper_i) { | |
if(_nhp_var_predicate->_nhp_this_anon(_nhp_var_predicate, _nhp_var_buf.buffer[_nhp_bounds_check(_nhp_var_i, _nhp_var_buf.length, "File \"E:\\calcgod2\\src\\parse.nhp\", row 10, col 21", "buf[i]")])) { | |
_nhp_toret = _nhp_var_i; | |
return _nhp_toret; | |
} | |
} | |
} | |
_nhp_toret = (0 - 1); | |
return _nhp_toret; | |
} | |
void parsing_identifier___init___anon_capture(parsing_identifier___init___anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var_id) { | |
_nhp_record_parsing_identifier___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->id = marshal_nhp_array_char(_nhp_var_id.buffer, _nhp_var_id.length)); | |
{ | |
_nhp_record_parsing_identifier___t* record = _nhp_var_self; | |
long value = hash_dj2b(_nhp_var_id); | |
record->hash = value; | |
} | |
} | |
int parsing_identifier_equals_anon_capture(parsing_identifier_equals_anon_capture_captured_t* _nhp_captured, _nhp_record_parsing_identifier___t* _nhp_var_id) { | |
_nhp_record_parsing_identifier___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
int _nhp_toret; | |
_nhp_toret = (_nhp_var_self->hash == _nhp_var_id->hash); | |
return _nhp_toret; | |
} | |
_nhp_array_char_t parsing_identifier_toString_anon_capture(parsing_identifier_toString_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_parsing_identifier___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_array_char_t _nhp_toret; | |
_nhp_toret = marshal_nhp_array_char(_nhp_var_self->id.buffer, _nhp_var_self->id.length); | |
return _nhp_toret; | |
} | |
void parsing_scanner___init___anon_capture(parsing_scanner___init___anon_capture_captured_t* _nhp_captured, _nhp_array_char_t _nhp_var__buffer) { | |
_nhp_record_parsing_scanner___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->_buffer = marshal_nhp_array_char(_nhp_var__buffer.buffer, _nhp_var__buffer.length)); | |
{ | |
_nhp_record_parsing_scanner___t* record = _nhp_var_self; | |
char value = parsing_scanner_scanChar(_nhp_var_self); | |
(record->lastChar = value); | |
} | |
{ | |
_nhp_record_parsing_scanner___t* record = _nhp_var_self; | |
_nhp_enum_parsing_token___t value = change_resp_owner_nhp_enum_parsing_token__(parsing_scanner_scanTok(_nhp_var_self), record->_nhp_responsible_destroyer); | |
({_nhp_enum_parsing_token___t _nhp_es_move_temp = record->lastTok; record->lastTok = value; free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
record->lastTok;}); | |
} | |
} | |
char parsing_scanner_scanChar(_nhp_record_parsing_scanner___t* _nhp_var_self) { | |
char _nhp_toret; | |
if((_nhp_var_self->pos == _nhp_var_self->_buffer.length)) { | |
(_nhp_var_self->lastChar = ((char)0)); | |
} | |
else { | |
(_nhp_var_self->lastChar = _nhp_var_self->_buffer.buffer[_nhp_bounds_check(_nhp_var_self->pos, _nhp_var_self->_buffer.length, "File \"E:\\calcgod2\\src\\parse.nhp\", row 48, col 26", "self._buffer[self.pos]")]); | |
(_nhp_var_self->pos = (_nhp_var_self->pos + 1)); | |
} | |
_nhp_toret = _nhp_var_self->lastChar; | |
return _nhp_toret; | |
} | |
char parsing_scanner_scanChar_anon_capture(parsing_scanner_scanChar_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_parsing_scanner___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
char _nhp_toret; | |
if((_nhp_var_self->pos == _nhp_var_self->_buffer.length)) { | |
(_nhp_var_self->lastChar = ((char)0)); | |
} | |
else { | |
(_nhp_var_self->lastChar = _nhp_var_self->_buffer.buffer[_nhp_bounds_check(_nhp_var_self->pos, _nhp_var_self->_buffer.length, "File \"E:\\calcgod2\\src\\parse.nhp\", row 48, col 26", "self._buffer[self.pos]")]); | |
(_nhp_var_self->pos = (_nhp_var_self->pos + 1)); | |
} | |
_nhp_toret = _nhp_var_self->lastChar; | |
return _nhp_toret; | |
} | |
_nhp_array_char_t parsing_scanner_scanWhile(_nhp_anonProcTypeNo14_info_t* _nhp_var_cond, int _nhp_var_nullTerminate, _nhp_record_parsing_scanner___t* _nhp_var_self) { | |
_nhp_array_char_t _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var__buffer; | |
(_nhp_var__buffer = construct__nhp_record_data_list_char_(10, NULL)); | |
for(;;) { | |
if(_nhp_var_cond->_nhp_this_anon(_nhp_var_cond, _nhp_var_self->lastChar)) { | |
_nhp_var__buffer->pushBack->_nhp_this_anon(_nhp_var__buffer->pushBack, _nhp_var_self->lastChar); | |
parsing_scanner_scanChar(_nhp_var_self); | |
continue; | |
} | |
else { | |
goto loopbreaklabel0; | |
} | |
} | |
loopbreaklabel0: | |
if(_nhp_var_nullTerminate) { | |
_nhp_var__buffer->pushBack->_nhp_this_anon(_nhp_var__buffer->pushBack, '\0'); | |
} | |
_nhp_toret = _nhp_var__buffer->toArray->_nhp_this_anon(_nhp_var__buffer->toArray); | |
free_record_nhp_record_data_list_char_(_nhp_var__buffer, NULL); | |
return _nhp_toret; | |
} | |
_nhp_array_char_t parsing_scanner_scanWhile_anon_capture(parsing_scanner_scanWhile_anon_capture_captured_t* _nhp_captured, _nhp_anonProcTypeNo14_info_t* _nhp_var_cond, int _nhp_var_nullTerminate) { | |
_nhp_record_parsing_scanner___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_array_char_t _nhp_toret; | |
_nhp_record_data_list_char__t* _nhp_var__buffer; | |
(_nhp_var__buffer = construct__nhp_record_data_list_char_(10, NULL)); | |
for(;;) { | |
if(_nhp_var_cond->_nhp_this_anon(_nhp_var_cond, _nhp_var_self->lastChar)) { | |
_nhp_var__buffer->pushBack->_nhp_this_anon(_nhp_var__buffer->pushBack, _nhp_var_self->lastChar); | |
parsing_scanner_scanChar(_nhp_var_self); | |
continue; | |
} | |
else { | |
goto loopbreaklabel0; | |
} | |
} | |
loopbreaklabel0: | |
if(_nhp_var_nullTerminate) { | |
_nhp_var__buffer->pushBack->_nhp_this_anon(_nhp_var__buffer->pushBack, '\0'); | |
} | |
_nhp_toret = _nhp_var__buffer->toArray->_nhp_this_anon(_nhp_var__buffer->toArray); | |
free_record_nhp_record_data_list_char_(_nhp_var__buffer, NULL); | |
return _nhp_toret; | |
} | |
_nhp_enum_parsing_token___t parsing_scanner_scanTok(_nhp_record_parsing_scanner___t* _nhp_var_self) { | |
_nhp_enum_parsing_token___t _nhp_toret; | |
{ | |
_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_00 = capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(NULL); | |
{ | |
_nhp_array_char_t _nhp_callrep_res0 = parsing_scanner_scanWhile(_nhp_argbuf_00, 0, _nhp_var_self); | |
free(_nhp_callrep_res0.buffer); | |
} | |
(_nhp_argbuf_00)->_nhp_destructor(_nhp_argbuf_00); | |
} | |
if(isalpha(_nhp_var_self->lastChar)) { | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_record_parsing_scanner___t* record1 = _nhp_var_self; _nhp_enum_parsing_token___t value1 = marshal_nhp_enum_parsing_token___with__nhp_record_parsing_identifier__(({_nhp_array_char_t _nhp_argbuf_02 = ({_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_03 = capture_scanTok_lambdaNo1_anon_capture(NULL); | |
_nhp_array_char_t _nhp_res3 = parsing_scanner_scanWhile(_nhp_argbuf_03, 0, _nhp_var_self);(_nhp_argbuf_03)->_nhp_destructor(_nhp_argbuf_03); | |
_nhp_res3;}); | |
_nhp_record_parsing_identifier___t* _nhp_res2 = construct__nhp_record_parsing_identifier__(_nhp_argbuf_02, record1->_nhp_responsible_destroyer);free(_nhp_argbuf_02.buffer); | |
_nhp_res2;}));({_nhp_enum_parsing_token___t _nhp_es_move_temp = record1->lastTok; record1->lastTok = value1; free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
record1->lastTok;});}), NULL); | |
return _nhp_toret; | |
} | |
else { | |
if(isdigit(_nhp_var_self->lastChar)) { | |
_nhp_array_char_t _nhp_var_str; | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_record_parsing_scanner___t* record1 = _nhp_var_self; _nhp_enum_parsing_token___t value1 = marshal_nhp_enum_parsing_token___with_dec(strtod((_nhp_var_str = ({_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_03 = capture_scanTok_lambdaNo2_anon_capture(NULL); | |
_nhp_array_char_t _nhp_res3 = parsing_scanner_scanWhile(_nhp_argbuf_03, 1, _nhp_var_self);(_nhp_argbuf_03)->_nhp_destructor(_nhp_argbuf_03); | |
_nhp_res3;})).buffer, NULL));({_nhp_enum_parsing_token___t _nhp_es_move_temp = record1->lastTok; record1->lastTok = value1; free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
record1->lastTok;});}), NULL); | |
free(_nhp_var_str.buffer); | |
return _nhp_toret; | |
} | |
else { | |
if((_nhp_var_self->lastChar == 0)) { | |
_nhp_toret = marshal_nhp_enum_parsing_token___with_nothing(); | |
return _nhp_toret; | |
} | |
else { | |
char _nhp_var_sym; | |
(_nhp_var_sym = _nhp_var_self->lastChar); | |
if((({_nhp_array_char_t _nhp_argbuf_01 = marshal_nhp_array_char("+-*/^()", 7); | |
_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_11 = capture_scanTok_lambdaNo3_anon_capture(_nhp_var_sym, NULL); | |
long _nhp_res1 = arrayUtils_contains_char_as_T(_nhp_argbuf_01, _nhp_argbuf_11);free(_nhp_argbuf_01.buffer); | |
(_nhp_argbuf_11)->_nhp_destructor(_nhp_argbuf_11); | |
_nhp_res1;}) >= 0)) { | |
parsing_scanner_scanChar(_nhp_var_self); | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_enum_parsing_token___t _nhp_es_move_temp = _nhp_var_self->lastTok; _nhp_var_self->lastTok = marshal_nhp_enum_parsing_token___with_char(_nhp_var_sym); free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
_nhp_var_self->lastTok;}), NULL); | |
return _nhp_toret; | |
} | |
else { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unrecognized character.", 23); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
} | |
} | |
} | |
} | |
_nhp_enum_parsing_token___t parsing_scanner_scanTok_anon_capture(parsing_scanner_scanTok_anon_capture_captured_t* _nhp_captured) { | |
_nhp_record_parsing_scanner___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_parsing_token___t _nhp_toret; | |
{ | |
_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_00 = capture_parsing_scanner_scanTok_lambdaNo0_anon_capture(NULL); | |
{ | |
_nhp_array_char_t _nhp_callrep_res0 = parsing_scanner_scanWhile(_nhp_argbuf_00, 0, _nhp_var_self); | |
free(_nhp_callrep_res0.buffer); | |
} | |
(_nhp_argbuf_00)->_nhp_destructor(_nhp_argbuf_00); | |
} | |
if(isalpha(_nhp_var_self->lastChar)) { | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_record_parsing_scanner___t* record1 = _nhp_var_self; _nhp_enum_parsing_token___t value1 = marshal_nhp_enum_parsing_token___with__nhp_record_parsing_identifier__(({_nhp_array_char_t _nhp_argbuf_02 = ({_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_03 = capture_scanTok_lambdaNo1_anon_capture(NULL); | |
_nhp_array_char_t _nhp_res3 = parsing_scanner_scanWhile(_nhp_argbuf_03, 0, _nhp_var_self);(_nhp_argbuf_03)->_nhp_destructor(_nhp_argbuf_03); | |
_nhp_res3;}); | |
_nhp_record_parsing_identifier___t* _nhp_res2 = construct__nhp_record_parsing_identifier__(_nhp_argbuf_02, record1->_nhp_responsible_destroyer);free(_nhp_argbuf_02.buffer); | |
_nhp_res2;}));({_nhp_enum_parsing_token___t _nhp_es_move_temp = record1->lastTok; record1->lastTok = value1; free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
record1->lastTok;});}), NULL); | |
return _nhp_toret; | |
} | |
else { | |
if(isdigit(_nhp_var_self->lastChar)) { | |
_nhp_array_char_t _nhp_var_str; | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_record_parsing_scanner___t* record1 = _nhp_var_self; _nhp_enum_parsing_token___t value1 = marshal_nhp_enum_parsing_token___with_dec(strtod((_nhp_var_str = ({_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_03 = capture_scanTok_lambdaNo2_anon_capture(NULL); | |
_nhp_array_char_t _nhp_res3 = parsing_scanner_scanWhile(_nhp_argbuf_03, 1, _nhp_var_self);(_nhp_argbuf_03)->_nhp_destructor(_nhp_argbuf_03); | |
_nhp_res3;})).buffer, NULL));({_nhp_enum_parsing_token___t _nhp_es_move_temp = record1->lastTok; record1->lastTok = value1; free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
record1->lastTok;});}), NULL); | |
free(_nhp_var_str.buffer); | |
return _nhp_toret; | |
} | |
else { | |
if((_nhp_var_self->lastChar == 0)) { | |
_nhp_toret = marshal_nhp_enum_parsing_token___with_nothing(); | |
return _nhp_toret; | |
} | |
else { | |
char _nhp_var_sym; | |
(_nhp_var_sym = _nhp_var_self->lastChar); | |
if((({_nhp_array_char_t _nhp_argbuf_01 = marshal_nhp_array_char("+-*/^()", 7); | |
_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_11 = capture_scanTok_lambdaNo3_anon_capture(_nhp_var_sym, NULL); | |
long _nhp_res1 = arrayUtils_contains_char_as_T(_nhp_argbuf_01, _nhp_argbuf_11);free(_nhp_argbuf_01.buffer); | |
(_nhp_argbuf_11)->_nhp_destructor(_nhp_argbuf_11); | |
_nhp_res1;}) >= 0)) { | |
parsing_scanner_scanChar(_nhp_var_self); | |
_nhp_toret = copy_enum_nhp_enum_parsing_token__(({_nhp_enum_parsing_token___t _nhp_es_move_temp = _nhp_var_self->lastTok; _nhp_var_self->lastTok = marshal_nhp_enum_parsing_token___with_char(_nhp_var_sym); free_enum_nhp_enum_parsing_token__(_nhp_es_move_temp); | |
_nhp_var_self->lastTok;}), NULL); | |
return _nhp_toret; | |
} | |
else { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unrecognized character.", 23); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
} | |
} | |
} | |
} | |
void parsing_parseExpression_matchCharTok(char _nhp_var_expectedChar, _nhp_record_parsing_scanner___t* _nhp_var_s) { | |
switch(_nhp_var_s->lastTok.option) { | |
case _nhp_enum_parsing_token__OPTION_char: { | |
char _nhp_var_c = _nhp_var_s->lastTok.data.char_set; | |
if((_nhp_var_c != _nhp_var_expectedChar)) { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unexpected character.", 21); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
break; | |
} | |
default: { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unexpected token.", 17); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
} | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
} | |
_nhp_enum_operand___t parsing_parseExpression_parseValue(_nhp_record_parsing_scanner___t* _nhp_var_s) { | |
_nhp_enum_operand___t _nhp_toret; | |
switch(_nhp_var_s->lastTok.option) { | |
case _nhp_enum_parsing_token__OPTION__nhp_record_parsing_identifier__: { | |
_nhp_record_parsing_identifier___t* _nhp_var_id = _nhp_var_s->lastTok.data._nhp_record_parsing_identifier___set; | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_variable__(construct__nhp_record_variable__(_nhp_var_id, NULL)); | |
return _nhp_toret; | |
} | |
case _nhp_enum_parsing_token__OPTION_dec: { | |
double _nhp_var_d = _nhp_var_s->lastTok.data.dec_set; | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_constant__(construct__nhp_record_constant__(_nhp_var_d, NULL)); | |
return _nhp_toret; | |
} | |
case _nhp_enum_parsing_token__OPTION_char: { | |
char _nhp_var_c = _nhp_var_s->lastTok.data.char_set; | |
if((_nhp_var_c == '(')) { | |
_nhp_enum_operand___t _nhp_var_exp; | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
(_nhp_var_exp = parsing_parseExpression(_nhp_var_s, 0)); | |
parsing_parseExpression_matchCharTok(')', _nhp_var_s); | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
_nhp_toret = _nhp_var_exp; | |
return _nhp_toret; | |
} | |
else { | |
if((_nhp_var_c == '-')) { | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = parsing_parseExpression_parseValue(_nhp_var_s); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_negate(_nhp_argbuf_01);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
_nhp_res1;})); | |
return _nhp_toret; | |
} | |
else { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unexpected character.", 21); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
} | |
} | |
default: { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unexpected token", 16); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
} | |
} | |
_nhp_enum_operand___t parsing_parseExpression(_nhp_record_parsing_scanner___t* _nhp_var_s, long _nhp_var_minprec) { | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_enum_operand___t _nhp_var_value; | |
(_nhp_var_value = parsing_parseExpression_parseValue(_nhp_var_s)); | |
for(;;) { | |
switch(_nhp_var_s->lastTok.option) { | |
case _nhp_enum_parsing_token__OPTION_char: { | |
char _nhp_var_opTok = _nhp_var_s->lastTok.data.char_set; | |
long _nhp_var_ind; | |
long _nhp_var_prec; | |
if((_nhp_var_opTok == 0)) { | |
_nhp_toret = _nhp_var_value; | |
return _nhp_toret; | |
} | |
(_nhp_var_ind = ({_nhp_array_char_t _nhp_argbuf_01 = marshal_nhp_array_char("+-*/^", 5); | |
_nhp_anonProcTypeNo14_info_t* _nhp_argbuf_11 = capture_parseExpression_lambdaNo0_anon_capture(_nhp_var_opTok, NULL); | |
long _nhp_res1 = arrayUtils_contains_char_as_T(_nhp_argbuf_01, _nhp_argbuf_11);free(_nhp_argbuf_01.buffer); | |
(_nhp_argbuf_11)->_nhp_destructor(_nhp_argbuf_11); | |
_nhp_res1;})); | |
if((_nhp_var_ind == (0 - 1))) { | |
{ | |
_nhp_array_char_t _nhp_abort_msg = marshal_nhp_array_char("Unexpected operator.", 20); | |
printf("AbortError: %.*s\n", _nhp_abort_msg.length, _nhp_abort_msg.buffer); | |
free(_nhp_abort_msg.buffer); | |
abort(); | |
} | |
} | |
(_nhp_var_prec = ((_nhp_var_ind / 2) + 1)); | |
if((_nhp_var_prec <= _nhp_var_minprec)) { | |
_nhp_toret = _nhp_var_value; | |
return _nhp_toret; | |
} | |
{ | |
_nhp_enum_parsing_token___t _nhp_callrep_res0 = _nhp_var_s->scanTok->_nhp_this_anon(_nhp_var_s->scanTok); | |
free_enum_nhp_enum_parsing_token__(_nhp_callrep_res0); | |
} | |
({_nhp_enum_operand___t _nhp_es_move_temp = _nhp_var_value; _nhp_var_value = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = _nhp_var_value; | |
_nhp_enum_operand___t _nhp_argbuf_11 = parsing_parseExpression(_nhp_var_s, _nhp_var_prec); | |
long _nhp_argbuf_21 = _nhp_var_ind; | |
long _nhp_argbuf_31 = (_nhp_var_prec - 1); | |
_nhp_record_binOp___t* _nhp_res1 = construct__nhp_record_binOp__(_nhp_argbuf_01, _nhp_argbuf_11, _nhp_argbuf_21, _nhp_argbuf_31, NULL);free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); free_enum_nhp_enum_operand__(_nhp_es_move_temp); | |
_nhp_var_value;}); | |
break; | |
} | |
default: { | |
_nhp_toret = _nhp_var_value; | |
return _nhp_toret; | |
} | |
} | |
} | |
} | |
_nhp_enum_operand___t parse(_nhp_array_char_t _nhp_var_src) { | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_record_parsing_scanner___t* _nhp_var_s; | |
(_nhp_var_s = construct__nhp_record_parsing_scanner__(_nhp_var_src, NULL)); | |
_nhp_toret = parsing_parseExpression(_nhp_var_s, 0); | |
free_record_nhp_record_parsing_scanner__(_nhp_var_s, NULL); | |
return _nhp_toret; | |
} | |
void constant___init___anon_capture(constant___init___anon_capture_captured_t* _nhp_captured, double _nhp_var_num) { | |
_nhp_record_constant___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->num = _nhp_var_num); | |
} | |
_nhp_enum_operand___t constant_derive_anon_capture(constant_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_constant___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_constant__(construct__nhp_record_constant__(((double)0), NULL)); | |
return _nhp_toret; | |
} | |
void constant_print_anon_capture(constant_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) { | |
_nhp_record_constant___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_dec(_nhp_var_self->num); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
} | |
void variable___init___anon_capture(variable___init___anon_capture_captured_t* _nhp_captured, _nhp_record_parsing_identifier___t* _nhp_var_id) { | |
_nhp_record_variable___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->id = copy_record_nhp_record_parsing_identifier__(_nhp_var_id, _nhp_var_self->_nhp_responsible_destroyer)); | |
} | |
_nhp_enum_operand___t variable_derive_anon_capture(variable_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_variable___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
if(_nhp_var_self->equals->_nhp_this_anon(_nhp_var_self->equals, _nhp_var_respectTo)) { | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_constant__(construct__nhp_record_constant__(((double)1), NULL)); | |
return _nhp_toret; | |
} | |
else { | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_derivative__(construct__nhp_record_derivative__(_nhp_var_self, _nhp_var_respectTo, 1, NULL)); | |
return _nhp_toret; | |
} | |
} | |
int variable_equals_anon_capture(variable_equals_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_var) { | |
_nhp_record_variable___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
int _nhp_toret; | |
_nhp_toret = _nhp_var_self->id->equals->_nhp_this_anon(_nhp_var_self->id->equals, _nhp_var_var->id); | |
return _nhp_toret; | |
} | |
void variable_print_anon_capture(variable_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) { | |
_nhp_record_variable___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with__nhp_interface_io_stringableObj__(marshal_interface_nhp_interface_io_stringableObj__(_nhp_var_self->id->toString, NULL)); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
} | |
void derivative___init___anon_capture(derivative___init___anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_toDerive, _nhp_record_variable___t* _nhp_var_respectTo, long _nhp_var_degree) { | |
_nhp_record_derivative___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
(_nhp_var_self->toDerive = copy_record_nhp_record_variable__(_nhp_var_toDerive, _nhp_var_self->_nhp_responsible_destroyer)); | |
(_nhp_var_self->respectTo = copy_record_nhp_record_variable__(_nhp_var_respectTo, _nhp_var_self->_nhp_responsible_destroyer)); | |
(_nhp_var_self->degree = _nhp_var_degree); | |
} | |
void derivative_print_printDeg(_nhp_record_derivative___t* _nhp_var_self) { | |
if((_nhp_var_self->degree > 1)) { | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_char('^'); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_int(_nhp_var_self->degree); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
} | |
} | |
void derivative_print_anon_capture(derivative_print_anon_capture_captured_t* _nhp_captured, long _nhp_var_prec) { | |
_nhp_record_derivative___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with_char('d'); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
derivative_print_printDeg(_nhp_var_self); | |
_nhp_var_self->toDerive->print->_nhp_this_anon(_nhp_var_self->toDerive->print, 0); | |
{ | |
_nhp_enum_io_writable___t _nhp_argbuf_00 = marshal_nhp_enum_io_writable___with__nhp_array_char(marshal_nhp_array_char("/d", 2)); | |
io_print(_nhp_argbuf_00); | |
free_enum_nhp_enum_io_writable__(_nhp_argbuf_00); | |
} | |
_nhp_var_self->respectTo->print->_nhp_this_anon(_nhp_var_self->respectTo->print, 0); | |
derivative_print_printDeg(_nhp_var_self); | |
} | |
_nhp_enum_operand___t derivative_derive_anon_capture(derivative_derive_anon_capture_captured_t* _nhp_captured, _nhp_record_variable___t* _nhp_var_respectTo) { | |
_nhp_record_derivative___t* _nhp_var_self = _nhp_captured->_nhp_var_self; | |
_nhp_enum_operand___t _nhp_toret; | |
_nhp_record_derivative___t* _nhp_var_der; | |
(_nhp_var_der = construct__nhp_record_derivative__(_nhp_var_self->toDerive, _nhp_var_self->respectTo, (_nhp_var_self->degree + 1), NULL)); | |
if(_nhp_var_self->respectTo->equals->_nhp_this_anon(_nhp_var_self->respectTo->equals, _nhp_var_respectTo)) { | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_derivative__(copy_record_nhp_record_derivative__(_nhp_var_der, NULL)); | |
free_record_nhp_record_derivative__(_nhp_var_der, NULL); | |
return _nhp_toret; | |
} | |
else { | |
_nhp_toret = marshal_nhp_enum_operand___with__nhp_record_binOp__(({_nhp_enum_operand___t _nhp_argbuf_01 = marshal_nhp_enum_operand___with__nhp_record_derivative__(copy_record_nhp_record_derivative__(_nhp_var_der, NULL)); | |
_nhp_enum_operand___t _nhp_argbuf_11 = marshal_nhp_enum_operand___with__nhp_record_derivative__(construct__nhp_record_derivative__(_nhp_var_self->respectTo, _nhp_var_respectTo, 1, NULL)); | |
_nhp_record_binOp___t* _nhp_res1 = arithop_mul(_nhp_argbuf_01, _nhp_argbuf_11);free_enum_nhp_enum_operand__(_nhp_argbuf_01); | |
free_enum_nhp_enum_operand__(_nhp_argbuf_11); | |
_nhp_res1;})); | |
free_record_nhp_record_derivative__(_nhp_var_der, NULL); | |
return _nhp_toret; | |
} | |
} | |
_nhp_record_constant___t* constants_e() { | |
_nhp_record_constant___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_constant__(2.71828, NULL); | |
return _nhp_toret; | |
} | |
_nhp_record_constant___t* constants_zero() { | |
_nhp_record_constant___t* _nhp_toret; | |
_nhp_toret = construct__nhp_record_constant__(((double)0), NULL); | |
return _nhp_toret; | |
} | |
void main() { | |
_nhp_enum_operand___t _nhp_var_expr; | |
(_nhp_var_expr = ({_nhp_array_char_t _nhp_argbuf_01 = marshal_nhp_array_char("(x + 1) ^ 2", 11); | |
_nhp_enum_operand___t _nhp_res1 = parse(_nhp_argbuf_01);free(_nhp_argbuf_01.buffer); | |
_nhp_res1;})); | |
get_print_nhp_enum_operand__(_nhp_var_expr)->_nhp_this_anon(get_print_nhp_enum_operand__(_nhp_var_expr), 0); | |
free_enum_nhp_enum_operand__(_nhp_var_expr); | |
} | |
int parsing_scanner_scanTok_lambdaNo0_anon_capture(parsing_scanner_scanTok_lambdaNo0_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) { | |
int _nhp_toret; | |
_nhp_toret = (_nhp_var_c == ' '); | |
return _nhp_toret; | |
} | |
int scanTok_lambdaNo1_anon_capture(scanTok_lambdaNo1_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) { | |
int _nhp_toret; | |
_nhp_toret = isalpha(_nhp_var_c); | |
return _nhp_toret; | |
} | |
int scanTok_lambdaNo2_anon_capture(scanTok_lambdaNo2_anon_capture_captured_t* _nhp_captured, char _nhp_var_c) { | |
int _nhp_toret; | |
_nhp_toret = isdigit(_nhp_var_c); | |
return _nhp_toret; | |
} | |
int scanTok_lambdaNo3_anon_capture(scanTok_lambdaNo3_anon_capture_captured_t* _nhp_captured, char _nhp_var_a) { | |
char _nhp_var_sym = _nhp_captured->_nhp_var_sym; | |
int _nhp_toret; | |
_nhp_toret = (_nhp_var_a == _nhp_var_sym); | |
return _nhp_toret; | |
} | |
int parseExpression_lambdaNo0_anon_capture(parseExpression_lambdaNo0_anon_capture_captured_t* _nhp_captured, char _nhp_var_a) { | |
char _nhp_var_opTok = _nhp_captured->_nhp_var_opTok; | |
int _nhp_toret; | |
_nhp_toret = (_nhp_var_a == _nhp_var_opTok); | |
return _nhp_toret; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment