(
id: Option<Rc<Self>>,
params: Vec<Option<Rc<Self>>>,
body: Option<Rc<Self>>,
)
| 127 | } |
| 128 | |
| 129 | pub fn new_function_declaration( |
| 130 | id: Option<Rc<Self>>, |
| 131 | params: Vec<Option<Rc<Self>>>, |
| 132 | body: Option<Rc<Self>>, |
| 133 | ) -> Option<Rc<Self>> { |
| 134 | Some(Rc::new(Node::FunctionDeclaration { id, params, body })) |
| 135 | } |
| 136 | |
| 137 | pub fn new_variable_declarator( |
| 138 | id: Option<Rc<Self>>, |
nothing calls this directly
no outgoing calls
no test coverage detected