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