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