A dependency graph for an annotated parse tree has an edge from attribute a to attribute b when
Answer: C
The edges record which values must be available before which others can be computed. Any topological sort of the graph is a legal evaluation order. Drawing the graph for a small tree is the quickest way to see whether a definition is workable.
Please log in or register to report this question.