We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab30c78 commit 7459eedCopy full SHA for 7459eed
rust/schema/annotations.py
@@ -1841,7 +1841,14 @@ class _:
1841
// ^^^^^^^^^
1842
```
1843
"""
1844
-
+ statements: _ | doc("statements of this statement list") | desc("""
1845
+ The statements of a `StmtList` do not include any tail expression, which
1846
+ can be accessed with predicates such as `getTailExpr`.
1847
+ """)
1848
+ tail_expr: _ | doc("tail expression of this statement list") | desc("""
1849
+ The tail expression is the expression at the end of a block, that
1850
+ determines the block's value.
1851
1852
1853
@annotate(Struct, replace_bases={Item: None}) # still an Item via Adt
1854
class _:
0 commit comments