Macro fungi_lang::fgi_name

source ·
macro_rules! fgi_name {
    { fromast $ast:expr } => { ... };
    { [] } => { ... };
    { name:tt * $($names:tt)+ } => { ... };
    { @@$($s:tt)+ } => { ... };
    { @$n:expr } => { ... };
    { $($any:tt)* } => { ... };
}
Expand description

Parser for Name Literals

n ::=
    fromast ast_expr    (inject ast nodes)
    []                  (leaf)
    n * n * ...         (extended bin)
    @@str               (symbol)
    @123                (number)