![]() |
Spicy
|
#include <list-comprehension.h>
Public Member Functions | |
ListComprehension (Expression input, Expression output, ID id, std::optional< Expression > cond, Meta m=Meta()) | |
const auto & | input () const |
const auto & | output () const |
const auto & | local () const |
auto | localRef () const |
auto | condition () const |
IntrusivePtr< Scope > | scope () const |
void | setLocalType (Type t) |
void | setElementType (const Type x) |
bool | operator== (const ListComprehension &other) const |
bool | isLhs () const |
bool | isTemporary () const |
const Type & | type () const |
auto | isConstant () const |
auto | isEqual (const Expression &other) const |
auto | properties () const |
![]() | |
NodeBase (Meta meta) | |
NodeBase (std::vector< Node > childs, Meta meta) | |
template<typename T > | |
const T & | child (int i) const |
template<typename T > | |
void | assertChildIsA (int i) |
template<typename T > | |
auto | childs (int begin, int end) const |
auto | childRefs (int begin, int end) |
template<typename T > | |
hilti::node::Set< T > | childsOfType () const |
template<typename T > | |
std::vector< NodeRef > | childRefsOfType () const |
void | addChild (Node n) |
const auto & | childs () const |
auto & | childs () |
auto & | meta () const |
void | setMeta (Meta m) |
bool | pruneWalk () const |
AST node for a vector comprehension expression.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Node
interface.
|
inline |
Returns the output expressions's scope. Note that the scope is shared among any copies of an instance.
|
inline |
Implements Expression
interface.