Macro yaml_peg::node_arc[][src]

macro_rules! node_arc {
    ([$($token : tt) *]) => { ... };
    ({ $($token : tt) * }) => { ... };
    (* $anchor : expr) => { ... };
    ($yaml : expr) => { ... };
}
Expand description

Create ArcNode items literally.

The API is same as node! macro.

use yaml_peg::{node_arc as node, ArcNode};

assert_eq!(node!(()), ArcNode::from(()));