aboutsummaryrefslogtreecommitdiff
path: root/src/typecheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/typecheck.h')
-rw-r--r--src/typecheck.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/typecheck.h b/src/typecheck.h
index d64bb316..5a2a543b 100644
--- a/src/typecheck.h
+++ b/src/typecheck.h
@@ -27,6 +27,9 @@ type_t *parse_type_string(env_t *env, const char *str);
type_t *get_method_type(env_t *env, ast_t *self, const char *name);
PUREFUNC bool is_constant(env_t *env, ast_t *ast);
PUREFUNC bool can_compile_to_type(env_t *env, ast_t *ast, type_t *needed);
+OptionalText_t suggest_best_name(const char *wrong, List_t names);
+List_t get_field_names(env_t *env, type_t *t);
+List_t get_method_names(env_t *env, type_t *t);
typedef struct {
bool promotion : 1, underscores : 1;