41 |
STMT_NOOP, |
STMT_NOOP, |
42 |
}; |
}; |
43 |
|
|
44 |
|
enum Qualifier_t { |
45 |
|
QUALIFIER_NONE = 0, |
46 |
|
QUALIFIER_CONST = 1, |
47 |
|
QUALIFIER_POLYPHONIC = (1<<1), |
48 |
|
}; |
49 |
|
|
50 |
/** |
/** |
51 |
* Convenience function used for retrieving the (assumed) data type of a given |
* Convenience function used for retrieving the (assumed) data type of a given |
52 |
* script variable name. |
* script variable name. |
76 |
return EMPTY_EXPR; // just to shut up the compiler |
return EMPTY_EXPR; // just to shut up the compiler |
77 |
} |
} |
78 |
|
|
79 |
|
inline String qualifierStr(Qualifier_t qualifier) { |
80 |
|
switch (qualifier) { |
81 |
|
case QUALIFIER_NONE: return "none"; |
82 |
|
case QUALIFIER_CONST: return "const"; |
83 |
|
case QUALIFIER_POLYPHONIC: return "polyphonic"; |
84 |
|
} |
85 |
|
return "unknown"; |
86 |
|
} |
87 |
|
|
88 |
/** |
/** |
89 |
* Used by parser for parser error messages to provide a text with all data |
* Used by parser for parser error messages to provide a text with all data |
90 |
* types accepted by the given built-in function @a fn for the respective |
* types accepted by the given built-in function @a fn for the respective |