mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-06 06:58:46 +00:00
fixes for updated grammar
This commit is contained in:
parent
f848c0a1d6
commit
1b28f41810
3 changed files with 32 additions and 5 deletions
27
include/statement_nodes.hpp
Normal file
27
include/statement_nodes.hpp
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#pragma once
|
||||
|
||||
#include "basic_nodes.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
// IN PROGRESS
|
||||
|
||||
namespace nodes {
|
||||
|
||||
class Import : public Node {
|
||||
public:
|
||||
private:
|
||||
Identifier import_name_;
|
||||
Identifier module_name_;
|
||||
std::vector<Identifier> symbols_;
|
||||
}; // IN PROGRESS
|
||||
|
||||
class Constraint : public Node {}; // IN PROGRESS
|
||||
|
||||
class TypeDefinition : public Node {}; // IN PROGRESS
|
||||
|
||||
class FunctionDefinition : public Node {}; // IN PROGRESS
|
||||
|
||||
class TypeclassDefinition : public Node {}; // IN PROGRESS
|
||||
|
||||
} // namespace nodes
|
||||
Loading…
Add table
Add a link
Reference in a new issue