Consider the following grammar and the semantic actions to support the inherited type declaration attributes. Let X1,X2,X3,X4,X5, and X6 be the placeholders for the non-terminals D,T,L or L1 in the following table:
Production ruleD→TLT→intT→floatL→L1,idL→idSemantic actionX1.type=X2.typeT.type=intT.type=floatX3.type=X4.typeaddType(id.entry,X5.type)addType(id.entry,X6.type)
Which one of the following are appropriate choices for X1,X2,X3 and X4?