theKernel 10.0
Loading...
Searching...
No Matches
parser_mk.h File Reference

Go to the source code of this file.

Macros

#define __parser__alias   alias=ALIAS
 Use alias as public-api-name
 
#define __parser__arg_name   arg-name=NAME
 Rename an already defined argument to arg-name at POSITION (0,1,2,…) …
 
#define __parser__arg_type   arg-type=TYPE
 Redefine an already defined argument-type to arg-type at POSITION (0,1,2,…) …
 
#define __parser__arg_type_vcv   arg-type-vcv=ARRAY-LEN@ARRY-PTR
 Define a ME_VCV meta-type as array-of-strings
 
#define __parser__argument   argument
 Mark argument as ordinary argument and NOT as instance-argument
 
#define __parser__array   array
 Mark a function-argument as an array
 
#define __parser__cast   cast=TYPE
 Force to cast into a TYPE of the method-argument
 
#define __parser__class   class=CLASS
 Force to use class as CLASS of the instance-method
 
#define __parser__class_overload   class-overload
 The class-overload does not generate a method-code in the object-Target-Programming-Language (TPL)
 
#define __parser__const   const
 Add the const prefix in front of the Target-Programming-Language (TPL) public API method …
 
#define __parser__constructor   constructor
 Mark the function as instance-constructor
 
#define __parser__default   default=VALUE
 Add a default to a function-argument …
 
#define __parser__destructor   destructor
 Mark function as instance destructor
 
#define __parser__enum_accept_integer   enum-accept-integer=int32|int64|long
 define datatype for enum integer value …
 
#define __parser__enum_is_flag   enum-is-flag
 Add enum-is-flag feature to a enum
 
#define __parser__error_check   error-check
 Verify the enum-return-value of a function using the enum-error-check-code
 
#define __parser__error_ignore   error-ignore=BOOL|NUMBER|2
 Ignore the libmkkernel::MkErrorE error-indicator
 
#define __parser__flags   flags=FLAGS
 Add flags in front of the target-programming-language public API method …
 
#define __parser__has_reference   has-reference
 Force a reference-type overload to be defined by the PLMK (Programming-Language-Micro-Kernel)-Compiler
 
#define __parser__hide   hide=BOOL|NAME
 hide a function from the public-api
 
#define __parser__global__hide_rx   hide-rx@LIST=REGEXP
 Hide all functions found by REGEXP
 
#define __parser__ignore   ignore
 Mark OBJECT to be ignore - not used in public-api
 
#define __parser__in   in
 The attribute (in|out|inout) marks an argument as input, output, or both …
 
#define __parser__out   out
 The attribute (in|out|inout) marks an argument as input, output, or both …
 
#define __parser__inout   inout
 The attribute (in|out|inout) marks an argument as input, output, or both …
 
#define __parser__inline   inline=INLINE
 add inline function as alternativ function …
 
#define __parser__internal   internal
 make function, function-argument, type, variable invisible to the public API …
 
#define __parser__keep   keep
 keep the function if the default-behaviour is to hide the function …
 
#define __parser__keep_destr   keep-destr
 Do not replace the keep-destr destructor with the lng-destr default-destructor …
 
#define __parser__keep_original_type   keep-original-type
 Do not try to map the type of an argument into a Programming-Language-Micro-Kernel (PLMK) type …
 
#define __parser__library   library=NAME@TYPE@NAMESPACE
 Define the new library name, namespace and usage …
 
#define __parser__lng_constr   lng-constr
 Define a constructor as the default-constructor
 
#define __parser__lng_destr   lng-destr
 Replace all destructors with the lng-destr default-destructor …
 
#define __parser__lng_dispose   lng-dispose
 Mark a function to be the default-dispose function …
 
#define __parser__macro   macro
 Define that a declaration belongs to a macro
 
#define __parser__no_alias   no-alias
 Delete the alias attribute for function …
 
#define __parser__no_inline   no-inline
 Do not make this function inline …
 
#define __parser__no_rpc   no-rpc
 Do not create a rpc-call for this function …
 
#define __parser__no_static   no-static
 Do not add the static attibute to the TPL-wrapper. …
 
#define __parser__no_type_extension   no-type-extension
 Disable the type-extension feature from function …
 
#define __parser__no_size   no-size
 Hide the size information from the binary-object
 
#define __parser__null_allowed   null-allowed
 Allow a function-argument of type class to be a MK_NULL (None) value …
 
#define __parser__null_return_allow   null-return-allow
 Allow the function to return a MK_NULL (None) value …
 
#define __parser__null_return_check   null-return-check
 Mark the function as pseudo-instance-constructor
 
#define __parser__overload   overload=OVERLOAD
 Add an additional overload function to the original-function in the Target-Programming-Language (TPL)
 
#define __parser__overload_c_no   overload-c-no
 do not create the overload for function in C
 
#define __parser__prefix   prefix=PREFIX
 Force prefix to be prefix
 
#define __parser__reference   reference
 Mark an object as reference
 
#define __parser__return_type   return-type=TYPE
 Replace an already defined return-type
 
#define __parser__global__return_type_default   return-type-default:NAMESPACE=OLD-RETURN@NEW-RETURN
 Replace an already defined old-return-type with a new-return-type
 
#define __parser__return_type_default_no   return-type-default-no
 Undo the return-type-default for a specific function…
 
