theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - 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
204#define __parser__cast cast=TYPE
205
226#define __parser__class class=CLASS
227
272#define __parser__class_overload class-overload
273
287#define __parser__const const
288
306#define __parser__constructor constructor
307
348#define __parser__default default=VALUE
349
366#define __parser__destructor destructor
367
381#define __parser__enum_accept_integer enum-accept-integer=int32|int64|long
382
420#define __parser__enum_is_flag enum-is-flag
421
447#define __parser__error_check error-check
448
469#define __parser__flags flags=FLAGS
470
490#define __parser__has_reference has-reference
491
519#define __parser__hide hide=BOOL|NAME
520
528#define __parser__global__hide_rx hide-rx@LIST=REGEXP
529
552#define __parser__ignore ignore
553
576#define __parser__ignore_error ignore-error=BOOL|NUMBER|2
577
599#define __parser__in in
600
602#define __parser__out out
603
605#define __parser__inout inout
606
642#define __parser__inline inline=INLINE
643
688#define __parser__internal internal
689
721#define __parser__keep keep
722
749#define __parser__keep_destr keep-destr
750
775#define __parser__keep_original_type keep-original-type
776
790#define __parser__library library=NAME@TYPE@NAMESPACE
791
814#define __parser__lng_constr lng-constr
815
844#define __parser__lng_destr lng-destr
845
869#define __parser__lng_dispose lng-dispose
870
902#define __parser__macro macro
903
935#define __parser__no_alias no-alias
936
940#define __parser__no_inline no-inline
941
942/*
943deprecated
944#define __parser__no_constructor no-constructor
945// scope=function : by DEFAULT a CTOR is defined by OBJECT,PREFIX and or CLASS name. It this
946// DEFAULT behaviour is NOT desired the attribute "no-constructor" is required
947*/
948
949/*
950deprecated
951#define __parser__no_reference no-reference
952// scope=function : by DEFAULT some target-programming-language (c++) has a REFERENCE type system,
953// if the attribute "no-reference" is set NO reference-type code for the C-API
954// function is created.
955*/
956
968#define __parser__no_rpc no-rpc
969
1010#define __parser__no_static no-static
1011
1045#define __parser__no_type_extension no-type-extension
1046
1068#define __parser__no_size no-size
1069
1081#define __parser__null_allow null-allow
1082
1097#define __parser__null_return_allow null-return-allow
1098
1099/*
110024 apr 2024 → add default to "null-return-check", to disabple the default use "null-return-allow"
1101
1102BUG-FIX : (old) MqLinkGetParent (already changed) COULD return an NULL pointer and the
1103 TVL create an "" as default (now update to MK_NULL)
1104test: ???
1105*/
1106
1107
1126#define __parser__null_return_check null-return-check
1127
1150#define __parser__overload overload=OVERLOAD
1151
1170#define __parser__overload_c_no overload-c-no
1171
1172/*
1173depreated
1174#define __parser__package package
1175// scope=object : add OBJECT to PACKAGE file
1176// usage : __parser__(package=MkKernel) enum MkErrorE { … }
1177*/
1178
1211#define __parser__prefix prefix=PREFIX
1212
1227#define __parser__reference reference
1228
1262#define __parser__return_type return-type=TYPE
1263
1294#define __parser__global__return_type_default return-type-default:NAMESPACE=OLD-RETURN@NEW-RETURN
1295
1305#define __parser__return_type_default_no return-type-default-no
1306
1344#define __parser__runtime runtime=FUNC-NAME
1345
1367#define __parser__static static
1368
1415#define __parser__template_overload template-overload
1416
1441#define __parser__template_in_c template-in-c
1442
1472#define __parser__template_required template-required
1473
1498#define __parser__type type=META@DESCRIPTION
1499
1500// not used
1501//__parser__define__(RET-ATTR);
1502
1520#define __parser__wrapper wrapper
1521
1523// END: MkKernel_Parser_Local_C_API
1524
1525// MARK_G #####################################################################################################
1526// ------------------------------------------------------------------------------------------------------------
1527//
1536
1557#define __parser__global global=ATTRIBUTE
1558
1582#define __parser__global__pattern2prefix pattern2prefix:PATTERN=PREFIX
1583
1618#define __parser__global__prefix2attribute prefix2attribute@LIST=PREFIX@ATTRIBUTE?=VALUE?
1619
1633#define __parser__global__prefix2title prefix2title:PREFIX=TITLE
1634
1642#define __parser__global__prefix2doc prefix2doc:PREFIX=DOC?@DOC-INDEX?
1643
1653#define __parser__global__prefix2class prefix2class:PREFIX=CLASS
1654
1664#define __parser__global__formatter formatter=VARIABLE
1665
1666// ATTENTION: because META build and META usage can be complet different
1667// ATTENTION: test META build on "debug" and meta usage und "release" without "build" directory available
1668
1669
1696#define __parser__global__error_check error-check=ERROR_RETURN_ENUM
1697
1719#define __parser__global__default_cast default-cast:ORIG-TYP=FROM-SYSTEM-TYP?@ TO-SYSTEM-TYP?
1720
1722// END: MkKernel_Parser_Global_C_API
1723
1724; // finish __parser__ definition
1725
1726// MARK_C
1727// ############################################################################################################
1728// ------------------------------------------------------------------------------------------------------------
1729
1836#define __parser__callback_name callback-name=PREFIX
1837
1841#define __parser__callback_data callback-data
1842
1846#define __parser__callback_call callback-call
1847
1851#define __parser__callback_free callback-free
1852
1856#define __parser__callback_copy callback-copy
1857
1861#define __parser__callback_once callback-once
1862
1872#define __parser__callback_null callback-null
1873
1875// END: MkKernel_Parser_Callback_C_API
1876
1877// MARK_D
1878// ############################################################################################
1879
1977#define __parser__doc_group doc-group@OVERWRITE=DOC
1978
1999#define __parser__doc_index doc-index=INDEX
2000
2018#define __parser__doc_name doc-name=NAME
2019
2043#define __parser__doc_no doc-no
2044
2059#define __parser__global__doc_force doc-force@LIST=CLASS_or_PACKAGE@INDEX@?local?
2060
2107#define __parser__global__doc_db doc-db=DIRECTORY
2108
2120#define __parser__doc_sort doc-sort=DICTIONARY
2121
2123// END: MkKernel_Parser_Doc_C_API
2124
2125// MARK_N ####################################################################################################
2126// ------------------------------------------------------------------------------------------------------------
2133
2160#define __parser__global__native2class native2class:EXTERNAL-STRUCT=INTERNAL-CLASS@HANDEL-NAME
2161
2199#define __parser__global__native_alias_from_prefix native-alias-from-prefix:NATIVE-PREFIX=WRAPPER-PREFIX
2200
2241#define __parser__global__native_alias_from_hdl native-alias-from-hdl:OLD-PREFIX=OLD-TYPE@NEW-PREFIX@NEW-HDL
2242
2264#define __parser__native_alias native-alias
2265
2364#define __parser__global__native_hide native-hide=NEW-NAME
2365
2379#define __parser__global__native_ignore_regexp native-ignore-regexp@LIST=REGEXP
2380
2393#define __parser__global__native_ignore_name native-ignore-name@LIST=NAME
2394
2408#define __parser__global__native_ignore_type native-ignore-type@LIST=TYPE
2409
2442#define __parser__global__native_prefer_postfix native-prefer-postfix@LIST=POSTFIX
2443
2445// END: MkKernel_Parser_Native_C_API
2446// END: MkKernel_Parser_C_API
2447