Tungsten v0.1.0 Tungsten.Codegen.Naming View Source

Convert spec names to Tungsten names

This module takes care of naming-related operations, and prevents certain collisions with reserved keywords.

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

command_name(name) View Source
command_name(name()) :: atom()

Link to this function

command_to_method(command) View Source
command_to_method(Tungsten.Codegen.Command.t()) :: String.t()

Link to this function

domain_name_to_module(domain_name) View Source
domain_name_to_module(name()) :: module()

See Tungsten.Codegen.Naming.underscored_atom/1.

See Tungsten.Codegen.Naming.underscored_atom/1.

Link to this function

type_name(type_name) View Source
type_name(name()) :: atom()

Link to this function

underscored_atom(name) View Source
underscored_atom(name()) :: atom()