public class KlynLanguage extends Object
Canonical LanguageProfile factory and vocabulary definitions for the Klyn language.
Consolidates all Klyn keywords, primitive and standard library types, built-in functions, symbolic constants, KQL query vocabulary, comment delimiters, string prefixes, and cyclomatic complexity decision keywords.
import klyn.code.klyn
profile = KlynLanguage.profile()
assert profile.id == "klyn"
assert profile.isKeyword("class")
assert profile.isConstant("true")
assert profile.isQueryKeyword("select")| Modifier and Type | Member | Description |
|---|---|---|
| public static | profileprofile() as LanguageProfile |
Returns the shared singleton LanguageProfile for Klyn (".kn", ".wp"). |