use crate::script::*;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ScriptGType;
#[export_module]
#[allow(non_snake_case, non_upper_case_globals)]
pub(crate) mod GTypeModule {
use super::GType;
use crate::value::literal::TokenLiteral;
pub const NULL: GType = GType::NULL;
pub const BOOLEAN: GType = GType::BOOLEAN;
pub const INT: GType = GType::INT;
pub const LONG: GType = GType::LONG;
pub const FLOAT: GType = GType::FLOAT;
pub const DOUBLE: GType = GType::DOUBLE;
pub const NUMBER: GType = GType::NUMBER;
pub const STRING: GType = GType::STRING;
pub const UUID: GType = GType::UUID;
pub const DATETIME: GType = GType::DATETIME;
pub const DURATION: GType = GType::DURATION;
pub const DATE: GType = GType::DATE;
pub const LOCALDATETIME: GType = GType::LOCALDATETIME;
pub const TIME: GType = GType::TIME;
pub const VECTOR: GType = GType::VECTOR;
pub const LIST: GType = GType::LIST;
pub const MAP: GType = GType::MAP;
pub const VERTEX: GType = GType::VERTEX;
pub const EDGE: GType = GType::EDGE;
pub const PATH: GType = GType::PATH;
pub const GRAPH: GType = GType::GRAPH;
#[rhai_fn(global, name = "to_string", name = "to_debug", pure)]
pub fn to_string(target: &mut GType) -> String {
target.token_literal()
}
}