![]() |
Spicy
|
#include <operator.h>
Public Member Functions | |
| bool | operator== (const Operand &other) const |
Public Attributes | |
| std::optional< ID > | id |
| OperandType | type |
| bool | optional = false |
| std::optional< Expression > | default_ = {} |
| std::optional< std::string > | doc |
Describes an operand that an operator accepts.
| std::optional<Expression> hilti::operator_::Operand::default_ = {} |
default valuer if operator is skipped
| std::optional<std::string> hilti::operator_::Operand::doc |
alternative rendering for the auto-generated documentation
| std::optional<ID> hilti::operator_::Operand::id |
ID for the operand; used only for documentation purposes.
| bool hilti::operator_::Operand::optional = false |
true if operand can be skipped; default_ will be used instead
| OperandType hilti::operator_::Operand::type |
operand's type
1.8.13