1) L attributed definition - Left to Right DFS
reason:- L attribute uses synthesized and inherited attributed in a restricted manner. DFS Left to right will evaluate attribute easily.
2) S attributed definition - Bottom-up because S attribute uses synthesized attribute we need the value of children first to compute the value of parent, therefore, we apply bottom up Parsing.