Context(X) for Predictive Parser: Variant I
54/57
For  G = (N, T, P, S),
Context(A) = Follow(A) for every A Î N
• Method:
• Let A be pushdown top & no rule is applicable:
• repeat
a := GetNextToken;
{These tokens are skipped}
   until a in Context(A)
• pop A from the pushdown;