Terms

object Terms

Internal-use constants and patterns (well-formedness patterns, canonical/reserved functors) shared across the Term hierarchy's interfaces and companions. Most of these are re-exposed as named constants on the relevant type (e.g. Var.NAME_PATTERN, Struct.WELL_FORMED_FUNCTOR_PATTERN, Cons.FUNCTOR); prefer those over referencing Terms directly, which exists mainly to avoid duplicating these values across types.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val CONS_FUNCTOR: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val FAIL_FUNCTOR: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val TRUE_FUNCTOR: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun escapeChar(char: Char, singleQuotes: Boolean = true, doubleQuotes: Boolean = !singleQuotes): String