macro_rules! kw_def { ($ident:ident = $string_keyword:expr) => { ... }; ($ident:ident) => { ... }; }
Expand description
Defines a string constant for a single keyword: kw_def!(SELECT);
expands to pub const SELECT = "SELECT";
macro_rules! kw_def { ($ident:ident = $string_keyword:expr) => { ... }; ($ident:ident) => { ... }; }
Defines a string constant for a single keyword: kw_def!(SELECT);
expands to pub const SELECT = "SELECT";