Skip to main content

check_global_name

Function check_global_name 

Source
pub fn check_global_name(name: &str) -> Result<(), &'static str>
Expand description

Why name cannot be a global the engine adds to every script — the base library’s, or a host library’s: it is [a-z][a-z0-9]*, no reserved word, and no name a script already has from its carrier or the language.