#include <codetree.h>

Public Member Functions |
|
| CodeBlock () | |
| ~CodeBlock () | |
| void | init (Value *code, HashTable *local_scope) |
| void | init_locals () |
| void | collect () |
| void | gc_trace () |
| void | sprin1 (CharStream *s) |
| void | add_local () |
| Value * | call_handler (Value *handler_or_name, Value **arg_list, int count) |
| Value * | get_handler (Value *name) |
| Value * | eval () |
| Value * | get_property (Value **arg_list, int count) |
| Value * | set_property (Value **arg_list, int count) |
| void | dump_local_vars_and_externals (int indentLevel) |
Public Attributes |
|
| Value * | code |
| Value ** | locals |
| int | local_count |
| HashTable * | local_scope |
| HashTable * | handlers |
| BOOL | initialized |
| Name * | name |
| CodeBlock | ( | ) |
| ~CodeBlock | ( | ) |
| void init | ( | Value * | code, |
| HashTable * | local_scope | ||
| ) |
| void init_locals | ( | ) |
| void collect | ( | ) | [virtual] |
Implements Collectable.
| void gc_trace | ( | ) | [virtual] |
Reimplemented from Collectable.
| void sprin1 | ( | CharStream * | s | ) | [virtual] |
Reimplemented from Value.
| void add_local | ( | ) |
Reimplemented from Value.
Reimplemented from Value.
| void dump_local_vars_and_externals | ( | int | indentLevel | ) |
| HashTable* local_scope |
| HashTable* handlers |