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

Registers built-in type names in $O(1)$ lookup tables.

Parameters
ParameterDescription
wordsList of type names.
Returns

this for fluent chaining.

Example
import klyn.code

p = LanguageProfile("klyn", "Klyn").withTypes(["Int", "Long", "String"])
assert p.isType("Long")