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()
922 bool checkDuplicateOrUnknownKey(yaml::Node *KeyNode, StringRef Key, in checkDuplicateOrUnknownKey() argument925 error(KeyNode, "unknown key"); in checkDuplicateOrUnknownKey()930 error(KeyNode, Twine("duplicate key '") + Key + "'"); in checkDuplicateOrUnknownKey()