Companion
Properties
Functions
Wraps the provided string within single quotes, unconditionally.
Wraps the provided string within single quotes, but only if it is not well-formed. Well-formed check is performed via the isWellFormedFunctor method.
Unconditionally, escapes all occurrences of the characters \n, \r, \t, and \ in string. Depending on the value of parameters escapeDoubleQuotes and escapeSingleQuotes, occurrences of characters " and ' may be escaped as well.
Escapes all occurrences of the characters \n, \r, \t, and \ in string, but only if a preliminary check reveals that it contains some character which require escaping. Depending on the value of parameters escapeDoubleQuotes and escapeSingleQuotes, occurrences of characters " and ' may be escaped as well.
Checks if a string matches NON_PRINTABLE_CHARACTER_PATTERN.
Checks if a string matches WELL_FORMED_FUNCTOR_PATTERN.
Creates a new Struct from the given Iterable of Terms. Instances of Struct are always created of the most adequate sub-type of Struct. This implies that, whenever possible, the creation of the new Struct may be delegated to:
Creates a new Struct from the given KtList of Terms. Instances of Struct are always created of the most adequate sub-type of Struct. This implies that, whenever possible, the creation of the new Struct may be delegated to: