CamelCaseNamingConvention

The camel case naming convetion.

Members

Functions

convert
string convert(string flattened)

Convert from foo.bar.baz to fooBarBaz

convertBack
string convertBack(string camelCase)

Convert from fooBarBaz to foo.bar.baz

Examples

static assert(CamelCaseNamingConvention().convert("foo.bar.baz") == "fooBarBaz");
static assert(CamelCaseNamingConvention().convertBack("fooBarBaz") == "foo.bar.baz");
static assert(CamelCaseNamingConvention().convert("foo") == "foo");
static assert(CamelCaseNamingConvention().convertBack("foo") == "foo");

Meta