Implement parser support for apat.