MCPcopy Create free account
hub / github.com/d0iasm/saba / new_call_expression

Method new_call_expression

core/src/renderer/js/ast.rs:155–160  ·  view source on GitHub ↗
(
        callee: Option<Rc<Self>>,
        arguments: Vec<Option<Rc<Self>>>,
    )

Source from the content-addressed store, hash-verified

153 }
154
155 pub fn new_call_expression(
156 callee: Option<Rc<Self>>,
157 arguments: Vec<Option<Rc<Self>>>,
158 ) -> Option<Rc<Self>> {
159 Some(Rc::new(Node::CallExpression { callee, arguments }))
160 }
161
162 pub fn new_identifier(name: String) -> Option<Rc<Self>> {
163 Some(Rc::new(Node::Identifier(name)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected