Annotated tree walker grammar.