diff options
author | Aleksey Kladov <[email protected]> | 2018-12-28 13:59:58 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-28 13:59:58 +0000 |
commit | 406505e096b4e6626ba8eb6c035671783ed2a577 (patch) | |
tree | 6bd7e4eef15f3632f234aaa93f869062e030b381 /crates/ra_syntax/src/ast | |
parent | 072028e67996162f5a9da14cfd59ed64de5e8729 (diff) |
super simplistic macro expansion
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index b0d2c3e20..c5ac90a62 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -1877,6 +1877,10 @@ impl<'a> MacroCall<'a> { | |||
1877 | pub fn token_tree(self) -> Option<TokenTree<'a>> { | 1877 | pub fn token_tree(self) -> Option<TokenTree<'a>> { |
1878 | super::child_opt(self) | 1878 | super::child_opt(self) |
1879 | } | 1879 | } |
1880 | |||
1881 | pub fn path(self) -> Option<Path<'a>> { | ||
1882 | super::child_opt(self) | ||
1883 | } | ||
1880 | } | 1884 | } |
1881 | 1885 | ||
1882 | // MatchArm | 1886 | // MatchArm |