Crate drone_macros_core

Source
Expand description

Procedural macros base for Drone, an Embedded Operating System.

This crate provides shared functionality for all Drone procedural macro crates.

Macros§

parse_error
Unconditionally causes parsing to fail with the given error message.
parse_ident
Parses an identifier with a specific value, or throws an error otherwise.

Structs§

CfgCond
List of conditional compilation clauses.

Traits§

CfgCondExt
CfgCond helper extension trait for slices.

Functions§

unkeywordize
Inserts an underscore at the end of the string if the string is a reserved keyword.