(
operator: char,
left: Option<Rc<Node>>,
right: Option<Rc<Node>>,
)
| 103 | } |
| 104 | |
| 105 | pub fn new_assignment_expression( |
| 106 | operator: char, |
| 107 | left: Option<Rc<Node>>, |
| 108 | right: Option<Rc<Node>>, |
| 109 | ) -> Option<Rc<Self>> { |
| 110 | Some(Rc::new(Node::AssignmentExpression { |
| 111 | operator, |
| 112 | left, |
| 113 | right, |
| 114 | })) |
| 115 | } |
| 116 | |
| 117 | pub fn new_expression_statement(expression: Option<Rc<Self>>) -> Option<Rc<Self>> { |
| 118 | Some(Rc::new(Node::ExpressionStatement(expression))) |
nothing calls this directly
no outgoing calls
no test coverage detected