Added comments

This commit is contained in:
2024-12-06 22:05:41 +01:00
parent d2cbdc2910
commit b3f75ae3d8
15 changed files with 128 additions and 12 deletions

View File

@ -29,7 +29,7 @@ namespace fsh {
class AstFactory {
public:
// Generates an abstract syntax tree
// Generise abstraktno sintaksno drvo po ebnf formuli gore
static std::shared_ptr<ExecutableNode> generate_ast(std::list<Token>& list) {
auto it = list.begin();
return CommandLineNode::build(it);
@ -41,4 +41,4 @@ namespace fsh {
AstFactory(const AstFactory&) = default;
};
} // namespace fsh
}