Add descriptive-name field to blocks.
This commit is contained in:
parent
8d0dc93930
commit
f17164f56f
|
@ -379,6 +379,8 @@ pub struct BlockDef {
|
||||||
pub pos_in_pred_succ: Vec<usize>,
|
pub pos_in_pred_succ: Vec<usize>,
|
||||||
/// Type and Value for each blockparam.
|
/// Type and Value for each blockparam.
|
||||||
pub params: Vec<(Type, Value)>,
|
pub params: Vec<(Type, Value)>,
|
||||||
|
/// Descriptive name for the block, if any.
|
||||||
|
pub desc: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
|
|
Loading…
Reference in a new issue