Crate datex_core

Crate datex_core 

Source

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_local or spawn_with_panic_notify can be used. When a panic occurs in a background task spawned with spawn_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