Lines Matching defs:testOption
140 const string& testOption, int lineNumber,
183 if (!testOption.empty()) {
184 if (testOption.compare(0, 6, "range(") == 0) {
185 size_t pComma = testOption.find(',');
186 size_t pParen = testOption.find(')');
188 scanner->error(lineNumber) << "Incorrect range " << testOption << "\n";
190 minValue = testOption.substr(6, pComma - 6);
191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1);
193 } else if (testOption.compare(0, 6, "above(") == 0) {
194 size_t pParen = testOption.find(')');
196 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n";
198 smallerParameter = testOption.substr(6, pParen - 6);
200 } else if (testOption.compare(0, 11, "compatible(") == 0) {
201 size_t pParen = testOption.find(')');
203 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n";
205 compatibleTypeIndex = findCType(testOption.substr(11, pParen - 11));
207 } else if (testOption.compare(0, 11, "conditional") == 0) {
210 scanner->error(lineNumber) << "Unrecognized testOption " << testOption << "\n";
539 std::string* type, std::string* name, std::string* testOption,
544 *testOption = expandString(p->testOption, replacementIndexes);
681 // Disallow RST_* pattern in parameter type or testOption
683 spec->checkRSTPatternValidity(p->testOption, false, scanner);
720 string type, name, testOption;
722 spec->getParam(i, replacementIndexes, &type, &name, &testOption, &lineNumber);
724 def->parseParameterDefinition(type, name, testOption, lineNumber, false, scanner);