1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
b0VIM 7.4 ��U�si ) erickt Erick-Tryzelaar-MBP.local ~erickt/projects/rust/rust-quasi/quasi_macros/src/lib.rs utf-8
3210 #"! U tp g h R � n � _ > ] � : � ad $ � g � � ] Z � � R . - �
�
�
�
�
�
�
�
c
L
/
� � � � g $ � � � � � r V 6 �
�
�
�
~
]
.
� � � � � T , � � m J H G � � � X W / � � � � d c @ > =
� � s + � � � O � � � � � N � � � � q L � � -> Box<base::MacResult+'static> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_method(cx: &mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_parse_call(cx, sp, "parse_block", Vec::new(), tts); -> Box<base::MacResult+'cx> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_block<'cx>(cx: &'cx mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_parse_call(cx, sp, "parse_arm", vec!(), tts); -> Box<base::MacResult+'static> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_arm(cx: &mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_parse_call(cx, sp, "parse_pat", vec!(), tts); -> Box<base::MacResult+'cx> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_pat<'cx>(cx: &'cx mut ExtCtxt, } base::MacEager::expr(expanded) vec!(e_attrs), tts); let expanded = expand_parse_call(cx, sp, "parse_stmt", .build(); .path().global().ids(&["std", "vec", "Vec", "new"]).build() let e_attrs = builder.expr().call() let builder = aster::AstBuilder::new().span(sp); -> Box<base::MacResult+'static> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_stmt(cx: &mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_parse_call(cx, sp, "parse_expr", Vec::new(), tts); -> Box<base::MacResult+'cx> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_expr<'cx>(cx: &'cx mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_parse_call(cx, sp, "parse_ty", vec!(), tts); -> Box<base::MacResult+'static> { tts: &[ast::TokenTree]) sp: Span, pub fn expand_quote_ty(cx: &mut ExtCtxt, } base::MacEager::expr(expanded) let expanded = expand_wrapper(sp, cx_expr, expr); let (cx_expr, expr) = expand_tts(cx, sp, tts); ) -> Box<base::MacResult+'cx> { tts: &[ast::TokenTree], sp: Span, cx: &'cx mut ExtCtxt, pub fn expand_quote_tokens<'cx>( /// as antiquotes (splices). /// construction of the same token tree, with token::SubstNt interpreted /// that lifts its argument token-tree to an AST representing the /// This is registered as a set of expression syntax extension called quote! ///