Opcode chain
[Compiler]


Detailed Description

Opcode chain symbolically describes a program's contents.


Functions

opcode_chain_t opcode_chain_new ()
opcode_chain_t opcode_chain_add_label (opcode_chain_t, const char *, int r, int c)
opcode_chain_t opcode_chain_add_opcode (opcode_chain_t, opcode_arg_t, const char *opcode, const char *arg, int r, int c)
opcode_chain_t opcode_chain_add_data (opcode_chain_t, vm_data_type_t, const char *opcode, const char *arg, int r, int c)
opcode_chain_t opcode_chain_add_langdef (opcode_chain_t oc, wast_t node, int r, int c)
opcode_chain_t opcode_chain_add_langplug (opcode_chain_t oc, const char *plugin, const char *plug, int r, int c)
void opcode_chain_delete (opcode_chain_t)
void opcode_chain_serialize (opcode_chain_t, opcode_dict_t, program_t, void *)
void opcode_chain_apply (opcode_chain_t oc, void(*fun)(opcode_chain_node_t))


Function Documentation

opcode_chain_t opcode_chain_new (  ) 

opcode_chain_t opcode_chain_add_label ( opcode_chain_t  ,
const char *  ,
int  r,
int  c 
)

opcode_chain_t opcode_chain_add_opcode ( opcode_chain_t  ,
opcode_arg_t  ,
const char *  opcode,
const char *  arg,
int  r,
int  c 
)

opcode_chain_t opcode_chain_add_data ( opcode_chain_t  ,
vm_data_type_t  ,
const char *  opcode,
const char *  arg,
int  r,
int  c 
)

opcode_chain_t opcode_chain_add_langdef ( opcode_chain_t  oc,
wast_t  node,
int  r,
int  c 
)

opcode_chain_t opcode_chain_add_langplug ( opcode_chain_t  oc,
const char *  plugin,
const char *  plug,
int  r,
int  c 
)

void opcode_chain_delete ( opcode_chain_t   ) 

void opcode_chain_serialize ( opcode_chain_t  ,
opcode_dict_t  ,
program_t  ,
void *   
)

void opcode_chain_apply ( opcode_chain_t  oc,
void(*)(opcode_chain_node_t fun 
)


Generated on Wed Feb 6 14:46:05 2008 for TinyaML by  doxygen 1.5.3