|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include "type.h"
Functions | |
| bool | validate_array_type (AstNode *array_type, Scope *scope, ArenaAllocator *arena) |
| bool | check_array_bounds (AstNode *array_type, AstNode *index_expr, ArenaAllocator *arena) |
| AstNode * | typecheck_multidim_array_access (AstNode *base_type, AstNode **indices, size_t index_count, ArenaAllocator *arena) |
| TypeMatchResult | check_array_compatibility (AstNode *type1, AstNode *type2) |
| bool | validate_array_initializer (AstNode *declared_type, AstNode *initializer, Scope *scope, ArenaAllocator *arena) |
| bool check_array_bounds | ( | AstNode * | array_type, |
| AstNode * | index_expr, | ||
| ArenaAllocator * | arena | ||
| ) |
| TypeMatchResult check_array_compatibility | ( | AstNode * | type1, |
| AstNode * | type2 | ||
| ) |
| AstNode * typecheck_multidim_array_access | ( | AstNode * | base_type, |
| AstNode ** | indices, | ||
| size_t | index_count, | ||
| ArenaAllocator * | arena | ||
| ) |
| bool validate_array_initializer | ( | AstNode * | declared_type, |
| AstNode * | initializer, | ||
| Scope * | scope, | ||
| ArenaAllocator * | arena | ||
| ) |
| bool validate_array_type | ( | AstNode * | array_type, |
| Scope * | scope, | ||
| ArenaAllocator * | arena | ||
| ) |