| 1 |
#ifndef PARAMETERPOSITION_H_ |
| 2 |
#define PARAMETERPOSITION_H_ |
| 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 |
#include "acode.h" |
| 28 |
#include "types.h" |
| 29 |
#include "params.h" |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
typedef struct ParameterPosition { |
| 37 |
bool endOfList; |
| 38 |
bool explicitMultiple; |
| 39 |
bool all; |
| 40 |
bool them; |
| 41 |
bool checked; |
| 42 |
Aword flags; |
| 43 |
Parameter *parameters; |
| 44 |
Parameter *exceptions; |
| 45 |
} ParameterPosition; |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
extern void deallocateParameterPositions(ParameterPosition *parameterPositions); |
| 53 |
extern void uncheckAllParameterPositions(ParameterPosition parameterPositions[]); |
| 54 |
extern void copyParameterPositions(ParameterPosition originalParameterPositions[], ParameterPosition parameterPositions[]); |
| 55 |
extern bool equalParameterPositions(ParameterPosition parameterPositions1[], ParameterPosition parameterPositions2[]); |
| 56 |
extern int findMultipleParameterPosition(ParameterPosition parameterPositions[]); |
| 57 |
extern void markExplicitMultiple(ParameterPosition parameterPositions[], Parameter parameters[]); |
| 58 |
extern void convertPositionsToParameters(ParameterPosition parameterPositions[], Parameter parameters[]); |
| 59 |
|
| 60 |
#endif |