BashSpark
Loading...
Searching...
No Matches
shell_node_visitor_json.h File Reference

Defines class bs::shell_node_visitor_json More...

#include <nlohmann/json.hpp>
#include "BashSpark/shell/shell_node_visitor.h"
Include dependency graph for shell_node_visitor_json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bs::shell_node_visitor_json
 Visitor that converts shell nodes into JSON. More...
 

Namespaces

namespace  bs
 BashSpark main namespace.
 

Detailed Description

Defines class bs::shell_node_visitor_json

Defines class bs::shell_node_visitor_json to visit shell node structures. It is very useful to debug as it allows to understand the node structure better. This particular visitor converts the shell node structure into json, allowing visual understanding of the node structure.

Date
Created on 2/11/25
Author
Dante Doménech Martínez

This file is part of BashSpark. Copyright (C) 2025 Dante Doménech Martínez

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.