In syntax-directed translation, which of the following is true about synthesized attributes?
-
They are computed from the attributes of the parent node
-
They are computed from the attributes of the child nodes
-
They can only be used in inherited attributes
-
They are not used in syntax-directed definitions