hasmer
Public Member Functions | Properties | List of all members
Hasmer.Assembler.HbcAssembler Class Reference

Represents a Hasm assembler, which assembles into Hermes bytecode. More...

Public Member Functions

 HbcAssembler (string source)
 Creates a new HbcAssembler, given the raw source of the Hasm assembly. More...
 
byte[] Assemble ()
 Assembles the given Hasm assembly into a Hermes bytecode file, serialized into a byte array. More...
 

Properties

DataAssembler DataAssembler [get, set]
 The data assembler instance. More...
 
FunctionAssembler FunctionAssembler [get, set]
 The function assembler instance. More...
 
HbcFile File [get, set]
 The Hermes bytecode file being assembled. More...
 
bool IsExact [get, set]
 

Detailed Description

Represents a Hasm assembler, which assembles into Hermes bytecode.

Constructor & Destructor Documentation

◆ HbcAssembler()

Hasmer.Assembler.HbcAssembler.HbcAssembler ( string  source)
inline

Creates a new HbcAssembler, given the raw source of the Hasm assembly.

Member Function Documentation

◆ Assemble()

byte [] Hasmer.Assembler.HbcAssembler.Assemble ( )
inline

Assembles the given Hasm assembly into a Hermes bytecode file, serialized into a byte array.

Property Documentation

◆ DataAssembler

DataAssembler Hasmer.Assembler.HbcAssembler.DataAssembler
getset

The data assembler instance.

◆ File

HbcFile Hasmer.Assembler.HbcAssembler.File
getset

The Hermes bytecode file being assembled.

◆ FunctionAssembler

FunctionAssembler Hasmer.Assembler.HbcAssembler.FunctionAssembler
getset

The function assembler instance.


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