How can I find if an attribute is synthesized or inherited from the productions of a grammar?
I guess for that the attribute must be predefined in the problem -- if its value depends on child or parent nodes. But is there a way to analyse if an attribute is inherited or synthesized from grammar productions.