aboutsummaryrefslogtreecommitdiff
path: root/src/compile/fieldaccess.h
blob: bd3b58402eb37c7fde940fbb5684e3c34eb06b94 (plain)
1
2
3
4
5
6
7
8
9
// This file defines how to compile field accessing like `foo.x`

#pragma once

#include "../ast.h"
#include "../environment.h"
#include "../stdlib/datatypes.h"

Text_t compile_field_access(env_t *env, ast_t *ast);