pub fn new(
        name: &str,
        hidden: bool,
        priority: i32,
        successors: Vec<Rc<Node>>,
        repeatable: bool,
        repeat_marker: Option<Rc<Node>>,
        parameter: Rc<Node>,
    ) -> Self {
        let param_node = &parameter.node();
        let help_text = param_node.help_text.clone();
        let help_symbol = name.to_string() + " " + param_node.help_symbol.as_str();
        ParameterNameNode {
            node: TreeNode {
                name: name.to_string(),
                help_symbol: help_symbol,
                help_text: help_text,
                hidden: hidden,
                priority: priority,
                repeat_marker: repeat_marker,
                repeatable: repeatable,
                successors: successors,
            },
            parameter: Rc::clone(&parameter),
        }
    }
/// Construct a new `ParameterNameNode`.
Construct a new `ParameterNameNode`.
Construct a new ` ParameterNameNode ` .
pub fn new(
        name: &str,
        hidden: bool,
        priority: i32,
        successors: Vec<Rc<Node>>,
        repeatable: bool,
        repeat_marker: Option<Rc<Node>>,
        parameter: Rc<Node>,
    ) -> Self {
        let param_node = &parameter.node();
        let help_text = param_node.help_text.clone();
        let help_symbol = name.to_string() + " " + param_node.help_symbol.as_str();
        ParameterNameNode {
            node: TreeNode {
                name: name.to_string(),
                help_symbol: help_symbol,
                help_text: help_text,
                hidden: hidden,
                priority: priority,
                repeat_marker: repeat_marker,
                repeatable: repeatable,
                successors: successors,
            },
            parameter: Rc::clone(&parameter),
        }
    }
pub fn new ( name : & str , hidden : bool , priority : i32 , successors : Vec < Rc < Node > > , repeatable : bool , repeat_marker : Option < Rc < Node > > , parameter : Rc < Node > , ) -> Self { let param_node = & parameter . node ( ) ; let help_text = param_node . help_text . clone ( ) ; let help_symbol = name . to_string ( ) + " " + param_node . help_symbol . as_str ( ) ; ParameterNameNode { node : TreeNode { name : name . to_string ( ) , help_symbol : help_symbol , help_text : help_text , hidden : hidden , priority : priority , repeat_marker : repeat_marker , repeatable : repeatable , successors : successors , } , parameter : Rc :: clone ( & parameter ) , } }
Construct a new `ParameterNameNode`.
Construct a new ` ParameterNameNode ` .
name
&str
hidden
bool
priority
i32
successors
Vec<Rc<Node>>
repeatable
bool
repeat_marker
Option<Rc<Node>>
parameter
Rc<Node>
name
&str
hidden
bool
priority
i32
successors
Vec<Rc<Node>>
repeatable
bool
repeat_marker
Option<Rc<Node>>
parameter
Rc<Node>