JavaCC

I was reading the JavaCC manual and stumbled upon some interesting questions regarding its use. You have to love computer guys’ humour when they snap…
 
4.8  Are semantic actions executed during syntactic lookahead?
No.

4.10  Are parameters passed during syntactic lookahead?
No.

4.11  Are semantic actions executed during syntactic lookahead?
No.

4.9  Are nested syntactic lookahead specifications evaluated during syntactic lookahead?
No!
This can is a bit surprising.

4.10  Are parameters passed during syntactic lookahead?
No.

4.11  Are semantic actions executed during syntactic lookahead?
No.

4.12  Is semantic lookahead evaluated during syntactic lookahead?
Yes. It is also evaluated during evaluation of LOOKAHEAD( n ), for n > 1.

4.13  Can local variables (including parameters) be used in semantic lookahead?
Yes to a point.