forked from yokemura/Magical8bitPlug2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFrameSequenceParseErrors.h
37 lines (32 loc) · 1.15 KB
/
FrameSequenceParseErrors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
==============================================================================
FrameSequenceParseErrors.h
Created: 11 Dec 2019 5:06:52pm
Author: 除村 武志
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
enum ParseError
{
kParseErrorNone = 0,
kParseErrorLevelWarning,
kParseErrorLevelFatal,
kParseErrorDuplicatedReleaseDelimiter,
kParseErrorDuplicatedOpenBracket,
kParseErrorDuplicatedCloseBracket,
kParseErrorRepeatingInReleaseBlock,
kParseErrorUnmatchingOpenBracket,
kParseErrorUnmatchingCloseBracket,
kParseErrorUnmatchingBracketNumber,
kParseErrorMissingSlopeValueDelimiter,
kParseErrorMissingSlopeLengthDelimiter,
kParseErrorMissingSlopeInitialValue,
kParseErrorMissingSlopeFinalValue,
kParseErrorNotANumber,
kParseErrorValueOutOfRange,
kParseErrorFrameLengthTooShort,
kParseErrorMissingValueForRepeatDelimiter,
kParseErrorMissingFrameCountForRepeatDelimiter,
};
String getParseErrorString (ParseError err, int minValue = 0, int maxValue = 0);