Handle Eof token in AST parser.