hasmer
Properties | List of all members
Hasmer.HbcBytecodeFormat Class Reference

Represents a definition of the bytecode operations for a given Hermes version.
This is generally used by deserializing a JSON object, specifically the "Bytecode*.json" file in the Resources directory that corresponds to the desired Hermes version.
The "Bytecode*.json" themselves are autogenerated using the "bytecode-format-generator" tool, which is located in a directory at the root of this git repository. More...

Properties

uint Version [get, set]
 The Hermes bytecode version this format is relevant to. More...
 
List< HbcInstructionDefinitionDefinitions [get, set]
 The definitions of all opcodes available for the bytecode version. This list can be indexed by the encoded value of the opcode. More...
 
List< HbcAbstractInstructionDefinitionAbstractDefinitions [get, set]
 The definitions of all abstractions for instructions that can take different length operands. See HbcAbstractInstructionDefinition for more information. More...
 

Detailed Description

Represents a definition of the bytecode operations for a given Hermes version.
This is generally used by deserializing a JSON object, specifically the "Bytecode*.json" file in the Resources directory that corresponds to the desired Hermes version.
The "Bytecode*.json" themselves are autogenerated using the "bytecode-format-generator" tool, which is located in a directory at the root of this git repository.

Property Documentation

◆ AbstractDefinitions

List<HbcAbstractInstructionDefinition> Hasmer.HbcBytecodeFormat.AbstractDefinitions
getset

The definitions of all abstractions for instructions that can take different length operands. See HbcAbstractInstructionDefinition for more information.

◆ Definitions

List<HbcInstructionDefinition> Hasmer.HbcBytecodeFormat.Definitions
getset

The definitions of all opcodes available for the bytecode version. This list can be indexed by the encoded value of the opcode.

◆ Version

uint Hasmer.HbcBytecodeFormat.Version
getset

The Hermes bytecode version this format is relevant to.


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