This commit is contained in:
1 parent
6d1c68994c
commit
4cf50a0b9c
40 files changed
+2767
-430
No files matched your search
@@ -441,6 +441,13 @@ pub struct GateInstance {
|
||||
pub struct GenIf {
|
||||
pub cond: Expr,
|
||||
pub then: GenBlock,
|
||||
/// Trailing comment written on `then`'s `end` / `end : label` line when an
|
||||
/// `else` branch follows (keeping it out of `else`'s leading comments).
|
||||
pub then_trailing: Option<Comment>,
|
||||
/// Balanced/non-conditional directives between `then` and `else`.
|
||||
pub else_directives: Vec<ListDirective>,
|
||||
/// Comments between `then` (or its intervening directives) and `else`.
|
||||
pub else_comments: Vec<Comment>,
|
||||
pub els: Option<Box<GenElse>>,
|
||||
/// Code extent of the whole `if`, its `else` branch included.
|
||||
pub span: TextRange,
|
||||
|
||||
Reference in new issue
Block a user