diff options
author | Aleksey Kladov <[email protected]> | 2019-01-08 09:23:10 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-08 09:23:10 +0000 |
commit | fa6e0b0d38d2a030b959be91232927b9c096272b (patch) | |
tree | 81b546c105388e1fc3154c90a42a8cc5fb930d0b /crates/ra_syntax/src/ast/generated.rs | |
parent | 3f4be819125ce4a22edd86721fa56b5caba99c2e (diff) |
itroduce trait for ast tokens
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 5e96ab142..547e3c003 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -288,6 +288,7 @@ impl AstNode for Byte { | |||
288 | } | 288 | } |
289 | 289 | ||
290 | 290 | ||
291 | impl ast::AstToken for Byte {} | ||
291 | impl Byte {} | 292 | impl Byte {} |
292 | 293 | ||
293 | // ByteString | 294 | // ByteString |
@@ -312,6 +313,7 @@ impl AstNode for ByteString { | |||
312 | } | 313 | } |
313 | 314 | ||
314 | 315 | ||
316 | impl ast::AstToken for ByteString {} | ||
315 | impl ByteString {} | 317 | impl ByteString {} |
316 | 318 | ||
317 | // CallExpr | 319 | // CallExpr |
@@ -397,6 +399,7 @@ impl AstNode for Char { | |||
397 | } | 399 | } |
398 | 400 | ||
399 | 401 | ||
402 | impl ast::AstToken for Char {} | ||
400 | impl Char {} | 403 | impl Char {} |
401 | 404 | ||
402 | // Comment | 405 | // Comment |
@@ -421,6 +424,7 @@ impl AstNode for Comment { | |||
421 | } | 424 | } |
422 | 425 | ||
423 | 426 | ||
427 | impl ast::AstToken for Comment {} | ||
424 | impl Comment {} | 428 | impl Comment {} |
425 | 429 | ||
426 | // Condition | 430 | // Condition |
@@ -1270,6 +1274,7 @@ impl AstNode for Lifetime { | |||
1270 | } | 1274 | } |
1271 | 1275 | ||
1272 | 1276 | ||
1277 | impl ast::AstToken for Lifetime {} | ||
1273 | impl Lifetime {} | 1278 | impl Lifetime {} |
1274 | 1279 | ||
1275 | // LifetimeParam | 1280 | // LifetimeParam |
@@ -2766,6 +2771,7 @@ impl AstNode for String { | |||
2766 | } | 2771 | } |
2767 | 2772 | ||
2768 | 2773 | ||
2774 | impl ast::AstToken for String {} | ||
2769 | impl String {} | 2775 | impl String {} |
2770 | 2776 | ||
2771 | // StructDef | 2777 | // StructDef |
@@ -3391,5 +3397,6 @@ impl AstNode for Whitespace { | |||
3391 | } | 3397 | } |
3392 | 3398 | ||
3393 | 3399 | ||
3400 | impl ast::AstToken for Whitespace {} | ||
3394 | impl Whitespace {} | 3401 | impl Whitespace {} |
3395 | 3402 | ||