ProductEditorSegment docstrings

This commit is contained in:
Michael Sippel 2024-10-27 13:38:50 +01:00
parent 689ac95486
commit 71d8fefc3c
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -19,7 +19,10 @@ use {
#[derive(Clone)]
pub enum ProductEditorSegment {
/// Terminal Node, i.e. literal, immutable string
T( String, usize ),
/// Nonterminal Node, i.e. sub-editor for type t
N {
t: TypeTerm,
editor: Option<NestedNode>,