Spicy
Public Member Functions | Public Attributes | List of all members
hilti::operator_::Operand Struct Reference

#include <operator.h>

Public Member Functions

bool operator== (const Operand &other) const
 

Public Attributes

std::optional< IDid
 
OperandType type
 
bool optional = false
 
std::optional< Expression > default_ = {}
 
std::optional< std::string > doc
 

Detailed Description

Describes an operand that an operator accepts.

Member Data Documentation

◆ default_

std::optional<Expression> hilti::operator_::Operand::default_ = {}

default valuer if operator is skipped

◆ doc

std::optional<std::string> hilti::operator_::Operand::doc

alternative rendering for the auto-generated documentation

◆ id

std::optional<ID> hilti::operator_::Operand::id

ID for the operand; used only for documentation purposes.

◆ optional

bool hilti::operator_::Operand::optional = false

true if operand can be skipped; default_ will be used instead

◆ type

OperandType hilti::operator_::Operand::type

operand's type


The documentation for this struct was generated from the following file: