knave-expand 0.14.22

The reading, scoping and expansion stages of knave
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::reader::{Form, FormShape};

pub trait ListItem {
    fn list_size(&self) -> usize;
}

impl ListItem for Form {
    fn list_size(&self) -> usize {
        FormShape::from(self).stored_form_count()
    }
}