Why call `isVarDeclaration()` before accept?