KlynLanguage
classin packageklyn.code.klyn
public class KlynLanguage extends Object
└ KlynLanguage

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")
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public static profile
profile() as LanguageProfile
Returns the shared singleton LanguageProfile for Klyn (".kn", ".wp").
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml