io.github.kelvindev15.prolog.visitors

Members list

Type members

Classlikes

object BinaryToFlatVisitor extends TermVisitor[Seq[Term]]

Linearizes a BinaryRecursiveStruct, e.g a ','(a, ','(b, ','(c, []))) becomes [a, b, c].

Linearizes a BinaryRecursiveStruct, e.g a ','(a, ','(b, ','(c, []))) becomes [a, b, c].

Attributes

Supertypes
trait TermVisitor[Seq[Term]]
class Object
trait Matchable
class Any
Self type
trait TermVisitor[T]

Visits the Term structures

Visits the Term structures

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ToInstanceTermVisitor(substitution: Substitution) extends TermVisitor[Term]

Attributes

Supertypes
trait TermVisitor[Term]
class Object
trait Matchable
class Any
object ToStringTermVisitor extends TermVisitor[String]

Attributes

Supertypes
trait TermVisitor[String]
class Object
trait Matchable
class Any
Self type