Update ast interface
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
typedef struct {
|
||||
/** @brief The name of the module being imported. */
|
||||
Token module_name;
|
||||
const char* module_name;
|
||||
|
||||
/** @brief Whether the import is public or not. */
|
||||
bool is_public;
|
||||
@@ -53,7 +53,7 @@ struct TypeExpression{
|
||||
*/
|
||||
typedef struct {
|
||||
/** @brief The name of the alias. */
|
||||
Token name;
|
||||
const char* name;
|
||||
|
||||
/** @brief The value of the alias. */
|
||||
TypeExpression value;
|
||||
@@ -65,7 +65,7 @@ typedef struct {
|
||||
*/
|
||||
typedef struct {
|
||||
/** @brief The name of the module. */
|
||||
Token name;
|
||||
const char* name;
|
||||
|
||||
/** @brief The list of imports in the module. */
|
||||
ImportDeclaration* imports;
|
||||
|
||||
Reference in New Issue
Block a user