asmjit::Expression Struct Reference

Expression node that can reference constants, labels, and another expressions.

Public Members

Members

Classes

Member Functions

Accessors

Member Function Documentation

void Expression::reset()noexcept◆ 

Resets the whole expression.

Changes both values to ExpressionValueType::kNone.

void Expression::setValueAsConstant(size_t index, uint64_t constant)noexcept◆ 

Sets the value type at index to ExpressionValueType::kConstant and its content to constant.

void Expression::setValueAsLabel(size_t index, LabelEntry* labelEntry)noexcept◆ 

Sets the value type at index to ExpressionValueType::kLabel and its content to labelEntry.

void Expression::setValueAsExpression(size_t index, Expression* expression)noexcept◆ 

Sets the value type at index to ExpressionValueType::kExpression and its content to expression.

Member Data Documentation

ExpressionOpType Expression::opType◆ 

Operation type.

ExpressionValueType Expression::valueType[2]◆ 

Value types of value.

uint8_t Expression::reserved[5]◆ 

Reserved for future use, should be initialized to zero.

Value Expression::value[2]◆ 

Expression left and right values.