A boolean (true/false) value.
More...
#include <Primitive.h>
|
| Boolean (bool, const Type &, SourceRange src=SourceRange::None()) |
|
std::string | str () const |
|
virtual ValuePtr | Negate (const SourceRange &src) const override |
| Unary 'not' operator.
|
|
virtual ValuePtr | And (ValuePtr &) const override |
| Logical and. More...
|
|
virtual ValuePtr | Or (ValuePtr &) const override |
| Logical or. More...
|
|
virtual ValuePtr | Xor (ValuePtr &) const override |
| Logical xor. More...
|
|
virtual ValuePtr | Equals (ValuePtr &) const override |
| Equivalence. More...
|
|
void | Accept (Visitor &v) const override |
|
virtual bool | value () const |
|
virtual void | PrettyPrint (Bytestream &b, size_t=0) const override |
| Print a human-readable representation to an output stream and return that output stream.
|
|
virtual bool | hasFields () const |
|
virtual ValuePtr | field (const std::string &) const |
|
virtual ValuePtr | Add (ValuePtr &) const |
| Add this fabrique::dag::Value to a following Value. More...
|
|
virtual ValuePtr | PrefixWith (ValuePtr &) const |
| Apply the prefix operation: prefix this value with another value.
|
|
virtual ValuePtr | ScalarAdd (ValuePtr &) const |
| Add another fabrique::dag::Value scalar-wise across this Value.
|
|
virtual const List * | asList () const |
| A list representation of this value (or nullptr).
|
|
virtual bool | canScalarAdd (const Value &) const |
| This Value can add a value to itself in a scalar fashion. More...
|
|
| HasSource (const SourceRange &src) |
|
const SourceRange & | source () const |
|
| Printable (const Printable &) |
|
Printable & | operator= (const Printable &) |
|
| Typed (const Type &t) |
|
virtual const Type & | type () const |
|
A boolean (true/false) value.
Definition at line 71 of file Primitive.h.
ValuePtr Boolean::And |
( |
ValuePtr & |
| ) |
const |
|
overridevirtual |
ValuePtr Boolean::Equals |
( |
ValuePtr & |
| ) |
const |
|
overridevirtual |
ValuePtr Boolean::Or |
( |
ValuePtr & |
| ) |
const |
|
overridevirtual |
ValuePtr Boolean::Xor |
( |
ValuePtr & |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: