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