(
operator: char,
left: Option<Rc<Node>>,
right: Option<Rc<Node>>,
)
| 91 | |
| 92 | impl Node { |
| 93 | pub fn new_binary_expression( |
| 94 | operator: char, |
| 95 | left: Option<Rc<Node>>, |
| 96 | right: Option<Rc<Node>>, |
| 97 | ) -> Option<Rc<Self>> { |
| 98 | Some(Rc::new(Node::BinaryExpression { |
| 99 | operator, |
| 100 | left, |
| 101 | right, |
| 102 | })) |
| 103 | } |
| 104 | |
| 105 | pub fn new_assignment_expression( |
| 106 | operator: char, |
nothing calls this directly
no outgoing calls
no test coverage detected