A literal 'true' or 'false' value in code. More...
#include <literals.h>
 
  
 | Public Member Functions | |
| BoolLiteral (bool value, const Type &ty, const SourceRange &loc) | |
| std::string | str () const | 
| virtual dag::ValuePtr | evaluate (EvalContext &) const override | 
| virtual void | PrettyPrint (Bytestream &, size_t indent=0) const override | 
| Print a human-readable representation to an output stream and return that output stream. | |
| virtual void | Accept (Visitor &) const | 
|  Public Member Functions inherited from fabrique::ast::Literal< bool > | |
| const bool & | value () const | 
|  Public Member Functions inherited from fabrique::HasSource | |
| HasSource (const SourceRange &src) | |
| const SourceRange & | source () const | 
|  Public Member Functions inherited from fabrique::Printable | |
| Printable (const Printable &) | |
| Printable & | operator= (const Printable &) | 
|  Public Member Functions inherited from fabrique::Visitable< Visitor > | |
| virtual void | Accept (Visitor &) const =0 | 
|  Public Member Functions inherited from fabrique::Typed | |
| Typed (const Type &t) | |
| virtual const Type & | type () const | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from fabrique::ast::Literal< bool > | |
| Literal (const bool &value, const Type &ty, const SourceRange &loc) | |
|  Protected Member Functions inherited from fabrique::ast::Expression | |
| Expression (const Type &t, const SourceRange &src) | |
|  Protected Member Functions inherited from fabrique::ast::Node | |
| Node (const SourceRange &src) | |
A literal 'true' or 'false' value in code.
Definition at line 64 of file literals.h.