Fabrique

A build language for complex systems

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fabrique::ast::Expression Class Referenceabstract

Base class for expressions that can be evaluated. More...

#include <Expression.h>

Inheritance diagram for fabrique::ast::Expression:
fabrique::ast::Node fabrique::Typed fabrique::HasSource fabrique::Printable fabrique::Visitable< Visitor > fabrique::Uncopyable fabrique::ast::Action fabrique::ast::Argument fabrique::ast::BinaryOperation fabrique::ast::Call fabrique::ast::CompoundExpression fabrique::ast::Conditional fabrique::ast::DebugTracePoint fabrique::ast::FieldAccess fabrique::ast::FieldQuery fabrique::ast::FileList fabrique::ast::Filename fabrique::ast::ForeachExpr fabrique::ast::Function fabrique::ast::Import fabrique::ast::List fabrique::ast::Literal< T > fabrique::ast::SomeValue fabrique::ast::StructInstantiation fabrique::ast::SymbolReference fabrique::ast::UnaryOperation fabrique::ast::Value fabrique::ast::Literal< bool > fabrique::ast::Literal< int > fabrique::ast::Literal< std::string >

Public Member Functions

virtual dag::ValuePtr evaluate (EvalContext &) const =0
 
- Public Member Functions inherited from fabrique::HasSource
 HasSource (const SourceRange &src)
 
const SourceRangesource () const
 
- Public Member Functions inherited from fabrique::Printable
 Printable (const Printable &)
 
Printableoperator= (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.
 
virtual std::string str () const
 
- 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 Typetype () const
 

Protected Member Functions

 Expression (const Type &t, const SourceRange &src)
 
- Protected Member Functions inherited from fabrique::ast::Node
 Node (const SourceRange &src)
 

Detailed Description

Base class for expressions that can be evaluated.

Definition at line 49 of file Expression.h.


The documentation for this class was generated from the following files: