Searched refs:KeyNode (Results 1 – 3 of 3) sorted by relevance
378 Node *KeyNode = KVN.getKey(); in createHNodes() local379 ScalarNode *Key = dyn_cast<ScalarNode>(KeyNode); in createHNodes()383 setError(KeyNode, "Map key must be a scalar"); in createHNodes()385 setError(KeyNode, "Map value must not be empty"); in createHNodes()
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()