souffle
2.0.2-371-g6315b36
|
A variable to be utilized within constraints to be handled by the constraint solver. More...
#include <ConstraintSystem.h>
Public Types | |
using | property_space = PropertySpace |
exports the property space More... | |
Public Member Functions | |
bool | operator!= (const Variable &other) const |
Adds support for inequality comparison. More... | |
bool | operator< (const Variable &other) const |
Adds support for less-than comparison. More... | |
Variable & | operator= (const Variable &)=default |
Variable & | operator= (Variable &&)=default |
bool | operator== (const Variable &other) const |
Adds support for equality comparison. More... | |
virtual void | print (std::ostream &out) const |
Adds print support. More... | |
Variable (const Variable &)=default | |
Variable (Id id) | |
Variable (Variable &&)=default | |
virtual | ~Variable ()=default |
Protected Attributes | |
Id | id |
the underlying value giving this variable its identity More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Variable &var) |
Adds print support. More... | |
A variable to be utilized within constraints to be handled by the constraint solver.
Id | the type of object this variable shall be bound to |
PropertySpace | the property space this variable is associated to |
Definition at line 41 of file ConstraintSystem.h.
using souffle::ast::analysis::Variable< Id, PropertySpace >::property_space = PropertySpace |
exports the property space
Definition at line 139 of file ConstraintSystem.h.
|
inline |
Definition at line 141 of file ConstraintSystem.h.
|
virtualdefault |
|
default |
|
default |
|
inline |
Adds support for inequality comparison.
Definition at line 156 of file ConstraintSystem.h.
|
inline |
Adds support for less-than comparison.
Definition at line 161 of file ConstraintSystem.h.
|
default |
|
default |
|
inline |
|
inlinevirtual |
Adds print support.
Reimplemented in souffle::ast::analysis::ConstraintAnalysisVar< PropertySpace >.
Definition at line 166 of file ConstraintSystem.h.
|
friend |
|
protected |
the underlying value giving this variable its identity
Definition at line 178 of file ConstraintSystem.h.
Referenced by souffle::ast::analysis::Variable< const Argument *, PropertySpace >::Variable().