Skip to main content

print_tokens

Macro print_tokens 

Source
print_tokens!() { /* proc-macro */ }
Expand description

Prints the tokens for debugging purposes.

Prints the source to stdout and top-level token kinds to stderr, then emits no code.

  • Complexity: O(n) formatting time and output for n debug-representation bytes.

ยงExamples

use cel_rs_macros::print_tokens;
print_tokens! {
    "hello"_key
};