Files
Chloride/src/parser/dictionary/dictionary.h
2025-07-13 18:28:05 +01:00

21 lines
441 B
C

/*
* SPDX-FileCopyrightText: 2025 William Bell
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef DICTIONARY_H
#define DICTIONARY_H
#include "../../lexer/token.h" // for Token
#include "../parser.h"
typedef struct {
ParsedValue * key;
ParsedValue * value;
} ParsedDictionaryEntry;
ParsedValueReturn parse_dictionary(char *file, DArray *tokens, size_t *index);
void free_parsed_dictionary(void *ptr);
#endif // DICTIONARY_H