(
operator: char,
left: Option<Rc<Node>>,
right: Option<Rc<Node>>,
)
| 82 | |
| 83 | impl Node { |
| 84 | pub fn new_binary_expression( |
| 85 | operator: char, |
| 86 | left: Option<Rc<Node>>, |
| 87 | right: Option<Rc<Node>>, |
| 88 | ) -> Option<Rc<Self>> { |
| 89 | Some(Rc::new(Node::BinaryExpression { |
| 90 | operator, |
| 91 | left, |
| 92 | right, |
| 93 | })) |
| 94 | } |
| 95 | |
| 96 | pub fn new_assignment_expression( |
| 97 | operator: char, |
nothing calls this directly
no outgoing calls
no test coverage detected