Function new_fn

Source
pub fn new_fn<V, E>(
    name: Option<String>,
    params: Vec<E>,
    body: Vec<V>,
) -> FunctionNode
where V: Into<AstKind>, E: Into<ExprKind>,
Expand description

Creates a new function node.