Condition

com.phasmidsoftware.lascala.parser.Condition
case class Condition(subject: String, predicate: PredicateExpr) extends RuleLike

Condition: defines a leaf RuleLike instance.

Value parameters

predicate

the predicate of this condition

subject

the subject of this condition

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

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

Concrete fields

val p: Predicate[String]