/
thomas-king
/
SyntacticAnalyzer
Обзор
Документация
Войти
/
thomas-king
/
SyntacticAnalyzer
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
include/Models/AST/Statement.h
33 строки
537 B
Ace Rodstin
Add ParseExpressionTests. Fix parenthesis parsing.
06 апр 2023, 13:52
06 апр 2023, 13:52
760e23e
Код
Авторство
О чём код?
// // Statement.h // SyntacticAnalyzer // // Created by Ace Rodstin on 3/3/23. // Copyright © 2023 Ace Rodstin. All rights reserved. // #ifndef AST_STATEMENT_HEADER_FILE #define AST_STATEMENT_HEADER_FILE #include "Node.h" #include <memory> #include <utility> #include "Declaration.h" using namespace std; namespace ace::ast { class Statement: public Node { public: Statement(unique_ptr<Declaration> declaration); const Declaration* getDeclaration() const; private: unique_ptr<Declaration> declaration; }; } #endif