proute/names

Types

pub type TypeReference {
  TypeReference(module_path: String, type_name: String)
}

Constructors

  • TypeReference(module_path: String, type_name: String)

Values

pub fn helper_name(constructor: String) -> String
pub fn is_valid_label(name: String) -> Bool
pub fn is_valid_module_path(path: String) -> Bool
pub fn is_valid_module_segment(segment: String) -> Bool
pub fn is_valid_type_name(name: String) -> Bool
pub fn module_path_from_file(path: String) -> Result(String, Nil)
pub fn module_path_from_output_dir(
  path: String,
) -> Result(String, Nil)
pub fn page_alias(constructor: String) -> String
pub fn parse_type_reference(
  value: String,
) -> Result(TypeReference, Nil)
pub fn pascal_case(value: String) -> String
pub fn snake_case(value: String) -> String
Search Document