toString

override fun toString(): String(source)

Returns a String representation with no variable assignments and no brackets or dot at root level.

Return

The unformatted String representation of this FOLEntity.


fun toString(variableAssignments: Map<String, Node>, wrap: Boolean): String(source)

Returns a String representation with no variable assignments and optional brackets or dot at root level.

Return

The formatted String representation of this FOLEntity.

Parameters

variableAssignments

Map of BoundVariable names and Nodes that will replace them in the String representation.

wrap

Indicates that hasBrackets and hasDot will be checked to eventually include them in the String representation.