diff options
author | Aleksey Kladov <[email protected]> | 2018-09-03 00:01:43 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-09-03 00:01:43 +0100 |
commit | 58480b9190d8851abf7f634820188e33efed286d (patch) | |
tree | 61d272628c9689071e4ea6bf5b49d0ed0f5e5789 /crates/libsyntax2/src/ast/mod.rs | |
parent | fdd282ee0c7c627120bbcd7b78c0c6b7acb3556f (diff) |
method call scope
Diffstat (limited to 'crates/libsyntax2/src/ast/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/ast/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/libsyntax2/src/ast/mod.rs b/crates/libsyntax2/src/ast/mod.rs index 49e283f5e..274996171 100644 --- a/crates/libsyntax2/src/ast/mod.rs +++ b/crates/libsyntax2/src/ast/mod.rs | |||
@@ -26,6 +26,12 @@ pub trait LoopBodyOwner<'a>: AstNode<'a> { | |||
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 | ||
29 | pub trait ArgListOwner<'a>: AstNode<'a> { | ||
30 | fn arg_list(self) -> Option<ArgList<'a>> { | ||
31 | child_opt(self) | ||
32 | } | ||
33 | } | ||
34 | |||
29 | pub trait TypeParamsOwner<'a>: AstNode<'a> { | 35 | pub trait TypeParamsOwner<'a>: AstNode<'a> { |
30 | fn type_param_list(self) -> Option<TypeParamList<'a>> { | 36 | fn type_param_list(self) -> Option<TypeParamList<'a>> { |
31 | child_opt(self) | 37 | child_opt(self) |