From de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 13 Feb 2021 12:37:44 +0100 Subject: Add replace value node. Move definition of CaseInfo struct. Fix small things from switchcasenode. --- include/diceparserhelper.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/diceparserhelper.h') diff --git a/include/diceparserhelper.h b/include/diceparserhelper.h index 4a481c1..1ae5c3f 100644 --- a/include/diceparserhelper.h +++ b/include/diceparserhelper.h @@ -1,9 +1,11 @@ #ifndef DICEPARSERHELPER_H #define DICEPARSERHELPER_H +class ValidatorList; +class ExecutionNode; + namespace Dice { - enum class CONDITION_STATE : int { ERROR_STATE, @@ -51,5 +53,11 @@ enum ConditionType AllOfThem, OnScalar }; + +struct CaseInfo +{ + ValidatorList* validatorList; + ExecutionNode* node; +}; } // namespace Dice #endif // DICEPARSERHELPER_H -- cgit v1.2.3-70-g09d2