Searched refs:KeyNode (Results 1 – 2 of 2) sorted by relevance
353 Node *KeyNode = KVN.getKey(); in createHNodes() local354 ScalarNode *KeyScalar = dyn_cast<ScalarNode>(KeyNode); in createHNodes()356 setError(KeyNode, "Map key must be a scalar"); in createHNodes()
1014 bool checkDuplicateOrUnknownKey(yaml::Node *KeyNode, StringRef Key, in checkDuplicateOrUnknownKey() argument1017 error(KeyNode, "unknown key"); in checkDuplicateOrUnknownKey()1022 error(KeyNode, Twine("duplicate key '") + Key + "'"); in checkDuplicateOrUnknownKey()