ProductEditorSegment docstrings
This commit is contained in:
parent
689ac95486
commit
71d8fefc3c
1 changed files with 3 additions and 0 deletions
|
@ -19,7 +19,10 @@ use {
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub enum ProductEditorSegment {
|
pub enum ProductEditorSegment {
|
||||||
|
/// Terminal Node, i.e. literal, immutable string
|
||||||
T( String, usize ),
|
T( String, usize ),
|
||||||
|
|
||||||
|
/// Nonterminal Node, i.e. sub-editor for type t
|
||||||
N {
|
N {
|
||||||
t: TypeTerm,
|
t: TypeTerm,
|
||||||
editor: Option<NestedNode>,
|
editor: Option<NestedNode>,
|
||||||
|
|
Loading…
Reference in a new issue