Visitable

io.github.kelvindev15.prolog.core.Visitable
trait Visitable

A trait to visit a Term like object.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Term
trait Constant
trait Atom
trait Numeric
trait Struct
trait PrologList
trait Cons
object Nil
trait Conjunction
trait Disjunction
trait Clause
trait Directive
trait Rule
trait Fact
trait Indicator
trait Variable
Show all
Self type

Members list

Value members

Abstract methods

def accept[T](visitor: TermVisitor[T]): T

Accepts a TermVisitor.

Accepts a TermVisitor.

Attributes