getNameValue now checks for statement and not parent
getBinOpValue now support other operants