theKernel
10.0
NHI1
-
theKernel
-
theLink
-
theConfig
-
theSq3Lite
-
theCompiler
-
theBrain
-
theGuard
-
theLib
-
theATL
c
-
tcl
-
atl
-
cs
-
py
-
rb
-
jv
-
cc
Loading...
Searching...
No Matches
parser_mk.h
Go to the documentation of this file.
1
9
/* LABEL-NO */
10
11
#pragma once
12
21
22
// MARK_L ##################################################################################################
23
// ------------------------------------------------------------------------------------------------------------
24
//
33
62
#define __parser__alias alias=ALIAS
63
91
#define __parser__arg_name arg-name=NAME
92
112
#define __parser__arg_type arg-type=TYPE
113
134
#define __parser__arg_type_vcv arg-type-vcv=ARRAY-LEN@ARRY-PTR
135
149
#define __parser__argument argument
150
170
#define __parser__array array
171
222
#define __parser__cast cast=TYPE
223
244
#define __parser__class class=CLASS
245
290
#define __parser__class_overload class-overload
291
305
#define __parser__const const
306
324
#define __parser__constructor constructor
325
366
#define __parser__default default=VALUE
367
384
#define __parser__destructor destructor
385
399
#define __parser__enum_accept_integer enum-accept-integer=int32|int64|long
400
438
#define __parser__enum_is_flag enum-is-flag
439
465
#define __parser__error_check error-check
466
489
#define __parser__error_ignore error-ignore=BOOL|NUMBER|2
490
511
#define __parser__flags flags=FLAGS
512
532
#define __parser__has_reference has-reference
533
561
#define __parser__hide hide=BOOL|NAME
562
570
#define __parser__global__hide_rx hide-rx@LIST=REGEXP
571
594
#define __parser__ignore ignore
595
617
#define __parser__in in
618
620
#define __parser__out out
621
623
#define __parser__inout inout
624
660
#define __parser__inline inline=INLINE
661
706
#define __parser__internal internal
707
739
#define __parser__keep keep
740
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
874
#define __parser__lng_destr lng-destr
875
899
#define __parser__lng_dispose lng-dispose
900
932
#define __parser__macro macro
933
965
#define __parser__no_alias no-alias
966
970
#define __parser__no_inline no-inline
971
972
/*
973
deprecated
974
#define __parser__no_constructor no-constructor
975
// scope=function : by DEFAULT a CTOR is defined by OBJECT,PREFIX and or CLASS name. It this
976
// DEFAULT behaviour is NOT desired the attribute "no-constructor" is required
977
*/
978
979
/*
980
deprecated
981
#define __parser__no_reference no-reference
982
// scope=function : by DEFAULT some target-programming-language (c++) has a REFERENCE type system,
983
// if the attribute "no-reference" is set NO reference-type code for the C-API
984
// function is created.
985
*/
986
998
#define __parser__no_rpc no-rpc
999
1040
#define __parser__no_static no-static
1041
1075
#define __parser__no_type_extension no-type-extension
1076
1098
#define __parser__no_size no-size
1099
1111
#define __parser__null_allowed null-allowed
1112
1113
#if 0
1114
under research
1134
#define __parser__null_allowed_ref null-allowed-ref
1135
#endif
1136
1151
#define __parser__null_return_allow null-return-allow
1152
1153
/*
1154
24 apr 2024 → add default to "null-return-check", to disabple the default use "null-return-allow"
1155
1156
BUG-FIX : (old) MqLinkGetParent (already changed) COULD return an NULL pointer and the
1157
TVL create an "" as default (now update to MK_NULL)
1158
test: ???
1159
*/
1160
1161
1180
#define __parser__null_return_check null-return-check
1181
1204
#define __parser__overload overload=OVERLOAD
1205
1224
#define __parser__overload_c_no overload-c-no
1225
1226
/*
1227
depreated
1228
#define __parser__package package
1229
// scope=object : add OBJECT to PACKAGE file
1230
// usage : __parser__(package=MkKernel) enum MkErrorE { … }
1231
*/
1232
1265
#define __parser__prefix prefix=PREFIX
1266
1281
#define __parser__reference reference
1282
1316
#define __parser__return_type return-type=TYPE
1317
1359
#define __parser__global__return_type_default return-type-default:NAMESPACE=OLD-RETURN@NEW-RETURN
1360
1372
#define __parser__return_type_default_no return-type-default-no
1373
1411
#define __parser__runtime runtime=FUNC-NAME
1412
1434
#define __parser__silent silent
1435
1457
#define __parser__static static
1458
1505
#define __parser__template_overload template-overload
1506
1531
#define __parser__template_in_c template-in-c
1532
1562
#define __parser__template_required template-required
1563
1588
#define __parser__type type=META@DESCRIPTION
1589
1590
// not used
1591
//__parser__define__(RET-ATTR);
1592
1610
#define __parser__wrapper wrapper
1611
1613
// END: MkKernel_Parser_Local_C_API
1614
1615
// MARK_G #####################################################################################################
1616
// ------------------------------------------------------------------------------------------------------------
1617
//
1626
1647
#define __parser__global global=ATTRIBUTE
1648
1672
#define __parser__global__pattern2prefix pattern2prefix:PATTERN=PREFIX
1673
1708
#define __parser__global__prefix2attribute prefix2attribute@LIST=PREFIX@ATTRIBUTE?=VALUE?
1709
1723
#define __parser__global__prefix2title prefix2title:PREFIX=TITLE
1724
1732
#define __parser__global__prefix2doc prefix2doc:PREFIX=DOC?@DOC-INDEX?
1733
1743
#define __parser__global__prefix2class prefix2class:PREFIX=CLASS
1744
1754
#define __parser__global__formatter formatter=VARIABLE
1755
1756
// ATTENTION: because META build and META usage can be complet different
1757
// ATTENTION: test META build on "debug" and meta usage und "release" without "build" directory available
1758
1759
1786
#define __parser__global__error_check error-check=ERROR_RETURN_ENUM
1787
1809
#define __parser__global__default_cast default-cast:ORIG-TYP=FROM-SYSTEM-TYP?@ TO-SYSTEM-TYP?
1810
1812
// END: MkKernel_Parser_Global_C_API
1813
1814
;
// finish __parser__ definition
1815
1816
// MARK_C
1817
// ############################################################################################################
1818
// ------------------------------------------------------------------------------------------------------------
1819
1926
#define __parser__callback_name callback-name=PREFIX
1927
1931
#define __parser__callback_data callback-data
1932
1936
#define __parser__callback_call callback-call
1937
1941
#define __parser__callback_free callback-free
1942
1946
#define __parser__callback_copy callback-copy
1947
1951
#define __parser__callback_once callback-once
1952
1962
#define __parser__callback_null callback-null
1963
1965
// END: MkKernel_Parser_Callback_C_API
1966
1967
// MARK_D
1968
// ############################################################################################
1969
2067
#define __parser__doc_group doc-group@OVERWRITE=DOC
2068
2089
#define __parser__doc_index doc-index=INDEX
2090
2108
#define __parser__doc_name doc-name=NAME
2109
2133
#define __parser__doc_no doc-no
2134
2149
#define __parser__global__doc_force doc-force@LIST=CLASS_or_PACKAGE@INDEX@?local?
2150
2197
#define __parser__global__doc_db doc-db=DIRECTORY
2198
2210
#define __parser__doc_sort doc-sort=DICTIONARY
2211
2213
// END: MkKernel_Parser_Doc_C_API
2214
2215
// MARK_N ####################################################################################################
2216
// ------------------------------------------------------------------------------------------------------------
2223
2250
#define __parser__global__native2class native2class:EXTERNAL-STRUCT=INTERNAL-CLASS@HANDEL-NAME
2251
2289
#define __parser__global__native_alias_from_prefix native-alias-from-prefix:NATIVE-PREFIX=WRAPPER-PREFIX
2290
2331
#define __parser__global__native_alias_from_hdl native-alias-from-hdl:OLD-PREFIX=OLD-TYPE@NEW-PREFIX@NEW-HDL
2332
2354
#define __parser__native_alias native-alias
2355
2454
#define __parser__global__native_hide native-hide=NEW-NAME
2455
2469
#define __parser__global__native_ignore_regexp native-ignore-regexp@LIST=REGEXP
2470
2483
#define __parser__global__native_ignore_name native-ignore-name@LIST=NAME
2484
2498
#define __parser__global__native_ignore_type native-ignore-type@LIST=TYPE
2499
2532
#define __parser__global__native_prefer_postfix native-prefer-postfix@LIST=POSTFIX
2533
2535
// END: MkKernel_Parser_Native_C_API
2536
// END: MkKernel_Parser_C_API
2537
Generated on Thu May 29 2025 13:13:19 for theKernel by
1.12.0