Function chakracore::script::parse_with_name
[−]
[src]
pub fn parse_with_name(
guard: &ContextGuard,
name: &str,
code: &str
) -> Result<Function>
Parses code and associates it with a name, returns it as a function.