HUCTLp / com.github.sybila.huctl / DirFormula / Equals

Equals

data class Equals : DirFormula, Binary<Equals, DirFormula>

Logical equivalence. A path will match this restriction either when it matches both left and right restriction or none of them.

Constructors

<init> Equals(left: DirFormula, right: DirFormula)

Logical equivalence. A path will match this restriction either when it matches both left and right restriction or none of them.

Properties

left val left: DirFormula

The child of this element which is the root of the left subtree.

right val right: DirFormula

The child of this element which is the root of the right subtree.

Inherited Properties

node open val node: DirFormula

DirFormula is also the node in the tree, so node == this

Functions

toString fun toString(): String

Return string which uniquely represents this formula and can be parsed to create an equivalent object.