in src/printers.ts [342:367]
function printArgumentValueNode(type: ValueNode) {
switch (type.kind) {
case 'BooleanValue':
return printLiteralArgumentValueNode(type as BooleanValueNode);
case 'FloatValue':
return printLiteralArgumentValueNode(type as FloatValueNode);
case 'IntValue':
return printLiteralArgumentValueNode(type as IntValueNode);
case 'NullValue':
return printNullValueNode(type as NullValueNode);
case 'StringValue':
return printStringValueNode(type as StringValueNode);
case 'ListValue':
return printListValueNode(type as ListValueNode);
case 'EnumValue':
return printEnumValueNode(type as EnumValueNode);
}
throw Error('Cannot print complex directive of type: ' + String(type.kind));
}