#![allow(unused)]
use proc_macro2::Ident;
use syn::{Path, Type};
pub fn string_ty() -> Path {
syn::parse_str("::std::string::String").unwrap()
}
pub fn result_ty() -> Path {
syn::parse_str("::std::result::Result").unwrap()
}
pub fn option_ty() -> Path {
syn::parse_str("::std::option::Option").unwrap()
}
pub fn phantom_data_ty() -> Path {
syn::parse_str("::std::marker::PhantomData").unwrap()
}
pub fn default_trait() -> Path {
syn::parse_str("::std::default::Default").unwrap()
}
pub fn clone_trait() -> Path {
syn::parse_str("::std::clone::Clone").unwrap()
}
#[allow(clippy::wrong_self_convention)]
pub fn into_trait() -> Path {
syn::parse_str("::std::convert::Into").unwrap()
}
pub fn box_ty() -> Path {
syn::parse_str("::std::boxed::Box").unwrap()
}
pub fn var_handler_trait() -> Path {
syn::parse_str("::uclicious::traits::VariableHandler").unwrap()
}
pub fn try_into_trait() -> Path {
syn::parse_str("::std::convert::TryInto").unwrap()
}
pub fn from_object_trait() -> Path {
syn::parse_str("::uclicious::FromObject").unwrap()
}
pub fn from_str_trait() -> Path {
syn::parse_str("::std::str::FromStr").unwrap()
}
pub fn boxed_error() -> Type {
syn::parse_str("::std::boxed::Box<dyn ::std::error::Error>").unwrap()
}
pub fn deref_trait() -> Type {
syn::parse_str("::std::ops::Deref").unwrap()
}
pub fn borrow_trait() -> Type {
syn::parse_str("::std::borrow::Borrow").unwrap()
}
pub fn ucl_parser() -> Path {
syn::parse_str("::uclicious::Parser").unwrap()
}
pub fn ucl_parser_flags_ty() -> Path {
syn::parse_str("::uclicious::ParserFlags").unwrap()
}
pub fn ucl_parser_error() -> Path {
syn::parse_str("::uclicious::UclError").unwrap()
}
pub fn ucl_object_error() -> Path {
syn::parse_str("::uclicious::ObjectError").unwrap()
}
pub fn ucl_object_ref_ty() -> Path {
syn::parse_str("::uclicious::ObjectRef").unwrap()
}
pub fn ucl_object_ty() -> Path {
syn::parse_str("::uclicious::Object").unwrap()
}
pub fn as_ref_trait() -> Path {
syn::parse_str("::std::convert::AsRef").unwrap()
}
pub fn ucilicous_priority_type() -> Path {
syn::parse_str("::uclicious::Priority").unwrap()
}
pub fn ucilicous_duplicate_strategy_type() -> Path {
syn::parse_str("::uclicious::DuplicateStrategy").unwrap()
}
pub fn path_ty() -> Path {
syn::parse_str("::std::path::Path").unwrap()
}
pub fn ucl_default_strategy() -> Path {
syn::parse_str("::uclicious::DEFAULT_DUPLICATE_STRATEGY").unwrap()
}