aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/diceparserhelper.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2021-02-13 12:37:44 +0100
committerRenaud G <renaud@rolisteam.org>2021-02-13 12:37:44 +0100
commitde55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e (patch)
tree137ae58be5ed6e351221288924ad530adeb3d8f7 /include/diceparserhelper.h
parent8a54eb609bd278e87b8a3d6a9be42301778df18d (diff)
downloadOneRoll-de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e.tar.gz
OneRoll-de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e.zip
Add replace value node.
Move definition of CaseInfo struct. Fix small things from switchcasenode.
Diffstat (limited to 'include/diceparserhelper.h')
-rw-r--r--include/diceparserhelper.h10
1 files changed, 9 insertions, 1 deletions
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