#define __parser__runtime   runtime=FUNC-NAME
 Add a public API function FUNC-NAME for a runtime-aware function…
 
#define __parser__silent   silent
 do not complain about non-standart setup
 
#define __parser__static   static
 Force a function to be a class-methode even if PLMK (Programming-Language-Micro-Kernel)-Compiler would chose an instance-method
 
#define __parser__template_overload   template-overload
 Assume a predefined template to implement the function
 
#define __parser__template_in_c   template-in-c
 The template is written in the C language and not in the Target-Programming-Language (TPL) language …
 
#define __parser__template_required   template-required
 Require a predefined template to implement the function
 
#define __parser__type   type=META@DESCRIPTION
 Define the meta-type for the public-type
 
#define __parser__wrapper   wrapper
 Add a wrapper to the default value of a function-argument
 
#define __parser__global   global=ATTRIBUTE
 Add the global keyword to the PLMK (Programming-Language-Micro-Kernel)-Compiler
 
#define __parser__global__pattern2prefix   pattern2prefix:PATTERN=PREFIX
 Add PREFIX attribute to all functions found by regexp '^PATTERN[A-Z]' …
 
#define __parser__global__prefix2attribute   prefix2attribute@LIST=PREFIX@ATTRIBUTE?=VALUE?
 Add ATTRIBUTE to all functions starting with PREFIX* ……
 
#define __parser__global__prefix2title   prefix2title:PREFIX=TITLE
 Migrate a function name with PREFIX to a new Title prefix …
 
#define __parser__global__prefix2doc   prefix2doc:PREFIX=DOC?@DOC-INDEX?
 Set the doc-group / doc-index attribute for all functions found by ^PREFIX(:?[A-Z].*)?$
 
#define __parser__global__prefix2class   prefix2class:PREFIX=CLASS
 Set the defgroup attribute for all functions starting with prefix
 
#define __parser__global__formatter   formatter=VARIABLE
 Set the formatter attribute to all arguments with name VARIABLE
 
#define __parser__global__error_check   error-check=ERROR_RETURN_ENUM
 Verify the enum-return-value of a function using the enum-error-check-code
 
#define __parser__global__default_cast   default-cast:ORIG-TYP=FROM-SYSTEM-TYP?@ TO-SYSTEM-TYP?
 Add a default-cast to native-type
 
#define __parser__callback_name   callback-name=PREFIX
 prefix of the callback-identifer
 
#define __parser__callback_data   callback-data
 define the data-attribute of the callback-call
 
#define __parser__callback_call   callback-call
 define the function-pointer to call as callback
 
#define __parser__callback_free   callback-free
 define the function-pointer to free the callback-data
 
#define __parser__callback_copy   callback-copy
 define the function-pointer to copy the callback-data
 
#define __parser__callback_once   callback-once
 is the callback only used once ?
 
#define __parser__callback_null   callback-null
 is the MK_NULL value allowed for the callback ?
 
#define __parser__doc_group   doc-group@OVERWRITE=DOC
 Use the doc-group section in the doxygen documentation …
 
#define __parser__doc_index   doc-index=INDEX
 Add index doc-index to the doc-group section …
 
#define __parser__doc_name   doc-name=NAME
 Add name doc-name section to the doc-group section …
 
#define __parser__doc_no   doc-no
 Do not write a doc entry into the doxygen documentation …
 
#define __parser__global__doc_force   doc-force@LIST=CLASS_or_PACKAGE@INDEX@?local?
 Force the doyygen-index to be build even if no function is available …
 
#define __parser__global__doc_db   doc-db=DIRECTORY
 Set directory for external documentation lookup…
 
#define __parser__doc_sort   doc-sort=DICTIONARY
 dictionary doc-sort of the function in the documantation…
 
#define __parser__global__native2class   native2class:EXTERNAL-STRUCT=INTERNAL-CLASS@HANDEL-NAME
 Use native2class to link an external-struct with an internal-class
 
#define __parser__global__native_alias_from_prefix   native-alias-from-prefix:NATIVE-PREFIX=WRAPPER-PREFIX
 Use the native-alias-from-prefix feature to map a native-function to a wrapper-function with PLMK (Programming-Language-Micro-Kernel)-Support
 
#define __parser__global__native_alias_from_hdl   native-alias-from-hdl:OLD-PREFIX=OLD-TYPE@NEW-PREFIX@NEW-HDL
 Use the native-alias-from-hdl feature to map a native-function to a wrapper-function with PLMK (Programming-Language-Micro-Kernel)-Support
 
#define __parser__native_alias   native-alias
 Overwrite the default meta-function-name for a native-function
 
#define __parser__global__native_hide   native-hide=NEW-NAME
 create a hidden wrapper with name NEW-NAME with a public api …
 
#define __parser__global__native_ignore_regexp   native-ignore-regexp@LIST=REGEXP
 Ignore all functions found by REGEXP
 
#define __parser__global__native_ignore_name   native-ignore-name@LIST=NAME
 Ignore all functions found by NAME
 
#define __parser__global__native_ignore_type   native-ignore-type@LIST=TYPE
 Ignore all functions found by TYPE
 
#define __parser__global__native_prefer_postfix   native-prefer-postfix@LIST=POSTFIX
 Select a specific native-function identified by POSTFIX