diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
| commit | 4dc70c84d4226174d44f1b53599d08de7a4e83aa (patch) | |
| tree | b0a612f4a3b61331caa59874fac417142c208d89 /environment.h | |
| parent | 8171a38b7130849e3049a4ea15a4fd06c154d9b0 (diff) | |
First working method calls
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.h b/environment.h index 5c2e9641..cf7bc546 100644 --- a/environment.h +++ b/environment.h @@ -32,6 +32,7 @@ __attribute__((noreturn)) void compiler_err(file_t *f, const char *start, const char *end, const char *fmt, ...); binding_t *get_binding(env_t *env, const char *name); void set_binding(env_t *env, const char *name, binding_t *binding); +binding_t *get_method_binding(env_t *env, ast_t *self, const char *name); #define code_err(ast, ...) compiler_err((ast)->file, (ast)->start, (ast)->end, __VA_ARGS__) // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
