Re-exports§
pub use datex_macros as macros;
Modules§
- ast
- collections
- compiler
- core_
compiler - crypto
- decompiler
- dif
- dxb_
parser - fmt
- generator
- global
- libs
- logger
- lsp
- network
- parser
- references
- runtime
- serde
- std_
random - std_
sync - stdlib
- task
- time
- traits
- type_
inference - types
- utils
- values
- visitor
Macros§
- assert_
identical - assert_
structural_ eq - assert_
value_ eq - ast_fmt
- compile
- Macro for compiling a DATEX script template text with inserted values into a DXB body, behaves like the format! macro. Example:
- datex_
list - delegate_
com_ interface_ info - run_
async - Creates an async execution context in which
spawn_localorspawn_with_panic_notifycan be used. When a panic occurs in a background task spawned withspawn_with_panic_notify, the panic will be propagated to the main task and the execution will be stopped. - run_
async_ thread - Spawns a thread that runs an async block using the Tokio runtime.
The behavior is similar to
run_async! {}, with the only difference being that it runs in a separate thread. - set_
opener - This macro is used to create a new opener function for the ComInterface that returns a boolean indicating if the opener was successful or not. The method shall be only called by the ComHub that doesn’t know the actual return value of the specific opener function.
- set_
sync_ opener