theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
parser_mk.h
Go to the documentation of this file.
1
12/* LABEL-NO */
13
14#pragma once
15
24
25// MARK_L ##################################################################################################
26// ------------------------------------------------------------------------------------------------------------
27//
36
65#define __parser__alias alias=ALIAS
66
94#define __parser__arg_name arg-name=NAME
95
115#define __parser__arg_type arg-type=TYPE
116
137#define __parser__arg_type_vcv arg-type-vcv=ARRAY-LEN@ARRY-PTR
138
152#define __parser__argument argument
153
173#define __parser__array array
174
225#define __parser__cast cast=TYPE
226
247#define __parser__class class=CLASS
248
293#define __parser__class_overload class-overload
294
308#define __parser__const const
309
327#define __parser__constructor constructor
328
369#define __parser__default default=VALUE
370
387#define __parser__destructor destructor
388
402#define __parser__enum_accept_integer enum-accept-integer=int32|int64|long
403
441#define __parser__enum_is_flag enum-is-flag
442
468#define __parser__error_check error-check
469
492#define __parser__error_ignore error-ignore=BOOL|NUMBER|2
493
514#define __parser__flags flags=FLAGS
515
535#define __parser__has_reference has-reference
536
564#define __parser__hide hide=BOOL|NAME
565
573#define __parser__global__hide_rx hide-rx@LIST=REGEXP
574
597#define __parser__ignore ignore
598
620#define __parser__in in
621
623#define __parser__out out
624
626#define __parser__inout inout
627
663#define __parser__inline inline=INLINE
664
709#define __parser__internal internal
710
742#define __parser__keep keep
743
770#define __parser__keep_destr keep-destr
771
796#define __parser__keep_original_type keep-original-type
797
811#define __parser__library library=NAME@TYPE@NAMESPACE
812
835#define __parser__lng_constr lng-constr
836
865#define __parser__lng_destr lng-destr
866
890#define __parser__lng_dispose lng-dispose
891
923#define __parser__macro macro
924
956#define __parser__no_alias no-alias
957
961#define __parser__no_inline no-inline
962
963/*
964deprecated
965#define __parser__no_constructor no-constructor
966// scope=function : by DEFAULT a CTOR is defined by OBJECT,PREFIX and or CLASS name. It this
967// DEFAULT behaviour is NOT desired the attribute "no-constructor" is required
968*/
969
970/*
971deprecated
972#define __parser__no_reference no-reference
973// scope=function : by DEFAULT some target-programming-language (c++) has a REFERENCE type system,
974// if the attribute "no-reference" is set NO reference-type code for the C-API
975// function is created.
976*/
977
989#define __parser__no_rpc no-rpc
990
1031#define __parser__no_static no-static
1032
1066#define __parser__no_type_extension no-type-extension
1067
1089#define __parser__no_size no-size
1090
1102#define __parser__null_allowed null-allowed
1103
1104#if 0
1105under research
1125#define __parser__null_allowed_ref null-allowed-ref
1126#endif
1127
1142#define __parser__null_return_allow null-return-allow
1143
1144/*
114524 apr 2024 → add default to "null-return-check", to disabple the default use "null-return-allow"
1146
1147BUG-FIX : (old) MqLinkGetParent (already changed) COULD return an NULL pointer and the
1148 TVL create an "" as default (now update to MK_NULL)
1149test: ???
1150*/
1151
1152
1171#define __parser__null_return_check null-return-check
1172
1195#define __parser__overload overload=OVERLOAD
1196
1215#define __parser__overload_c_no overload-c-no
1216
1217/*
1218depreated
1219#define __parser__package package
1220// scope=object : add OBJECT to PACKAGE file
1221// usage : __parser__(package=MkKernel) enum MkErrorE { … }
1222*/
1223
1256#define __parser__prefix prefix=PREFIX
1257
1272#define __parser__reference reference
1273
1307#define __parser__return_type return-type=TYPE
1308
1350#define __parser__global__return_type_default return-type-default:NAMESPACE=OLD-RETURN@NEW-RETURN
1351
1363#define __parser__return_type_default_no return-type-default-no
1364
1402#define __parser__runtime runtime=FUNC-NAME
1403
1425#define __parser__silent silent
1426
1448#define __parser__static static
1449
1496#define __parser__template_overload template-overload
1497
1522#define __parser__template_in_c template-in-c
1523
1553#define __parser__template_required template-required
1554
1579#define __parser__type type=META@DESCRIPTION
1580
1581// not used
1582//__parser__define__(RET-ATTR);
1583
1601#define __parser__wrapper wrapper
1602
1604// END: MkKernel_Parser_Local_C_API
1605
1606// MARK_G #####################################################################################################
1607// ------------------------------------------------------------------------------------------------------------
1608//
1617
1638#define __parser__global global=ATTRIBUTE
1639
1663#define __parser__global__pattern2prefix pattern2prefix:PATTERN=PREFIX
1664
1699#define __parser__global__prefix2attribute prefix2attribute@LIST=PREFIX@ATTRIBUTE?=VALUE?
1700
1714#define __parser__global__prefix2title prefix2title:PREFIX=TITLE
1715
1723#define __parser__global__prefix2doc prefix2doc:PREFIX=DOC?@DOC-INDEX?
1724
1734#define __parser__global__prefix2class prefix2class:PREFIX=CLASS
1735
1745#define __parser__global__formatter formatter=VARIABLE
1746
1747// ATTENTION: because META build and META usage can be complet different
1748// ATTENTION: test META build on "debug" and meta usage und "release" without "build" directory available
1749
1750
1777#define __parser__global__error_check error-check=ERROR_RETURN_ENUM
1778
1800#define __parser__global__default_cast default-cast:ORIG-TYP=FROM-SYSTEM-TYP?@ TO-SYSTEM-TYP?
1801
1803// END: MkKernel_Parser_Global_C_API
1804
1805; // finish __parser__ definition
1806
1807// MARK_C
1808// ############################################################################################################
1809// ------------------------------------------------------------------------------------------------------------
1810
1917#define __parser__callback_name callback-name=PREFIX
1918
1922#define __parser__callback_data callback-data
1923
1927#define __parser__callback_call callback-call
1928
1932#define __parser__callback_free callback-free
1933
1937#define __parser__callback_copy callback-copy
1938
1942#define __parser__callback_once callback-once
1943
1953#define __parser__callback_null callback-null
1954
1956// END: MkKernel_Parser_Callback_C_API
1957
1958// MARK_D
1959// ############################################################################################
1960
2058#define __parser__doc_group doc-group@OVERWRITE=DOC
2059
2080#define __parser__doc_index doc-index=INDEX
2081
2099#define __parser__doc_name doc-name=NAME
2100
2124#define __parser__doc_no doc-no
2125
2140#define __parser__global__doc_force doc-force@LIST=CLASS_or_PACKAGE@INDEX@?local?
2141
2188#define __parser__global__doc_db doc-db=DIRECTORY
2189
2201#define __parser__doc_sort doc-sort=DICTIONARY
2202
2204// END: MkKernel_Parser_Doc_C_API
2205
2206// MARK_N ####################################################################################################
2207// ------------------------------------------------------------------------------------------------------------
2214
2241#define __parser__global__native2class native2class:EXTERNAL-STRUCT=INTERNAL-CLASS@HANDEL-NAME
2242
2280#define __parser__global__native_alias_from_prefix native-alias-from-prefix:NATIVE-PREFIX=WRAPPER-PREFIX
2281
2322#define __parser__global__native_alias_from_hdl native-alias-from-hdl:OLD-PREFIX=OLD-TYPE@NEW-PREFIX@NEW-HDL
2323
2345#define __parser__native_alias native-alias
2346
2445#define __parser__global__native_hide native-hide=NEW-NAME
2446
2460#define __parser__global__native_ignore_regexp native-ignore-regexp@LIST=REGEXP
2461
2474#define __parser__global__native_ignore_name native-ignore-name@LIST=NAME
2475
2489#define __parser__global__native_ignore_type native-ignore-type@LIST=TYPE
2490
2523#define __parser__global__native_prefer_postfix native-prefer-postfix@LIST=POSTFIX
2524
2526// END: MkKernel_Parser_Native_C_API
2527// END: MkKernel_Parser_C_API
2528