Changing up variable interpolation in preparation of supporting interpolation for environments

This commit is contained in:
Ian Roddis
2021-11-12 16:08:57 -04:00
parent ac3928c7f6
commit c0315b4f0b
3 changed files with 121 additions and 34 deletions

View File

@@ -18,6 +18,12 @@ namespace daggy {
std::string globalSub(std::string string, const std::string &pattern,
const std::string &replacement);
std::unordered_set<std::string> matchingParameters(
const std::vector<std::string> &input, const ConfigValues &values);
std::vector<std::unordered_map<std::string, std::string>>
generateCartesianValues(const ConfigValues &values);
std::vector<Command> interpolateValues(const std::vector<std::string> &raw,
const ConfigValues &values);