language

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedLanguages = []string{
	"c", "cpp", "csharp", "go", "java", "javascript", "python", "ruby",
}

SupportedLanguages lists all CodeQL-supported languages.

Functions

func ToDirectory

func ToDirectory(lang string) string

ToDirectory maps a language option string to its CodeQL directory name.

func ToExtension

func ToExtension(lang string) string

ToExtension maps a language to its source file extension.

func ToImport

func ToImport(lang string) string

ToImport maps a language to its CodeQL import name.

func ToSafeTestName

func ToSafeTestName(lang, name string) string

ToSafeTestName replaces hyphens with underscores in a test name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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