mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Update doc comments for StmtList predicates.
This commit is contained in:
@@ -1841,7 +1841,14 @@ class _:
|
||||
// ^^^^^^^^^
|
||||
```
|
||||
"""
|
||||
|
||||
statements: _ | doc("statements of this statement list") | desc("""
|
||||
The statements of a `StmtList` do not include any tail expression, which
|
||||
can be accessed with predicates such as `getTailExpr`.
|
||||
""")
|
||||
tail_expr: _ | doc("tail expression of this statement list") | desc("""
|
||||
The tail expression is the expression at the end of a block, that
|
||||
determines the block's value.
|
||||
""")
|
||||
|
||||
@annotate(Struct, replace_bases={Item: None}) # still an Item via Adt
|
||||
class _:
|
||||
|
||||
Reference in New Issue
Block a user