public class GoLanguage extends Object
Canonical LanguageProfile factory and vocabulary definitions for Go (.go).
Includes all Go keywords, predeclared types (including Go 1.18+ any and comparable), predeclared constants (true, false, nil, iota), and built-in functions (make, new, len, cap, append, copy, delete, clear, min, max, panic, recover).
import klyn.code.go
profile = GoLanguage.profile()
assert profile.id == "go"
assert profile.isKeyword("defer")
assert profile.isType("uintptr")| Modifier and Type | Member | Description |
|---|---|---|
| public static | profileprofile() as LanguageProfile |
Returns the shared singleton LanguageProfile for Go. |