PropertyExpressionEngine: Refactored and moved visitor code to separate file.

This commit is contained in:
Eivind Kvedalen
2016-02-08 21:01:33 +01:00
committed by wmayer
parent fa8b7bfb45
commit 452650440b
7 changed files with 197 additions and 95 deletions

View File

@@ -1100,11 +1100,21 @@ void VariableExpression::setPath(const ObjectIdentifier &path)
var = path;
}
bool VariableExpression::validDocumentObjectRename(const std::string &oldName, const std::string &newName)
{
return var.validDocumentObjectRename(oldName, newName);
}
bool VariableExpression::renameDocumentObject(const std::string &oldName, const std::string &newName)
{
return var.renameDocumentObject(oldName, newName);
}
bool VariableExpression::validDocumentRename(const std::string &oldName, const std::string &newName)
{
return var.validDocumentRename(oldName, newName);
}
bool VariableExpression::renameDocument(const std::string &oldName, const std::string &newName)
{
return var.renameDocument(oldName, newName);