![]() |
Spicy
|
#include <builtin-function.h>
Public Member Functions | |
BuiltinFunction (std::string name, std::string cxxname, hilti::Type type, std::vector< declaration::Parameter > parameters, std::vector< Expression > arguments, Meta m=Meta()) | |
auto | arguments () const |
const auto | parameters () const |
const auto & | cxxname () const |
const auto & | name () const |
void | setArguments (std::vector< hilti::Expression > args) |
const Type & | type () const |
bool | isConstant () const |
auto | isEqual (const Expression &other) const |
auto | isLhs () const |
auto | isTemporary () const |
auto | properties () const |
![]() | |
NodeBase (Meta meta) | |
NodeBase (std::vector< Node > children, Meta meta) | |
template<typename T > | |
const T & | child (int i) const |
template<typename T > | |
void | assertChildIsA (int i) |
template<typename T > | |
auto | children (int begin, int end) const |
auto | childRefs (int begin, int end) |
template<typename T > | |
hilti::node::Set< T > | childrenOfType () const |
template<typename T > | |
std::vector< NodeRef > | childRefsOfType () const |
void | addChild (Node n) |
const auto & | children () const |
auto & | children () |
auto & | meta () const |
void | setMeta (Meta m) |
bool | pruneWalk () const |
Friends | |
bool | operator== (const BuiltinFunction &lhs, const BuiltinFunction &rhs) |
AST node representing a builtin function call.
|
inline |
Construct a builtin function call node.
name | the name of the function on the HILTI side |
cxxname | the name of the wrapped C++ function |
type | the return type of the function |
parameters | parameters of the function |
arguments | arguments to the function call |
m | meta information for the function call |
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.
|
inline |
Implements Expression
interface.