TruthValue

com.phasmidsoftware.lascala.parser.TruthValue
case class TruthValue(b: Boolean) extends RuleLike

Truth value: always or never true

Value parameters

b

the truth value

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RuleLike
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def asRule: Rule[String]

Method to convert this (parsed) RuleLike instance into a Rule[String]

Method to convert this (parsed) RuleLike instance into a Rule[String]

Attributes

Returns

a Rule[String] that corresponds to this (parsed) RuleLike

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product