An expression whose value is literally expressed in the source file. More...
#include <literals.h>
 
  
 | Public Member Functions | |
| const T & | value () const | 
| virtual std::string | str () const =0 | 
|  Public Member Functions inherited from fabrique::ast::Expression | |
| virtual dag::ValuePtr | evaluate (EvalContext &) const =0 | 
|  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 &) | 
| virtual void | PrettyPrint (Bytestream &, size_t indent=0) const =0 | 
| Print a human-readable representation to an output stream and return that output stream. | |
|  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 | 
| Protected Member Functions | |
| Literal (const T &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) | |
An expression whose value is literally expressed in the source file.
Definition at line 46 of file literals.h.