Barrelfish
Data Fields
op_def_t Struct Reference

Defines a type for operator definition entries. More...

Data Fields

char opstr [MAX_OPERATOR_STRING_LENGTH]
 The string representing the operator.
 
uint8_t opcode
 The binary opcode the operator maps to.
 
uint8_t reserved_length
 The number of bytes that should be reserved for this operator. Usually this is exactly one byte. See c file for exceptions.
 
uint8_t arity
 Specifies if the operator expects left, right, or both sides to be operands. 0x10 for left-unary, 0x01 for right-unary, 0x11 for binary operators.
 

Detailed Description

Defines a type for operator definition entries.

Warning
Operator strings cannot contain brackets!

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