[mod] protection assert
[fix] attr_value list not always contains ast node
[mod] defensive approach to unhandle cases
[fix] handle all built-in types