diff options
| author | 2022-04-16 01:58:40 +0200 | |
|---|---|---|
| committer | 2022-04-16 02:59:30 +0200 | |
| commit | 6ba9324cf4864ebd2e2cdec8098b0889ceaea0a8 (patch) | |
| tree | e29af0f803de724e28eab85da2dfe6c535a8292b /include/diceparserhelper.h | |
| parent | 0c040da59e6aa2df3bd0c22e38b2afe0512d3749 (diff) | |
| download | OneRoll-6ba9324cf4864ebd2e2cdec8098b0889ceaea0a8.tar.gz OneRoll-6ba9324cf4864ebd2e2cdec8098b0889ceaea0a8.zip | |
Make sure Windows compilation works
Diffstat (limited to 'include/diceparserhelper.h')
| -rw-r--r-- | include/diceparserhelper.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include/diceparserhelper.h b/include/diceparserhelper.h deleted file mode 100644 index 1ae5c3f..0000000 --- a/include/diceparserhelper.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef DICEPARSERHELPER_H -#define DICEPARSERHELPER_H - -class ValidatorList; -class ExecutionNode; - -namespace Dice -{ -enum class CONDITION_STATE : int -{ - ERROR_STATE, - ALWAYSTRUE, - UNREACHABLE, - REACHABLE -}; - -enum class ERROR_CODE : int -{ - NO_DICE_ERROR, - DIE_RESULT_EXPECTED, - BAD_SYNTAXE, - ENDLESS_LOOP_ERROR, - DIVIDE_BY_ZERO, - NOTHING_UNDERSTOOD, - NO_DICE_TO_ROLL, - TOO_MANY_DICE, - NO_VARIBALE, - INVALID_INDEX, - UNEXPECTED_CHARACTER, - NO_PREVIOUS_ERROR, - NO_VALID_RESULT, - SCALAR_RESULT_EXPECTED -}; - -/** - * @brief The RESULT_TYPE enum or combinaison - */ -enum class RESULT_TYPE : int -{ - NONE= 0, - SCALAR= 1, - STRING= 2, - DICE_LIST= 4 -}; -/** - * @brief The ConditionType enum defines compare method - */ -enum ConditionType -{ - OnEach, - OnEachValue, - OneOfThem, - AllOfThem, - OnScalar -}; - -struct CaseInfo -{ - ValidatorList* validatorList; - ExecutionNode* node; -}; -} // namespace Dice -#endif // DICEPARSERHELPER_H |