(
id: Option<Rc<Self>>,
params: Vec<Option<Rc<Self>>>,
body: Option<Rc<Self>>,
)
| 118 | } |
| 119 | |
| 120 | pub fn new_function_declaration( |
| 121 | id: Option<Rc<Self>>, |
| 122 | params: Vec<Option<Rc<Self>>>, |
| 123 | body: Option<Rc<Self>>, |
| 124 | ) -> Option<Rc<Self>> { |
| 125 | Some(Rc::new(Node::FunctionDeclaration { id, params, body })) |
| 126 | } |
| 127 | |
| 128 | pub fn new_variable_declarator( |
| 129 | id: Option<Rc<Self>>, |
nothing calls this directly
no outgoing calls
no test coverage detected