Skip to main content

call_constructor

Function call_constructor 

Source
pub fn call_constructor(
    name: &str,
    args: &mut Vec<Value>,
    span: Span,
) -> Result<Value, RuntimeError>
Expand description

Ok(v), Err(e), Some(v), Error("message"), Shared(value).

Which names these are and how many arguments each carries come from the shared table; what each one builds is here, because building one needs a Value.