In a syntax directed translation scheme, the value of an
In a syntax directed translation scheme, the value of an attribute of a node is a function of the attributes of its children. Such an attribute is called a / an
Asynthesised attribute
Bcanonical attribute
Cinherited attribute
Dfunctional attribute
All DiscussionsClick here to write answer
Answer: synthesised attribute
Explanation:
A synthesized attribute for a nonterminal A at a parse-tree node N is defined by a semantic rule associated with the production at N. Note that the production must have A as its head.
A synthesized attribute at node N is defined only in terms of attribute values at
the children of N and at N itself.
All Comments
Post your answers here:
Post