Macro yarpl::only[][src]

macro_rules! only {
    ($Type:ident : $literal: literal) => { ... };
}

Defines a type that only parses a string.

Example

only!(A : "a");