MachineError

foresight.eqsat.rewriting.patterns.MachineError
See theMachineError companion trait
object MachineError

A companion object for the MachineError trait.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class InconsistentVars[NodeT, EGraphT <: EGraphLike[NodeT, EGraphT] & EGraph[NodeT]](instruction: Compare[NodeT, EGraphT], first: EClassCall, second: EClassCall) extends MachineError[NodeT]

An error that occurs when two e-class calls are expected to be equal but are not.

An error that occurs when two e-class calls are expected to be equal but are not.

Type parameters

EGraphT

The type of the e-graph.

NodeT

The type of the nodes in the e-graph.

Value parameters

first

The first e-class call.

instruction

The Compare instruction that failed to find equal e-class calls.

second

The second e-class call.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MachineError[NodeT]
class Object
trait Matchable
class Any
Show all
final case class NoMatchingNode[NodeT, EGraphT <: EGraphLike[NodeT, EGraphT] & EGraph[NodeT]](instruction: BindNode[NodeT, EGraphT], call: EClassCall) extends MachineError[NodeT]

An error that occurs when no e-node in an e-class matches the node type, definitions, uses, and argument count of a BindNode instruction.

An error that occurs when no e-node in an e-class matches the node type, definitions, uses, and argument count of a BindNode instruction.

Type parameters

EGraphT

The type of the e-graph.

NodeT

The type of the nodes in the e-graph.

Value parameters

call

The e-class call that was searched for a matching e-node.

instruction

The BindNode instruction that failed to find a matching e-node.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MachineError[NodeT]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror