klyn.code.LanguageProfile.withQueryTypes
method
public withQueryTypes(words as ArrayList<String>) as LanguageProfile
Description

Registers contextual query type names (such as Klyn KQL Decimal, UUID).

Parameters
ParameterDescription
wordsList of query types.
Returns

this for fluent chaining.

Example
import klyn.code

p = LanguageProfile("klyn", "Klyn").withQueryTypes(["Decimal", "UUID"])
assert p.isQueryType("UUID")