[][src]Macro glsp::sym

macro_rules! sym {
    ($arg:expr,) => { ... };
    ($arg:expr) => { ... };
}

Constructs a symbol.

sym!(arg) is shorthand for glsp::sym(arg).unwrap().

This macro is convenient, but not necessarily efficient. To cache a large number of symbols so that they don't have to be repeatedly recreated, use the syms! macro.