globalValues

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StylePascalCase = "PascalCase"
	StyleCamelCase  = "camelCase"
	StyleSnakeCase  = "snake_case"
	StyleKebabCase  = "kebab-case"
)

naming styles

View Source
const (
	CurrentCCLVersion = "v0.0.3"
)
View Source
const (
	DefaultMainNamespace = "main"
)

namespaces constants

Variables

This section is empty.

Functions

This section is empty.

Types

type LanguageType

type LanguageType int

LanguageType represents a certain programming language (or, a certain format/data) that we support.

const (
	LanguageUnknown LanguageType = iota
	LanguageCCL
	LanguageGo
	LanguageGd
	LanguageCS
	LanguagePy
	LanguageJS
	LanguageTS
)

func GetLanguageTypeFromName

func GetLanguageTypeFromName(name string) LanguageType

func (LanguageType) GetShortName

func (l LanguageType) GetShortName() NormalizedLangName

GetShortName returns the short name of the current language type.

func (LanguageType) IsUnsupported

func (l LanguageType) IsUnsupported() bool

func (LanguageType) String

func (l LanguageType) String() string

String returns the string representation of this language type.

type NormalizedLangName

type NormalizedLangName = string

NormalizedLangName represents a normalized language name that's supported by CCL tool.

func GetNormalizedLanguageName

func GetNormalizedLanguageName(lang string) NormalizedLangName

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL