XII Release 0.1.0
Loading...
Searching...
No Matches
xiiExpressionByteCode Class Reference

Classes

struct  OpCode

Public Types

using StorageType = xiiUInt32

Public Member Functions

 xiiExpressionByteCode (const xiiExpressionByteCode &other)
void operator= (const xiiExpressionByteCode &other)
bool operator== (const xiiExpressionByteCode &other) const
bool operator!= (const xiiExpressionByteCode &other) const
void Clear ()
bool IsEmpty () const
const StorageType * GetByteCodeStart () const
 Copyright (c) Theophilus Eriata. All Rights Reserved.
const StorageType * GetByteCodeEnd () const
xiiArrayPtr< const StorageType > GetByteCode () const
xiiUInt32 GetNumInstructions () const
xiiUInt32 GetNumTempRegisters () const
xiiArrayPtr< const xiiExpression::StreamDesc > GetInputs () const
xiiArrayPtr< const xiiExpression::StreamDesc > GetOutputs () const
xiiArrayPtr< const xiiExpression::FunctionDesc > GetFunctions () const
void Disassemble (xiiStringBuilder &out_sDisassembly) const
xiiResult Save (xiiStreamWriter &inout_stream) const
xiiResult Load (xiiStreamReader &inout_stream, xiiByteArrayPtr externalMemory=xiiByteArrayPtr())
xiiConstByteBlobPtr GetDataBlob () const

Static Public Member Functions

static OpCode::Enum GetOpCode (const StorageType *&ref_pByteCode)
static xiiUInt32 GetRegisterIndex (const StorageType *&ref_pByteCode)
static xiiExpression::Register GetConstant (const StorageType *&ref_pByteCode)
static xiiUInt32 GetFunctionIndex (const StorageType *&ref_pByteCode)
static xiiUInt32 GetFunctionArgCount (const StorageType *&ref_pByteCode)

Friends

class xiiExpressionCompiler

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/CodeUtils/Expression/ExpressionByteCode.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/CodeUtils/Expression/Implementation/ExpressionByteCode.cpp
  • /home/runner/work/XII/XII/Source/Engine/Foundation/CodeUtils/Expression/Implementation/ExpressionByteCode_inl.h