mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Error builtin
This commit is contained in:
@@ -21,6 +21,8 @@ pub enum BuiltinName {
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
parseInt,
|
||||
|
||||
Error,
|
||||
}
|
||||
|
||||
pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
|
||||
@@ -34,6 +36,7 @@ pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
|
||||
"isNaN",
|
||||
"parseFloat",
|
||||
"parseInt",
|
||||
"Error",
|
||||
];
|
||||
|
||||
pub const BUILTIN_COUNT: usize = BuiltinName::COUNT;
|
||||
|
||||
Reference in New Issue
Block a user