updated pmc pragma translator

query pragma
add pmc attribute to ast
traverse ast