Get material inputs in runtime

How can I get UMaterial input expression values in runtime?
I found a case like that:

But if we have a complex expressions, cannot get a result input value