Lines Matching refs:YS
249 yaml::Stream YS(MapFile->getBuffer(), SM); in parse() local
251 for (auto &Document : YS) { in parse()
260 YS.printError(Document.getRoot(), "DescriptorList node must be a map"); in parse()
265 if (!parseEntry(YS, Descriptor, DL)) in parse()
272 bool RewriteMapParser::parseEntry(yaml::Stream &YS, yaml::KeyValueNode &Entry, in parseEntry() argument
281 YS.printError(Entry.getKey(), "rewrite type must be a scalar"); in parseEntry()
287 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry()
293 return parseRewriteFunctionDescriptor(YS, Key, Value, DL); in parseEntry()
295 return parseRewriteGlobalVariableDescriptor(YS, Key, Value, DL); in parseEntry()
297 return parseRewriteGlobalAliasDescriptor(YS, Key, Value, DL); in parseEntry()
299 YS.printError(Entry.getKey(), "unknown rewrite type"); in parseEntry()
304 parseRewriteFunctionDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteFunctionDescriptor() argument
321 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteFunctionDescriptor()
327 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteFunctionDescriptor()
337 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteFunctionDescriptor()
350 YS.printError(Field.getKey(), "unknown key for function"); in parseRewriteFunctionDescriptor()
356 YS.printError(Descriptor, in parseRewriteFunctionDescriptor()
372 parseRewriteGlobalVariableDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteGlobalVariableDescriptor() argument
388 YS.printError(Field.getKey(), "descriptor Key must be a scalar"); in parseRewriteGlobalVariableDescriptor()
394 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteGlobalVariableDescriptor()
404 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalVariableDescriptor()
412 YS.printError(Field.getKey(), "unknown Key for Global Variable"); in parseRewriteGlobalVariableDescriptor()
418 YS.printError(Descriptor, in parseRewriteGlobalVariableDescriptor()
434 parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteGlobalAliasDescriptor() argument
450 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteGlobalAliasDescriptor()
456 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteGlobalAliasDescriptor()
466 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalAliasDescriptor()
474 YS.printError(Field.getKey(), "unknown key for Global Alias"); in parseRewriteGlobalAliasDescriptor()
480 YS.printError(Descriptor, in parseRewriteGlobalAliasDescriptor()