![]() |
Spicy
|
#include <operator.h>
Public Attributes | |
Type | self |
bool | const_ = true |
bool | lhs = false |
Priority | priority = Priority::Low |
ResultType | result |
ID | id |
std::vector< Operand > | args |
std::string | doc |
Describes the signature of an operator method.
type::Tuple
to describe the 3rd parameter to a MethodCall operator, we should create a new type::ArgumentList
that takes a list of Operand
instances. std::vector<Operand> hilti::operator_::Signature::args |
operands the method receives
std::string hilti::operator_::Signature::doc |
documentation string for the autogenerated reference manual
ID hilti::operator_::Signature::id |
name of the method
bool hilti::operator_::Signature::lhs = false |
true if operator's result can be assigned to
Priority hilti::operator_::Signature::priority = Priority::Low |
operator priority
ResultType hilti::operator_::Signature::result |
result of the method; skipped if using {BEGIN/END}_METHOD_CUSTOM_RESULT}
Type hilti::operator_::Signature::self |
type the method operates on