(
id: Option<Rc<Self>>,
init: Option<Rc<Self>>,
)
| 135 | } |
| 136 | |
| 137 | pub fn new_variable_declarator( |
| 138 | id: Option<Rc<Self>>, |
| 139 | init: Option<Rc<Self>>, |
| 140 | ) -> Option<Rc<Self>> { |
| 141 | Some(Rc::new(Node::VariableDeclarator { id, init })) |
| 142 | } |
| 143 | |
| 144 | pub fn new_variable_declaration(declarations: Vec<Option<Rc<Self>>>) -> Option<Rc<Self>> { |
| 145 | Some(Rc::new(Node::VariableDeclaration { declarations })) |
nothing calls this directly
no outgoing calls
no test coverage detected