25 |
#include "../common/global.h" |
#include "../common/global.h" |
26 |
#include "../common/Ref.h" |
#include "../common/Ref.h" |
27 |
#include "../common/ArrayList.h" |
#include "../common/ArrayList.h" |
28 |
|
#include "../common/optional.h" |
29 |
#include "common.h" |
#include "common.h" |
30 |
|
|
31 |
namespace LinuxSampler { |
namespace LinuxSampler { |
46 |
QUALIFIER_NONE = 0, |
QUALIFIER_NONE = 0, |
47 |
QUALIFIER_CONST = 1, |
QUALIFIER_CONST = 1, |
48 |
QUALIFIER_POLYPHONIC = (1<<1), |
QUALIFIER_POLYPHONIC = (1<<1), |
49 |
|
QUALIFIER_PATCH = (1<<2), |
50 |
|
}; |
51 |
|
|
52 |
|
struct PatchVarBlock { |
53 |
|
CodeBlock nameBlock; |
54 |
|
optional<CodeBlock> exprBlock; |
55 |
}; |
}; |
56 |
|
|
57 |
/** |
/** |
88 |
case QUALIFIER_NONE: return "none"; |
case QUALIFIER_NONE: return "none"; |
89 |
case QUALIFIER_CONST: return "const"; |
case QUALIFIER_CONST: return "const"; |
90 |
case QUALIFIER_POLYPHONIC: return "polyphonic"; |
case QUALIFIER_POLYPHONIC: return "polyphonic"; |
91 |
|
case QUALIFIER_PATCH: return "patch"; |
92 |
} |
} |
93 |
return "unknown"; |
return "unknown"; |
94 |
} |
} |
957 |
std::vector<ParserIssue> vWarnings; |
std::vector<ParserIssue> vWarnings; |
958 |
std::vector<ParserIssue> vIssues; |
std::vector<ParserIssue> vIssues; |
959 |
std::vector<CodeBlock> vPreprocessorComments; |
std::vector<CodeBlock> vPreprocessorComments; |
960 |
|
std::map<String,PatchVarBlock> patchVars; |
961 |
|
|
962 |
std::set<String> builtinPreprocessorConditions; |
std::set<String> builtinPreprocessorConditions; |
963 |
std::set<String> userPreprocessorConditions; |
std::set<String> userPreprocessorConditions; |