4 #![crate_type="proc-macro"]
5 #![allow(non_snake_case)]
7 extern crate proc_macro;
9 macro_rules! proc_macro_expr_impl {
12 pub fn $func:ident($input:ident: &str) -> String;
16 #[proc_macro_derive($func)]
17 pub fn $func(_input: ::proc_macro::TokenStream) -> ::proc_macro::TokenStream {
24 proc_macro_expr_impl! {
25 pub fn f1(input: &str) -> String;
26 pub fn f2(input: &str) -> String;
27 pub fn f3(input: &str) -> String;
28 pub fn f4(input: &str) -> String;
29 pub fn f5(input: &str) -> String;
30 pub fn f6(input: &str) -> String;
31 pub fn f7(input: &str) -> String;
32 pub fn f8(input: &str) -> String;
33 pub fn f9(input: &str) -> String;
34 pub fn fA(input: &str) -> String;
35 pub fn fB(input: &str) -> String;
36 pub fn fC(input: &str) -> String;
37 pub fn fD(input: &str) -> String;
38 pub fn fE(input: &str) -> String;
39 pub fn fF(input: &str) -> String;