Consider the following Statements:
S1: Inherited attributes can be evaluated by a simple Preorder traversal of the parse-tree.
S2: Synthesized attributes can not be evaluated by a Post Order traversal.
S3: L-attributed definition can contain an attribute that depends on its right sibling.
1
Statements S1, S2, and S3 are True.
2
Only S2 is True.
3
Only S3 is True.
4
all are false.