{JSON.stringify(v, null, 2)}
)
}),
constant: v => ({
type: v.type,
nodeValue: v.nodeValue,
nodeKind: 'constant',
// eslint-disable-next-line
jsx: (node: ConstantNode) => (
{formatValue(node, {
// We want to display constants with full precision,
// espacilly for percentages like APEC 0,036 %
precision: 5
})}
)
})
}
export const mecanismKeys = Object.keys(parseFunctions)