Skip to content

scram::mef::Block

Compound instructions.

#include <instruction.h>

Inherits from scram::mef::Visitable< Block >, scram::mef::Instruction, boost::noncopyable

Public Functions

Name
Block(std::vector< Instruction * > instructions)
const std::vector< Instruction * > &instructions() const

Additional inherited members

Public Functions inherited from scram::mef::Visitable< Block >

Name
virtual voidAccept(InstructionVisitor * visitor) const<br>Calls visit with the object pointer T*.

Public Functions inherited from scram::mef::Instruction

Name
virtual~Instruction() =default
virtual voidAccept(InstructionVisitor * visitor) const =0<br>Applies the visitor to the object.

Public Functions Documentation

function Block

cpp
inline explicit Block(
    std::vector< Instruction * > instructions
)

Parameters:

  • instructions Instructions to be applied in this block.

function instructions

cpp
inline const std::vector< Instruction * > & instructions() const

Return: The instructions to be applied in the block.


Updated on 2025-11-11 at 16:51:08 +0000