Question:medium

In Syntax Directed Translation (SDT), an attribute is called "inherited" if its value at a node in the parse tree is defined in terms of attributes at:

Show Hint

A grammar where every attribute is synthesized is called an S-Attributed grammar. A grammar that allows both synthesized and certain types of inherited attributes (usually from the left sibling) is called an L-Attributed grammar.
Updated On: Jul 4, 2026
  • Its children only.
  • Its parent and/or its siblings.
  • Its left child only.
  • Its descendants only.
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0