globalValues

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

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

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 = 1 << 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