blob: 49b5b29ee4e25629b7b785c020d7f9da899fcf57 [file] [log] [blame]
/*
* Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
* Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
*
* Written by Václav Kubernát <kubervac@fit.cvut.cz>
*
*/
#include <string>
#include "ast_path.hpp"
#include "schema.hpp"
std::string joinPaths(const std::string& prefix, const std::string& suffix);
std::string stripLastNodeFromPath(const std::string& path);
path_ pathWithoutLastNode(const path_& path);
std::string leafDataTypeToString(yang::LeafDataTypes type);
std::string fullNodeName(const path_& location, const ModuleNodePair& pair);