aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/generated
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-10 17:09:36 +0100
committerveetaha <[email protected]>2020-05-10 17:09:36 +0100
commit258a3461b428efa0b8cc8fcd40c7844a8ce22406 (patch)
tree18a093a1453ae1848aa5abd092140a2acaa1784f /crates/ra_syntax/src/ast/generated
parent3554866d67809e027ad6faeda1604a36a27c6561 (diff)
Add proper docs for TokenTree as per edwin0cheng
Diffstat (limited to 'crates/ra_syntax/src/ast/generated')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index dbb009b68..4bcdbd495 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -1872,7 +1872,8 @@ impl Attr {
1872 pub fn input(&self) -> Option<AttrInput> { support::child(&self.syntax) } 1872 pub fn input(&self) -> Option<AttrInput> { support::child(&self.syntax) }
1873 pub fn r_brack_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![']']) } 1873 pub fn r_brack_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![']']) }
1874} 1874}
1875/// // TODO: clarify on this AST type @edwin0cheng 1875/// Stores a list of lexer tokens and other `TokenTree`s.
1876/// It appears in attributes, macro_rules and macro call (foo!)
1876/// 1877///
1877/// ``` 1878/// ```
1878/// macro_call! ❰ { my syntax here } ❱; 1879/// macro_call! ❰ { my syntax here } ❱;