Kiwi Engine
VM for interpreter
|
Visitor pattern for KEInstruction. More...
#include "KEForwarders.h"
Go to the source code of this file.
Data Structures | |
struct | KEVisitor |
Typedefs | |
typedef void(* | KEVisitFuncRef )(struct KEInstruction *inst, void *userdata) |
Functions | |
void | KEAcceptVisotor (struct KEInstruction *inst, const struct KEVisitor *visitor, void *userinfo) |
Accept instruction visitor. More... | |
Visitor pattern for KEInstruction.
typedef void(* KEVisitFuncRef)(struct KEInstruction *inst, void *userdata) |
Function type to visit
void KEAcceptVisotor | ( | struct KEInstruction * | inst, |
const struct KEVisitor * | visitor, | ||
void * | userinfo | ||
) |
Accept instruction visitor.
inst | Instruction which accepts the visitor |
visitor | Visitor pattern |
userinfo | User defined information (This is not accessed in this function) |