An expression that maps a sequence into a variable (e.g., at the beginning of a foreach loop). More...
#include <Mapping.h>
Public Member Functions | |
Mapping (UniqPtr< Parameter > &target, UniqPtr< Expression > &source, const SourceRange &src) | |
const Parameter & | target () const |
const Expression & | source () const |
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::HasSource | |
HasSource (const SourceRange &src) | |
const SourceRange & | source () const |
Public Member Functions inherited from fabrique::Printable | |
Printable (const Printable &) | |
Printable & | operator= (const Printable &) |
virtual std::string | str () const |
Public Member Functions inherited from fabrique::Visitable< Visitor > | |
virtual void | Accept (Visitor &) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from fabrique::ast::Node | |
Node (const SourceRange &src) | |
An expression that maps a sequence into a variable (e.g., at the beginning of a foreach loop).