Lines Matching refs:YS

250   yaml::Stream YS(MapFile->getBuffer(), SM);  in parse()  local
252 for (auto &Document : YS) { in parse()
261 YS.printError(Document.getRoot(), "DescriptorList node must be a map"); in parse()
266 if (!parseEntry(YS, Descriptor, DL)) in parse()
273 bool RewriteMapParser::parseEntry(yaml::Stream &YS, yaml::KeyValueNode &Entry, in parseEntry() argument
282 YS.printError(Entry.getKey(), "rewrite type must be a scalar"); in parseEntry()
288 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry()
294 return parseRewriteFunctionDescriptor(YS, Key, Value, DL); in parseEntry()
296 return parseRewriteGlobalVariableDescriptor(YS, Key, Value, DL); in parseEntry()
298 return parseRewriteGlobalAliasDescriptor(YS, Key, Value, DL); in parseEntry()
300 YS.printError(Entry.getKey(), "unknown rewrite type"); in parseEntry()
305 parseRewriteFunctionDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteFunctionDescriptor() argument
322 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteFunctionDescriptor()
328 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteFunctionDescriptor()
338 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteFunctionDescriptor()
351 YS.printError(Field.getKey(), "unknown key for function"); in parseRewriteFunctionDescriptor()
357 YS.printError(Descriptor, in parseRewriteFunctionDescriptor()
373 parseRewriteGlobalVariableDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteGlobalVariableDescriptor() argument
389 YS.printError(Field.getKey(), "descriptor Key must be a scalar"); in parseRewriteGlobalVariableDescriptor()
395 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteGlobalVariableDescriptor()
405 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalVariableDescriptor()
413 YS.printError(Field.getKey(), "unknown Key for Global Variable"); in parseRewriteGlobalVariableDescriptor()
419 YS.printError(Descriptor, in parseRewriteGlobalVariableDescriptor()
435 parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteGlobalAliasDescriptor() argument
451 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteGlobalAliasDescriptor()
457 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteGlobalAliasDescriptor()
467 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalAliasDescriptor()
475 YS.printError(Field.getKey(), "unknown key for Global Alias"); in parseRewriteGlobalAliasDescriptor()
481 YS.printError(Descriptor, in parseRewriteGlobalAliasDescriptor()