|
Z / libzlang 0.29.0
C99 runtime library and the Zlang 0.29 source-to-source compiler
|
Semantic analysis API for Zlang. More...
#include "zlang/compiler/ast.h"#include "zlang/compiler/diagnostics.h"#include <stdbool.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | zlang_symbol_t |
| struct | zlang_semantic_context_t |
Typedefs | |
| typedef struct zlang_symbol_t | zlang_symbol_t |
| typedef struct zlang_semantic_context_t | zlang_semantic_context_t |
Functions | |
| void | zlang_semantic_context_init (zlang_semantic_context_t *context, zlang_symbol_t *symbols, size_t symbol_capacity, zlang_diagnostics_t *diagnostics, const zlang_program_t *program) |
| bool | zlang_analyze_program (const zlang_program_t *program, zlang_semantic_context_t *context) |
Semantic analysis API for Zlang.
| typedef struct zlang_semantic_context_t zlang_semantic_context_t |
| typedef struct zlang_symbol_t zlang_symbol_t |
| bool zlang_analyze_program | ( | const zlang_program_t * | program, |
| zlang_semantic_context_t * | context ) |
| void zlang_semantic_context_init | ( | zlang_semantic_context_t * | context, |
| zlang_symbol_t * | symbols, | ||
| size_t | symbol_capacity, | ||
| zlang_diagnostics_t * | diagnostics, | ||
| const zlang_program_t * | program ) |