Skip to main content

node_example

Function node_example 

Source
pub fn node_example(kind: &str) -> Option<&'static str>
Expand description

Return a minimal, syntactically correct full-node example for a node kind.

This is separate from node_content: leaf nodes have no child-content descriptor, but still need an authoring example in CLI schema output.