hasmer
|
Represents an operand of Hermes bytecode instruction. More...
Public Member Functions | |
void | ToWriter (BinaryWriter writer) |
Writes the operand to a stream of binary data. More... | |
T | GetValue< T > () |
Returns the value as the given type. More... | |
T | GetResolvedValue< T > (HbcFile file) |
Returns the value, or is the value is a string, the string the value points to. More... | |
string | ToDisassembly (HbcFile file) |
Converts the operand to a human-readable format used for disassembly. More... | |
Static Public Member Functions | |
static HbcInstructionOperand | FromReader (BinaryReader reader, HbcInstructionOperandType type) |
Reads the operand from a stream of binary data. More... | |
Properties | |
HbcInstructionOperandType | Type [get, set] |
The type of operand that is represented by the object. More... | |
PrimitiveValue | Value [get, set] |
The raw value of the object, represented as a PrimitiveValue to preserve type information. Is is highly recommended to use GetValue<T> and GetResolvedValue<T>(HbcFile) instead of accessing this property directly. Use with caution. More... | |
Represents an operand of Hermes bytecode instruction.
|
inlinestatic |
Reads the operand from a stream of binary data.
|
inline |
Returns the value, or is the value is a string, the string the value points to.
|
inline |
Returns the value as the given type.
|
inline |
Converts the operand to a human-readable format used for disassembly.
|
inline |
Writes the operand to a stream of binary data.
|
getset |
The type of operand that is represented by the object.
|
getset |
The raw value of the object, represented as a PrimitiveValue to preserve type information.
Is is highly recommended to use GetValue<T> and GetResolvedValue<T>(HbcFile) instead of accessing this property directly. Use with caution.