aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorJohn Renner <[email protected]>2020-05-01 16:59:24 +0100
committerJohn Renner <[email protected]>2020-05-01 16:59:24 +0100
commit3bb46042fb5b8ee421e350c54079cb68b4edc996 (patch)
treed464e978f3bde80b73e57bc83adcf9154e7169c2 /crates/ra_syntax/src/ast
parent6d49c7dfa3ae33e610905522caf5734c7cbca3ac (diff)
Validate uses of self and super
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index d2253d4af..2096f12f1 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -1251,6 +1251,8 @@ pub struct PathSegment {
1251impl PathSegment { 1251impl PathSegment {
1252 pub fn coloncolon_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![::]) } 1252 pub fn coloncolon_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![::]) }
1253 pub fn crate_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![crate]) } 1253 pub fn crate_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![crate]) }
1254 pub fn self_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![self]) }
1255 pub fn super_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![super]) }
1254 pub fn l_angle_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![<]) } 1256 pub fn l_angle_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![<]) }
1255 pub fn name_ref(&self) -> Option<NameRef> { support::child(&self.syntax) } 1257 pub fn name_ref(&self) -> Option<NameRef> { support::child(&self.syntax) }
1256 pub fn type_arg_list(&self) -> Option<TypeArgList> { support::child(&self.syntax) } 1258 pub fn type_arg_list(&self) -> Option<TypeArgList> { support::child(&self.syntax) }